Short Tag – Web Development Blog

Entries Tagged ‘as3 tweener’

What is Tweener?

Tweener (caurina.transitions.Tweener) is a Class used to create tweenings and other transitions via ActionScript code for projects built on the Flash platform.
It saves you a lot of time when you are creating Tweens and Transitions, it is easy to use, and you Movie Structure will be less complicated.
“The general idea of a tweening Class is [...]

Using Tweener in Action Script 3 Flash CS4

First you download Tweener Class from here:
Than you unzip the archive and copy it to your project folder.
Than you import it in where you need to use it:
import caurina.transitions.Tweener;
And than you use it, example:
mc.alpha = 0;
Tweener.addTween(mc, {alpha:1, time:1});
First I set the alpha of ‘mc’ MovieClip to 0, than I added a tween, a tween that [...]