Basically i just want a key to be pressed on the keyboard, and movieclip1 is played. But for some bizarre reason, it only works if insert, up, down, right, left arrow keys are pressed For example, if I assigned ‘DELETE’ key, the movieclip doesnt play. I want ‘HOME’ or ‘END’ key to work too!
code is something like this:
var KEY_listener:Object = new Object();
KEY_listener.onKeyDown = function() {
switch(Key.getCode() ) {
case Key.LEFT :
movieclip1.gotoAndPlay ("start")
}
}
Key.addListener(KEY_listener);