Ver Mensaje Individual
  #2 (permalink)  
Antiguo 02/10/2007, 11:39
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 10 meses
Puntos: 406
Re: Problema curioso... No puedo hacer mover un clip de pelicula...

Hola Lobozaga:
Prueba con éste código:
_global.Mover = function(Objeto, PosicionX, PosicionY, Velocidad) {
Objeto.onEnterFrame = function() {
Objeto._y = Objeto._y+(PosicionY-Objeto._y)/Velocidad;
if (Objeto._y == PosicionY) {
delete Objeto.onEnterFrame;
}
};
};
Mover(m1, 0, 540, 10);

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