Ver Mensaje Individual
  #2 (permalink)  
Antiguo 27/10/2003, 23:13
Avatar de BeN
BeN
 
Fecha de Ingreso: agosto-2003
Ubicación: Mexico, D.F.
Mensajes: 281
Antigüedad: 20 años, 7 meses
Puntos: 0
tendria qe ser algo asi...

Primero en tu MovieClip a mover, osea _root.mcmapa coloca esto en su evento EnterFrame:

onClipEvent(enterFrame){
if(_root.pusheado==true){
_y-=1;
}

}

y despues en el boton qe controlara su movimiento coloca este codigo, asi tal y como esta los dos eventos, el press y el release:

on(press){
_root.pusheado=true;
}
on(release){
_root.pusheado=false;
}
__________________
...everything under the sun is in tune
But the sun is eclipsed by the moon.