hi!
i am doing an application where only the keyboard should be used. it all works fine with the direction buttons on the keyboard (left, right, up, down) but when i want to enable the enter button it doesn't work. i want the movie to jump to a specific frame or play a specific mc when the enter button is clicked. the code on one button is ie:
it works fine to got left and right but when i press the enter button it always jumps to the next frame of the main timeline and doesn't recognise what i want it to do.
any suggestions?
thanks
netchen
i am doing an application where only the keyboard should be used. it all works fine with the direction buttons on the keyboard (left, right, up, down) but when i want to enable the enter button it doesn't work. i want the movie to jump to a specific frame or play a specific mc when the enter button is clicked. the code on one button is ie:
Code:
on(keyPress "<Left>"){
gotoAndStop(10);
}
on(keyPress "<Down>"){
gotoAndStop(3);
}
on(keyPress "<Enter>"){
_root.mc_test.gotoAndStop(2);
}
it works fine to got left and right but when i press the enter button it always jumps to the next frame of the main timeline and doesn't recognise what i want it to do.
any suggestions?
thanks
netchen