Very tricky: Control Container MC from Embedded .Swf

Hi,

I’m in a bind and some help would be greatly appreciated. Here’s my situation:

I’ve got a main.swf file which is essentially an empty container that loads 4 large .swfs. I downlaoded an actionscript for preloading sequential external movies (with separate progress for each). They all load into the same empty MC in the first frame of main.swf.

Now here’s what I’m trying to do. When all 4 of the external .swfs are fully loaded, I want to play the first one (“clip1.swf”). When clip1.swf reaches the end, I want to play clip2.swf, and so on.

In my main.swf file, I have created 4 additional frames after the preloader frame. Each one loads and plays one of the external .swfs in succession.

My general question is, can I control the main timeline of main.swf from the embedded .swfs (like, by placing an action in the last frame of clip1.swf which makes main.swf go to the next frame, which contains clip2.swf)?

Or, if I have set this up in a totally screwy way, please feel free to suggest alternatives.

Muchas gracias!

yes it is very possible to control the main timeline from your embedded swf files. It will take a little planning on your part though. In those files, you can say _root.holderMovieClip.loadMovie(“movie@.swf”) or something to that extent. _root will reference your main movie timeline.

http://www.kirupa.com/developer/actionscript/tricks/relativeaddressing.htm

Viru.