attachMovie external swf

I am trying to revise the very first flash project I ever did and it’s become a complicated mess. :hair: I have created an interactive atlas. I am using my favorite map zooming and panning tools supplied by Senocular :pleased: which can be found here:
http://senocular.com/flash/source.php?id=0.76

For the panning/zooming/drawBox tool to work the map features must be buried deep within several movieclips. There is one level at which you can put buttons that aren’t effected by the code for the panning/zooming etc. Buttons have to go on this level or higher if you want them to work.

The way my atlas is set up - there is a main interface that has these tools plus the menu system. The menu (xml; created by Lost and Sen - brilliant, thank you) loads in two external swfs - one is the map itself and the other is a set of “controls” for that particular map (radio buttons, check boxes, text links, etc.).

Okay so here is my problem. I have a couple of external swfs that have buttons on them that do things when you roll over and off them. If I have these buttons sitting on the map then when it gets loaded into the main interface they no longer work. So I am trying to use attachMovie to attach them to an MC within the zooming tools in the main interface at a level they can be active (oh god I hope that makes sense).

But it’s not working. :frowning:

I am guessing it’s because the code to attach them is being fired before the external can be loaded into the interface. So I’m not really sure where to fire the attachMovie code. Does it go with the external? Does it go with the controls for the external?

Any ideas much appreciated. I can supply code if needed though like I said, this file is a mess. There are 15 external maps with 15 “control” files. Plus the main interface, plus some other miscellaneous files.

Whew! :hr: