LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 




 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-09-2004, 05:27 AM
Weevil Weevil is offline
Registered User
 
Join Date: Mar 2003
Posts: 30
Rep Power: 0
Weevil is on a distinguished road
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.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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




All times are GMT. The time now is 05:28 PM.