Thanks Attila

The problem was really the big letter K in the key word. I didn't know that
as2 was so sensitive. If i take a fla file from the web it works even if
"key" is written with a small k letter, but if i want to write the script
myself it just doesn't work
Anyway, now it works!
Pedro
2007/5/25, Rákos Attila <[EMAIL PROTECTED]>:


AS2 is case-sensitive (you can turn it back to case-insensitive by
selecting ActionScript 1.0 in the Publish settings), so "key" is not
the same as "Key" (which is actually the name of the built-in keyboard
handling object, while there is no built-in identifier called "key" in
AS).

  Attila

_______________________________________________
[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

_______________________________________________
[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

Reply via email to