{
step = 5;
}
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT) && this._x0) {
this._x -= step;
gotoAndPlay(10);
} else if (Key.isDown(Key.UP) && this._y>0) {
this._y -= step;
gotoAndPlay(15);
} else if (Key.isDown(Key.DOWN) && this._y<400) {
this._y += step;
gotoAndPlay(6);
}
}
Advertisement


Who's commenting