beginner here: i’m having difficulty playing a movie clip in my timeline.
basically, I need the movie clip to play while the timeline plays, but with the action script that I have, it only plays the action in one frame and doesn’t play the rest of the movie while that movie clip is playing. It’s a movie clip of a flame and I need the flame to flicker while everything else is happening in the timeline.
Would anyone be able to help me on this one? I’m sure it’s something very simple that I just can’t figure out.
On my actions layer I have three frames with the following code:
frame #1
r = 0;
setProperty (“flare”, _visible, 0);
xx = getProperty(“flare”,_x);
frame#2
if(r < 80)
{
duplicateMovieClip ("/flare", “flare” add r, r);
setProperty ( “flare” add r, _alpha,r*5);
setProperty ( “flare” add r, _x,random(40) + xx);
r = r + 1;
}
frame #3
_root.gotoAndPlay(2);
my movie is 120 frames long with various tweens, etc.
Thanks…