Here’s my problem…
I have several external SWF (child) movies that are to be loaded upon demand into another SWF container (parent) movie file. Pretty straight forward.
Each of the child movies has MCs communicating with other MCs within the same child movie.
For instance the timeline of one MC will have a frame action, which targets another MC instance to play(). Again, Pretty straightforward stuff.
These files work beautifully when viewed independently. The problem is when they are loaded into the parent container movie the target MC functionality no longer works.
I believe it’s because once the child movie is loaded into the parent movie the absolute path of the targeted MC has changed and what was once the “_root” in the child movie is no longer the actual root?
I have tried both methods in the child movie:
//method without using ‘with’
_root.ContentWindow.play();
And using the “with” action like so:
//method using ‘with’
with (_root.ContentWindow) {
play();
}
It would seem that in theory once the Child SWF file is loaded into the Parent SWF file the targeted path would have to have another level in it – cuz now the MC “ContentWindow” is no longer one level down from the “_root” but two levels?
For example: _root.LoadedChildMovie.ContentWindow.play()
Can anybody please help me with this? I’m afraid I have a ton of work that’s relying on this functionality and my deadline is dangerously drawing near!