Flash actionscript 3.0: tween action in action scrpti 3.0

tween action in action scrpti 3.0

Posted by Sankar.G | Posted in | Posted on 10:10 AM

we can do tween action in action script 3.0

import fl.transitions.Tween;
import fl.transitions.easing.*;
function fun(e:Event)
var a:Tween=new Tween(movie_mc,"rotation",Strong.easeOut,0,100,5,true);

before we want to tween we want to add some library in flash
so import tween & easing and declare a variable a and set Tween
movie_mc = movie clip name
rotation = which action we want to do (for ex):"x","alpha","y" we can put these functions
0=starting from zero axis
100=end to 100 axis
5=seconds to finish the rotation

Comments (1)


Nice one....good tutorial..