|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
flash and keyboard keys
I'm very new to flash but am getting a good grasp of it freom the help i have received from here and other places.
I am wondering if i'm on a main movie and a certain key stroke are enter, if i can get it to do an action. For example, if i press CTRL+Shift and F6 all at once, it will flash a light or something. Is there any cool code to catch key strokes like that. Thanks ![]() |
|
#2
|
|||
|
|||
|
Hi Andy
![]() http://www.macromedia.com/support/f...eyobject02.html Check out the Macromedia.com redesign too! |
|
#3
|
||||
|
||||
|
Thanks,
![]() this is the code i came up with and it works: Code:
if (key.isDown(Key.CONTROL) && key.isDown(Key.SHIFT))
{
if(Key.getCode() == 117)
{
txt = "Yeh";
}
}
Cheers Again ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > flash and keyboard keys |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|