Re: [Flashcoders] Best way to detect key KEY_DOWN on MovieClip

2009-09-27 Thread Glen Pike
Hi, You should be able to do this with something like below. You can add your code on the timeline, or inside a class, it's up to you. You will need to make sure that the thing the code is inside has been added to the stage - you listen for keyboard events on the stage, not the movieclip, so

[Flashcoders] Best way to detect key KEY_DOWN on MovieClip

2009-09-24 Thread ktt
Hello, I would like to add listener to movieclip, listenining for DELETE. What is the best way to do that? In Actionscript 3 it gets complicated. Thank you in advance, Ktt ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://c