# Loading External swf's one after another.?

**URL:** https://forum.kirupa.com/t/loading-external-swfs-one-after-another/82180
**Category:** flash
**Created:** [March 8, 2005, 8:08am UTC](https://forum.kirupa.com/t/loading-external-swfs-one-after-another/82180 "2005-03-08T08:08:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![xrv](https://avatars.discourse-cdn.com/v4/letter/x/9de053/32.png) [@xrv](https://forum.kirupa.com/u/xrv)
#### Post date: [March 8, 2005, 8:08am UTC](https://forum.kirupa.com/t/loading-external-swfs-one-after-another/82180/1 "2005-03-08T08:08:10Z")

</div>

Can any one help me for loadinf four external swf’s one after another, means after playing the first one the second should play, like that… the code i used is like this.

function preload(movie){  
holder.loadMovie(movie);  
\_root.onEnterFrame=function(){  
gbl=holder.getBytesLoaded();  
gbt=holder.getBytesTotal();  
if(gbl\>512&&gbt==gbl){  
trace(“movieLoaded”);  
preload(“anotherMovie.swf”);  
}  
}  
}
