Hi,
I'm not sure how your movie is organized but you could try something
like this:
if (_currentframe==1) {
loadMovie('movie1.swf',1);
} else if (_currentframe==2) {
loadMovie('movie2.swf',1);
} else if (_currentframe==3) (
loadMovie('movie3.swf',1);
)
You could shorten this to:
loadMovie ('movie'+_currentframe+'.swf',1);
Regards,
Patrick
[quoted text, click to view] nrowe wrote:
> These are the three movies that I have (movie1.swf, movie2.swf, movie3.swf)and
> I call these movies to layer 1 from frame actions when needed.
>
> Simply put,
>
> say I go to frame1, it calls for ("movie1.swf", "1") to load. movie1 loads no
> problem. But if I go to frame 2 from a button, the frame(2) action also calls
> for movie1 to load, at this point, I don't want movie1 to reload, since it is
> already loaded.
>
> That should make some sense...... Is there an IF statement that would help
> this situation??
>
> Thanks,
>
> N
>
These are the three movies that I have (movie1.swf, movie2.swf, movie3.swf)and
I call these movies to layer 1 from frame actions when needed.
Simply put,
say I go to frame1, it calls for ("movie1.swf", "1") to load. movie1 loads no
problem. But if I go to frame 2 from a button, the frame(2) action also calls
for movie1 to load, at this point, I don't want movie1 to reload, since it is
already loaded.
That should make some sense...... Is there an IF statement that would help
this situation??
Thanks,
N