Hi fellow coding gurus,
I’m a beginner in AS and is trying to build my website entirely on AS2.0.
Here’s an effect ( I call it “appear effect” ) I wanna create with the tween class:
import mx.transitions.Tween;
import mx.transitions.easing.*;
var stb2:Tween = new Tween (stb_mc,"_rotation",Regular.easeInOut,0,360,0.2,true);
var stb3:Tween = new Tween (stb_mc,"_xscale",Regular.easeInOut,0,80,0.2,true);
var stb4:Tween = new Tween (stb_mc,"_yScale",Regular.easeInOut,0,80,0.2,true);
================================================================
I would like to have this effect triggered whenever a button needs to appear. In total, I have about 10 btns.
I believe I have to store it inside a function. Tat’s all I know, can someone pls kindly guide me thru this ?
Thanks !
- Joehann