Re: deactivate KeyboardEvent on a Spark Button

2020-01-24 Thread kamcknig
It's also worth nothing that in some circumstances you migth also want to use
stopImmediatePropagation().

You can read about the differences on the doc page for the Event class
https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/events/Event.html



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: deactivate KeyboardEvent on a Spark Button

2020-01-24 Thread pol2095
Thanks



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


Re: deactivate KeyboardEvent on a Spark Button

2020-01-24 Thread kamcknig
You can add a keyDown listener and invoke event.stopPropagation();

You can also check the key being pressed if you only want certain key
presses stopped

Kyle



--
Sent from: http://apache-flex-users.246.n4.nabble.com/


deactivate KeyboardEvent on a Spark Button

2020-01-24 Thread pol2095
Hello,

how to deactivate KeyboardEvent on a Spark Button ?

Thanks



--
Sent from: http://apache-flex-users.246.n4.nabble.com/