
27/10/2003, 23:13
|
 | | | Fecha de Ingreso: agosto-2003 Ubicación: Mexico, D.F.
Mensajes: 281
Antigüedad: 21 años, 6 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. |