Key Event « Event « Flex
Home
Flex
1.
Chart
2.
Components
3.
Container
4.
Data Model
5.
Development
6.
Effects
7.
Event
8.
Graphics
9.
Grid
10.
Style
Flash / Flex / ActionScript
Flash Tutorials
Flex
»
Event
»
Key Event
Screenshots
1.
If shift key pressed during dragging over
2.
If control key pressed during dragging
3.
Trap keys pressed when the focus is on an individual component
4.
Return string based on key code
5.
Listen for the combination of the Shift key and key code 80
6.
Control all dispatch keyUp events to the keyHandler() event listener function
7.
Key up event
8.
Track key code
9.
Show character and key code
10.
Combination of Shift key and q key
11.
Dispatch keyUp events to the keyHandler() event listener function
12.
Listen for a Keyboard Event
13.
Adding Key down handler for Application
14.
Create the global listener for handling the keyboard event
15.
Access application's localVar by prefixing it with outerDocument keyword
16.
Get key code and char code from KeyboardEvent
17.
Output string representation for KeyboardEvent
18.
Output number to char from char code of KeyboardEvent
19.
Convert number to char from key code of KeyboardEvent
20.
Event handler for KeyboardEvent.KEY_UP
java2s.com
|
|
Contact Us
|
Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.