I’ve got this code and I need to know how to turn my buttons back on once my swf is completely loaded. I read somewhere that using the loadClip class is easy because it takes less code, but I just don’t understand what it’s doing with this mc1 object and listener object.
I could put code into each of my movies that I’m loading that says _root.menu_mc.enableButtons();
but shouldn’t I be able to do it from within the loadUpMovie function I wrote?
//from [http://www.nunomira.com/tutorials/loading_movies.php](http://www.nunomira.com/tutorials/loading_movies.php)
var mc1:MovieClipLoader = new MovieClipLoader();
var silentListener:Object = new Object();
mc1.addListener(silentListener);
function enableButtons(){
button1_btn.enabled = true;
button2_btn.enabled = true;
button3_btn.enabled = true;
button4_btn.enabled = true;
button5_btn.enabled = true;
};
function loadUpMovie(theClip) {
mc1.loadClip(theClip, _root.e_mc);
button1_btn.enabled = false;
button2_btn.enabled = false;
button3_btn.enabled = false;
button4_btn.enabled = false;
button5_btn.enabled = false;
}