# Problem .. after...external preload

**URL:** <https://forum.kirupa.com/t/problem-after-external-preload/177158>\
**Category:** flash\
**Created:** [January 30, 2006, 7:38pm UTC](https://forum.kirupa.com/t/problem-after-external-preload/177158 "2006-01-30T19:38:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![PAUK](https://avatars.discourse-cdn.com/v4/letter/p/9f8e36/32.png) [@PAUK](https://forum.kirupa.com/u/PAUK)\
**Post date:** [January 30, 2006, 7:38pm UTC](https://forum.kirupa.com/t/problem-after-external-preload/177158/1 "2006-01-30T19:38:00Z")

</div>

Hi there … Ive got this preloader end it works fine with  
a fade in

BUT how can i play a movie that is placed in  
\_level0.menu.play(2);  
when the external swf is finish loaded in the container

-------------------------------------- script -------------------------

MovieClip.prototype.fadeIn = function() {  
this.onEnterFrame = function() {  
if (this.\_alpha\<100) {  
this.\_alpha += 10;  
} else {  
delete this.onEnterFrame;  
}  
};  
};  
bar.\_visible = false;  
border.\_visible = false;  
var empty = this.createEmptyMovieClip(“container”, “100”);  
empty.\_x = 0;  
empty.\_y = 0;  
my\_mc = new MovieClipLoader();  
preload = new Object();  
my\_mc.addListener(preload);  
preload.onLoadStart = function(targetMC) {  
trace("started loading "+targetMC);  
container.\_alpha = 0;  
bar.\_visible = true;  
border.\_visible = true;  
pText.\_visible = true;  
};  
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {  
bar.\_width = (lBytes/tBytes)\*100;  
pText.text = “% “+Math.round((lBytes/tBytes)\*100);  
};  
preload.onLoadComplete = function(targetMC) {  
container.fadeIn();  
border.\_visible = false;  
bar.\_visible = false;  
dText.\_visible = false;  
trace(targetMC+” finished”);  
};  
//default image  
my\_mc.loadClip(“images/main1.swf”, “container”);

* * *

hope for some help  
Have a nice day
