I have this:
var KEY_a:Number = 97;
function myOnKeyDown():Void
{
trace( Key.isDown(Key_a));
};
var keyListener:Object = new Object();
keyListener.onKeyDown = myOnKeyDown;
Key.addListener( keyListener );
When I press the "a" key - I get a false. What is the proper shortcut code
in the myOnKeyDown to properly get the trace to return True?
- e.
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com