so i added a focusIn statement to each of my button declarations and
that does the trick.  The buttons give up focus as soon as they get it
(to some other component) so the spacebar doesn't trigger them.

Still would like to know how you can just disable the spacebar.


<mx:Button click="clickHandler()"
focusIn="someOtherComponent.setFocus()"/>

Just adding this focusIn statement to each button is a lot easier than
re-writing your clickHandlers to ignore the spacebar click.





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/flexcoders/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to