ok, i have 1 mc, a stick figure. when i press right arrow key, it is constantly frozen at frame 21 because it keeps play 21 because i am holding down the right arrow key… u understand? take a look at my action script if you dont follow…
onClipEvent(enterFrame) {
if(key.isDown(key.RIGHT)) {
this._x +=5;
_root.stick.gotoAndPlay(21);
}
}
onClipEvent(enterFrame) {
if(!Key.isDown(key.RIGHT) && (_root.stick.ru==1)) {
_root.stick.gotoAndPlay(42);
}
}
onClipEvent(enterFrame) {
if(_root.stick.ru==2) {
_root.stick.gotoAndPlay(2);
}
}
please help im trying to create a game…