var myListener  = new Object();
myListener.onKeyDown = function() //change _myListener to myListener 
{
    trace("down: " + Key.getCode());
};
myListener.onKeyUp = function()
{
    trace("up: " + Key.getCode());
};
Key.addListener(myListener);

Above code works fine with me... when publish with flash 8 

-Nehal 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of franto
Sent: Friday, October 07, 2005 3:15 PM
To: Flashcoders mailing list
Subject: [Flashcoders] Problem with Key class in Flash 8

Hi

I;ve problem with Key class in Flash 8
Please read about it on my blog [Example included]. Is it bug or
feature? Does someone know?

Here is address:
http://www.franto.com/blog2/flash-8-key-class-bug-or-feature

Thanks
----------------------------------------------------------------------------
----------------------------------------------------------------------------
---------
Franto

http://blog.franto.com
http://www.flashcoders.sk
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to