
06/07/2007, 18:27
|
 | Moderador | | Fecha de Ingreso: julio-2003 Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 21 años, 8 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. |