I’ve incountered a problem that I need help figuring out…I’m using dynamic buttons to load external swfs into an area within an interface on level0.
There is an actionScript on a button that has been duplicated dynamically…
The external swf is loaded into a host mc called “subpage_mc”. The swf that should be loaded, is indicated within an array in the first frame of _level0.
Here’s actionScript on button before dynamic duplication:
_level0.loadMovie(link,“subpage_mc”);
The script works, but it replaces the interfacce completely on leve0. I want the new swf to load into level0 and for the interface to be visible at all times, not to be replaced. Does this issue have to do with instance stacking order? How should I make sure that this doesn’t happen? Please Help…
Well, my host clip exists on level0…I’ve tried level1 and level50, but alas…it doesn’t pull up anything…I think Flash is looking for the host clip I’m targeting on those levels and it is on level0.
The same problem occurs when I use _root. Any other suggestions? I’ve thought about using attachMovieClip, but some of these files are too big
its best to use the external swf to insure a sleeker and faster project.
I figured it out…
Thanks for your suggestions, they helped me realize I should place the host movie clip into an initial host clip that has a loadMovie action on the frame… This initial host clip loads up, on its own as the interface builds…I placed my “sub page” host clip within the initial host clip and targeted level1. Thanks again for your suggestions, they helped alot!