Cannot access event.text from my custom event

I have a cutom event, and I want to access event.text when my custom event is dispatched and handled.
package myCustomEvents.events
    import flash.events.Event;
    public class ItemRemoved extends Event
        public static const REMOVED_ITEM_EVENT:String = "itemRemoved";
        private var _removedItem:String;
        public function get removedItem():String {
            return _removedItem;
        public function ItemRemoved(removedItem:String)
            super(REMOVED_ITEM_EVENT);
            _removedItem = removedItem;
    // I have some html content with <a> </a> link tags in the textarea
            <mx:TextArea link="dispatchEvent(new ItemRemoved(event));"  />
private function removeSelectedItems (event:ItemRemoved):void
                            // I want to access event.text here
                            var theText:String = event.text
Any ideas how to access event.text in this case? I get it to work when I do not use a custom event, and I cannot extend TextEvent.
Thanks.

Well, I thought I got it but I did not.
In any event, my solution is to extend the TextEvent event.
But I need a little hint on how to do that, since it does not have a clone() method to override like the Event class.
I can't do this while extending the TextEvent event
override public function clone():TextEvent
            return new ItemSelectedEvent(_selectedItem);

Similar Messages

  • I have photoshop cc and a mac book pro. I cannot access my photos from photoshop. I can go to iPhoto and click edit to edit them in photoshop, but photoshop won't open them. I want to do a collage, so I need to get to more than one photo.

    I have photoshop cc and a mac book pro. I cannot access my photos from photoshop. I can go to iPhoto and click edit to edit them in photoshop, but photoshop won't open them. I want to do a collage, so I need to get to more than one photo.

    See if exporting them helps:
    Exporting From iPhoto | Apple Support Communities
    Gene

  • Custom program to download texts from the Customer master

    Hi team,
    I want to create a Functional specification for downloading texts from the Customer master.
    Means we are trying to come up with a Zprogram development so that this program can be used later to download texts from the customer master.
    Can any one advice me what are the steps to do this....and what procedure be followed to finish this task
    Kindly advice from the Functional aspect
    Regards,
    saprules.

    Yes indeed.
    This mass download functionality would be very interesting to share.
    Thanks a lot!
    Best regards,
    Roel

  • Just downloaded Mt Lion on to my imac and now cannot access my photos from adobe cs4

    just downloaded mt lion onto my imac and now i cannot access my photos from adobe cs4

    Hope you made a Backup?
    I work with Cs 5 on mac os X.6.8
    and will wait a lttle bit to install mountain Lion.
    I´ve heard too much about technical Problems.
    I loaded MT and make a disc image from it with right mouse klick and safe it on my seperate disk.
    I will put MT on an emty disk to test it, but I can wait.
    Never change a winning Team ;-)
    I wish you fix that Problem next time, sorry I can´t help in this case.

  • I cannot access my mail from my ipad. I keep getting an error message "MFMessageErrorDomain error 1032". Does anyone know how to fix this?

    I cannot access my mail from my ipad. I keep getting an error message "MFMessageErrorDomain error 1032"

    iOS: Unable to send or receive email
    http://support.apple.com/kb/TS3899
    Can’t Send Emails on iPad – Troubleshooting Steps
    http://ipadhelp.com/ipad-help/ipad-cant-send-emails-troubleshooting-steps/
    Setting up and troubleshooting Mail
    http://www.apple.com/support/ipad/assistant/mail/
    Server does not allow relaying email error, fix
    http://appletoolbox.com/2012/01/server-does-not-allow-relaying-email-error-fix/
    Why Does My iPad Say "Cannot Connect to Server"?
    http://www.ehow.co.uk/info_8693415_ipad-say-cannot-connect-server.html
    iOS: 'Mailbox Locked', account is in use on another device, or prompt to re-enter POP3 password
    http://support.apple.com/kb/ts2621
    iPad Mail
    http://www.apple.com/support/ipad/mail/
    Configuration problems with IMAP e-mail on iOS with a non-standard SSL port.
    http://colinrobbins.me/2013/02/09/configuration-problems-with-imap-e-mail-on-ios -with-a-non-standard-ssl-port/
    Try this first - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Or this - Delete the account in Mail and then set it up again. Settings->Mail, Contacts, Calendars -> Accounts   Tap on the Account, then on the red button that says Remove Account.
     Cheers, Tom
    Tap Settings > Mail, Contacts, Calendar and delete your email account.
    Then tap Settings > Safari > and Tap Clear History and Clear Cookies and Data.
    Now tap Settings > Mail, Contacts, Calendar and re-enter your email account credentials.
    Message was edited by: Texas Mac Man

  • ICloud works on my iPhone but I cannot access my mail from my macbook.

    iCloud works on my iPhone but I cannot access my mail from my macbook. I keep getting a server error message;
    There may be a problem with the mail server or network. Verify the settings for account “iCloud” or try again.
    The server returned the error: The iCloud IMAP server “p03-imap.mail.me.com” doesn’t support External (TLS client Certificate) authentication. Verify your account settings and try again.
    I've done everything possible and nothing seems to work. Any suggestions.?????

    Have you tried to completely sign out of iCloud and then adding it back again? By the way, a software update to the latest version of OSX could also help to fix it (think about it, because Mavericks is a free upgrade).

  • I have upgraded my iPhone to iOS 5.1 and now cannot access the camera from a locked screen.  Has anyone else had this problem?

    I have upgraded my iPhone 4S to iOS 5.1 and now cannot access the camera from a locked screen.  Anyone have any suggestions?

    From the lock screen, to access the camera you touch the camera icon and slide in an upward motion. It no longer takes a tap to get it to open.

  • HT1766 I cannot access my settings from my iPhone. Is there a way to manually enable the backup from my iMac?

    I cannot access my settings from my iPhone. Is there a way to manually enable the backup from my iMac?

    I don't quite understand why you can't access settings on your iPhone. You can back up your iPhone to your computer by connecting it to iTunes on your computer.

  • HT201320 Hi, I cannot access my gmail from my iphone. The password is correct and I can access fine from my computer but the iphone keeps telling me the password is incorrect. Any ideas?

    Hi, I cannot access my gmail from my iphone. The password is correct and I can access fine from my computer but the iphone keeps telling me the password is incorrect. Any ideas?

    I believe Gmail has an option for Two-Step verification that may require a different password for mobile devices than for your computer.
    https://support.google.com/mail/answer/2703311?hl=en

  • I need help! I cannot access my iTunes from my window's. I keep getting message "error 7" and also MSVCR80.dll missing. I do not know how to access this?

    I need help! I cannot access my iTunes from my window's. I keep getting message "error 7" and also MSVCR80.dll missing. I do not know how to access this?
    I tried downloading the latest version of iTunes, but it does not sync to my windos 7 HP because of the previous messages. Any feedback would be greatly appreciated.
    Thank you,
    ElsaV73

    Hope this article helps you:
    http://support.apple.com/kb/TS5376
    Pleas reply with any further questions.

  • I cannot access my movies from my iMac iTunes. How can I access them again?

    I cannot access my movies from my iMac iTunes. How can I access them again?

    I have no idea what you mean by "access them".  Are the files buried on floppy disks 3 feet underground on a deserted island?

  • Cannot access iTunes Store from iPhone 4. Message says 'Your iTunes password was incorrect. Please try again'. I have tried resetting the password on my macbook

    Cannot access iTunes Store from iPhone 4. Message says 'Your iTunes password was incorrect. Please try again'. I have tried resetting the password on my macbook. What should I do?

    I'm having the same problem as well.  I use keychain access often to remind me of my passwords and was happy (initially) to see one for "iphone backup".  When I entered it I got the same error message: 
    "The password you entered to unlock your iPhone backup file was incorrect. Please try again."
    Really frustrating.
    I searched many ways online, finally I tried "iPhone Backup Unlocker" to help me unlock encrypted backup password efficiently!

  • Cannot access itunes-u from IPAD (israeli store  )

    Recently I Cannot access itunes -u from my IPAD and cannot synchronize itunes u items downloaded to my desktop itunes
    is it a new policy  or just a flaw in the system? ( my IPAD is designated in Israel)

    Hi guys
    Is there any way we can get this to apple as I have just went to apple store and were stating iTunes is not associated with them
    I think this issue is only on iPad not on the iMac as I can access iTunes u.
    Could some from apple advise when iTunes u will be up for the iPad community
    I am from Sydney Australia it is world wide

  • HT203163 I cannot access iTunes store from my laptop. I could for years but suddenly - no. Have removed all recently installed software. Have uninstalled and re-installed both my anti-virus software and iTunes. Have allowed pop-ups. Have flushed the DNS.

    I cannot access iTunes store from my laptop. I could for years but suddenly - no.
    Have removed all recently installed software. Have uninstalled and re-installed both my anti-virus software and iTunes.
    Have allowed pop-ups.
    Have flushed the DNS. Nothing.
    Still can't access the store. Please help!

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 n above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • I cannot access itunes store from itunes

    Im using windows7 and I cannot access itunes store from itunes.   I have uninstalled and re-installed, re-started hp computer.  Any ideas???

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    Apple software on Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • HT204266 Cannot access itunes store from itunes - says to check internet connection.  I have internet connection.  I've unistalled ALL itunes files and associated files, and reinstalled?

    Cannot access itunes store from itunes - says to check internet connection.  I have internet connection.  I've unistalled ALL itunes files and associated files, and reinstalled?

    Try this:
    1. Settings>General>Date & Time>Turn off set automatically
    2. Set date one year ahead
    3. Go back to iTunes and try again.
    4. You will get the same error.
    5. Go back to settings general date and time and turn back on 'set automatically'
    Try connecting to iTune Store again.

Maybe you are looking for

  • C drive is almost full, E drive almost empty

    Hi all I'm not computer literate so apologies in advance. I've read other threads here about the same problem but am still unsure if there is anything I can do to fix it. I have an EQUIUM laptop with VISTA home premium pre-installed. The computer is

  • Webdynpro and BW 3.5

    I am looking to see what opportunities there are for using Webdynpro in BW3.5. One of my colleagues works on a BW 7 system and he has written a ABAP Webdynpro program. It would be great to have that same program for BW 3.5. I am aware that I need the

  • Monitoring Active Alerts shows critical heartbeat failure while server is working

    details of the alert shows the reason is the computer can't be reached through an ICMP ping if do a  ping servname it uses the IPV6  and fails Why isn't it using IPv4? thanks N NM

  • HT2305 Apple Mobile Device link for a PC.

    Hello everyone. Can someone direct me to a link to save the apple mobile device download on a flash drive to put on a pc so i can use my iphone as a internet. No internet unsecure access in this building. Thanks.

  • Unable to open files from Finder

    I just bought my Macbook Pro yesterday.  This is my first Mac so bear with me.  I bought and installed Office for Mac.  The problem is that I cannot open files directly from Finder or the folder stack on my Dock.  If I trt to open a Word or Excel fil