# This new loadClip stuff

**URL:** <https://forum.kirupa.com/t/this-new-loadclip-stuff/155279>\
**Category:** Uncategorized\
**Created:** [July 15, 2005, 11:52pm UTC](https://forum.kirupa.com/t/this-new-loadclip-stuff/155279 "2005-07-15T23:52:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jake74](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@jake74](https://forum.kirupa.com/u/jake74)\
**Post date:** [July 15, 2005, 11:52pm UTC](https://forum.kirupa.com/t/this-new-loadclip-stuff/155279/1 "2005-07-15T23:52:11Z")

</div>

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?

```auto
 
//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;
 
}

```
