Recognizing within main timeline a button located inside externally loaded .swf

Hello all. :smiley: I’m using the preloader like the one rhamej posted here:

http://www.kirupa.com/forum/showthread.php?t=94888

The part of the code I need help with is as follows:

[AS]
//fire the MovieClipLoader and attach the listener to it
var container1:MovieClipLoader = new MovieClipLoader();
container1.addListener(mclListener);
container1.loadClip(“1_movie.swf”, container);
//button actions
_root.enter_button.onRelease = function() {
container1.loadClip(“tree20.swf”, container);
};
[/AS]

I realize the code is wrong. I wondered if it was possible after loading an external .swf (“1_movie.swf”) within the container, if you could then press a button (enter_button) located within the external .swf (“1_movie.swf”) , and use the preloader code to load another external .swf on release (“tree20.swf”). I’m having trouble because the preloader code is in the main timeline of my main flash file (“index.fla”), and I don’t know how to make the preloader code recognize the button located within the external .swf, and use it to load another external .swf within the same movie clip. Any help would be appreciated. :slight_smile: