I wanted to do multi animation of Movie Clip … created with loop & attachMovie method…
The new created mc_n appear from “left to right” or “right to left” or “top to bottom” with actionscript one by one.
The Action script I use to creat multi movie clip with Attach method are following.
[COLOR=Blue]for[/COLOR] (i=0; i<5; i++) {
[COLOR=Blue]attachMovie[/COLOR]([COLOR=DarkGreen]“mc”[/COLOR], [COLOR=DarkGreen]“mc_n”[/COLOR]+i, i);
[COLOR=Blue]set[/COLOR]([COLOR=DarkGreen]“mc_n”[/COLOR]+i+[COLOR=DarkGreen]"._y"[/COLOR], i*26-26);
}
Or Movie Clip name placed in array do the same animation one by one.
e.g:
[COLOR=Blue]var[/COLOR] myArray:[COLOR=Blue]Array[/COLOR] = [COLOR=Blue]Array[/COLOR]([COLOR=Green]“mc1”, “mc2”, “mc3”[/COLOR]);
If anyone know about it. I’ll be thankful to him/her.