Catching KeyDown events with Components
As usual, using Flash form components turns the documentation into misleading inaccuracies or out and out lies.
I have a form screen that makes a little dialog box with in input text field and two buttons.
I used the focus manager to give focus to the field, and invoke the Okay button when you hit the Enter key.
Now all I want to do is have the dialog go away if you hit Escape.
Again, what would have been a one liner in any other development environment has turned into half a day of frustration. How in the holy hell do you trap a keystroke with these components? I can make listener objects all day, but they turn a deaf ear to me.
I haven't tried it yet, but I'm guessing that if I make a regular movie and add a listener to it, it will work as advertised. The form components really suck.
EDIT: I went to give that a shot. Flash crashed. Hooray.
|Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Flash 8 Components Skinning||FlashMove||Actionscript 1 Components||0||02-08-2007 07:21 AM|
|catching nested movie clip events||Andy_beet||Flash MX||5||12-29-2006 04:31 PM|
|Anyway to trigger MIDI Events from a Flash movie?||karma-lab||Flash MX ActionScript||6||09-25-2005 08:23 PM|
|Anyway to trigger MIDI Events from a Flash movie?||karma-lab||Flash MX 2004||0||09-21-2005 08:32 PM|
|Instances & Events||ADreamer_17||Actionscript 2.0||0||09-23-2004 06:10 PM|