[Tweener] Tweener Interval

petit at petitpub.com petit at petitpub.com
Wed Jul 2 13:19:07 PDT 2008


Hi, indeed the default frame rate is 12 fps, but you can change that.
If you use the Flash tool, double click on the frame rate to change.
If you rather use actionscript to set the frame rate, do it like this:

stage.frameRate = 30;

(stage is the reference to an instance of the Stage class)

cheers!
/Petit

xunshirine xun <xunshirine at gmail.com>: says:

> Hello. What is the default animation refresh interval for tweener? I mean
> Flash Player refreshes the frame at 1/12 seconds. Is it again same amount
> for the tweener while adjusting timer?
>
> Another question while I move an object from one location to other in small
> time, the flash player show the movement in jerk. Tweener code is below.
> What is the problem and how can I fix it?
>
> Tweener.addTween(myMovie, {_x:100, _y:100, time:0.3, transition:"easeOut"})
>




More information about the Tweener mailing list