Hi
I have a movie clip showing party streamers animating upwords,
and another movieclip that has letters falling into place.
What I want is for the streamers to be in the background and the
letters to be in the foreground.
The AS for the streamers is -
import com.effects.BackgroundEffect;
var effect:BackgroundEffect = new BackgroundEffect ();
effect.bgEffect ("effect28","up",0.3,{zigZag:z = new Array (1, 30)});
I gave the MovieClips the linkage identifier - code and main
and attached both to the stage using the following code -
_root.attachMovie("main","newClip",0);
_root.attachMovie("code","newClip",5);
I tried swappping the depth around (“main”,“newClip”,5); (“code”,“newClip”,0);
but still no luck.
The only other ActionScript in the file is -
this.gotoAndStop (Math.floor (Math.random () * 5) + 1);
which is on the first frame of the effect28 (code) movieclip timeline.
Can someone please tell me how to make sure the new BackgroundEffect movie clip appears in the background?
Many thanks.