Motion Tween.


hello!    

i have big problem on project i'm developing.

i've created animation actionscript 2.0 using mx tween class.

 

this code:

import mx.transitions.tween;
import mx.transitions.easing.*;
var mytween:tween = new tween(mc1, "_y", regular.easeout, mc1._y, mc1._y-100, 0.8, true);
var listeningobject:object = new object();
mytween.addlistener(listeningobject);
listeningobject.onmotionfinished = function():void {

     this.mc1.gotoandstop(1);

}

 

the first time animation work well, when try execute again button on first frame of scene motion not execute standard motion tween , execute final parts of code.

i've tried insert trace , flash send me information: [tween]

i think can't exit or delete or stop or reset tween.

 

immagine.jpg

 

the code work can't "rewind" of scene!

after tween want see standard motion...

please me if can.

bye!

it might me, have feeling having bigger problem explaining problem.  description cannot begin undertsand problem nor trying accomplish.



More discussions in ActionScript 1 and 2


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい