tengo creada una funcion como la siguiente para poder mover clips invocando a la funcion:
Código ActionScript :
function mover(mc, inicioX, finX, inicioY, finY, tiempo) {
var tweenX:Tween = new Tween(mc, "_x", Strong.easeOut, inicioX, finX, tiempo, true);
var tweenY:Tween = new Tween(mc, "_y", Strong.easeOut, inicioY, fin, tiempo, true);
}cuando se hace un tween se puede llamar a sus diferentes metodos a traves del nombre que le damos:
Código ActionScript :
var tween:Tween = new Tween(mc, "_x", Strong.easeOut, 100, 150, 3, true);
// cuando acaba el tween
tween.onMotionFinished = function(){...
// parar el tween
tween.stop();con a funcion que he creado anteriormente, como puedo acceder a los metodos?
Código ActionScript :
mc.tweenX.stop();// no funciona
milchisimas gracias
