I am new in AS3. Still learning. I have a bunch of MovieClips in my first keyframe. And I want to animate it randomly. I mean the movieclips should be fadein and fadeout randomly. the duration of Fade-in and Fadeout should be same for each MovieClips. Here I am stuck in a section. I have successfully completed Fade-in for each MC. But I do not understand what to do next! If anyone could give me some clue or help me, it will be great for me. here is the code I wrote.
Thanks
Amit
//Flash Makes that tween
import fl.transitions.Tween;
import fl.transitions.easing.*;
var myClips:Array=[a_mc,b_mc,c_mc,d_mc,e_mc];
//loop for my MovieClips
for (var i:uint=0; i<myClips.length; i++) {
trace("loop is working");
myClips[i].alpha=0;
var myTween:Tween=new Tween(myClips[i],"alpha",Regular.easeOut,0,1,2,true);
}
This post has been edited by amitbiswas: 02 November 2009 - 01:44 PM

New Topic/Question
Reply



MultiQuote






|