Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/07/2007, 18:27
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 9 meses
Puntos: 406
Re: Mover una imagen - Urgente

Hola Irecchia:
Al MC le pones como nombre de instancia: clip y a los botones: myMc y myMc_1.
Código en el primer frame de tu película:
myMc.onRelease = function() {
clip.onEnterframe = function() {
this._x += (400-this._x)/8;
};
};
myMc_1.onRelease = function() {
clip.onEnterframe = function() {
this._x += (200-this._x)/8;
};
};

Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/