# Load movie swap level -eek!

**URL:** <https://forum.kirupa.com/t/load-movie-swap-level-eek/177916>\
**Category:** flash\
**Created:** [February 6, 2006, 2:51pm UTC](https://forum.kirupa.com/t/load-movie-swap-level-eek/177916 "2006-02-06T14:51:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jt\_01](https://avatars.discourse-cdn.com/v4/letter/j/b5a626/32.png) [@Jt\_01](https://forum.kirupa.com/u/Jt_01)\
**Post date:** [February 6, 2006, 2:51pm UTC](https://forum.kirupa.com/t/load-movie-swap-level-eek/177916/1 "2006-02-06T14:51:32Z")

</div>

I’m in a pickle. Basically the code needs to load in movielcips in ever decreasing levels, ideally loads one whilst one is playing. Then once a loaded clip has reached the end of its frames it fades out. Then next clip needs underneath plays, and it loads the next…

Any help i’ve made a mess here!

```auto

var i:Number = 1;
do {
    choice = i;
    t = _root.createEmptyMovieClip("containernew"+i, i);
    t._x = 0;
    t._y = 0;
    newlevel=(i-(i+i))
    //trace(newlevel)
    t.loadMovie(choice+".swf", newlevel);
    t.removeInt = 
    onEnterFrame=function(){
        trace(this._currentframe)
    if (this._currentframe >= this._totalframes) {
        do {
            this._alpha=this._alpha-1
            
} while (this._alpha>10);

    remove()
    };
    }
    i++;
    } while (i<8);
    

MovieClip.prototype.remove = function() {
     trace(this);
    //this.unloadMovie();
    //clearInterval(this.removeInt);
};

```
