prueba esto, ponle un nombre a tu mc opr ejemplo 'clip' , en el primer frame pon esto:
xpos=clip._x;
ready=false;
y al boton ponle:
on(keyPress"<enter>"){
ready=true;
}
y al clip ponle:
onClipEvent(enterFrame){
if((_root.ready)and(this._x>=400)){
this._x+=5;
}
if(this._<=400){
this._x=_root.xpos;
_root.ready=false;
}
} |