stop(); up_arrow=38; this.onEnterFrame=function(){ if(Key.isDown(up_arrow)){ gotoAndStop(2);//tu accion } }