# External SWF preloading Flash 8 HELP! PLEASE!

**URL:** <https://forum.kirupa.com/t/external-swf-preloading-flash-8-help-please/220042>\
**Category:** Uncategorized\
**Created:** [March 22, 2007, 2:54am UTC](https://forum.kirupa.com/t/external-swf-preloading-flash-8-help-please/220042 "2007-03-22T02:54:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ace0002](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@ace0002](https://forum.kirupa.com/u/ace0002)\
**Post date:** [March 22, 2007, 2:54am UTC](https://forum.kirupa.com/t/external-swf-preloading-flash-8-help-please/220042/1 "2007-03-22T02:54:55Z")

</div>

[COLOR=black][FONT=Arial]Hi,[/FONT][/COLOR]  
[COLOR=black][FONT=Arial] [/FONT][/COLOR]  
[COLOR=black][FONT=Arial]This is my first post so go easy. Ok I have an external SWF loader that loads my SWF on the main movie it does display and play the external SWF. Now then I have a preloader to display at frame 1 of my external SWF this works when tested by itself and not form the main movie BUT when I test it (online and simulated) from my main movie the preloader is skipped so the external SWF plays frame 1 and so on and doesn’t stop and preload like it should? [/FONT][/COLOR]  
[COLOR=black][FONT=Arial] [/FONT][/COLOR]  
[COLOR=black][FONT=Arial]The code for the main movie is:[/FONT][/COLOR]  
[COLOR=black][FONT=Arial] [/FONT][/COLOR]  
[COLOR=black][FONT=Arial]stop();[/FONT][/COLOR]  
[COLOR=black][FONT=Arial]this.createEmptyMovieClip(“empty\_mc”);  
empty\_2\_mc.loadMovie(“print.swf”, 1);[/FONT][/COLOR]  
[COLOR=black][FONT=Arial] [/FONT][/COLOR]  
[COLOR=black][FONT=Arial]The external SWF code on frame 1 is:[/FONT][/COLOR]  
[COLOR=black][FONT=Arial] [/FONT][/COLOR]  
[COLOR=black][FONT=Arial]stop();[/FONT][/COLOR]  
[COLOR=black][FONT=Arial]this.onEnterFrame = function(){  
bytesLoaded = \_root.getBytesLoaded();  
bytesTotal = \_root.getBytesTotal();  
percent = Math.round(100\*bytesLoaded/bytesTotal); trace(percent)  
Text.text = percent+"%";  
if (bytesLoaded\>=bytesTotal && bytesLoaded\>0) {  
delete this.onEnterFrame  
gotoAndPlay(2);  
}  
}[/FONT][/COLOR]  
[COLOR=black][FONT=Arial] [/FONT][/COLOR]  
[COLOR=black][FONT=Arial]Help PLEASE!!! What I’m I doing wrong about to tear my hair out. ANY HELP WOULD BE GREAT THANKS![/FONT][/COLOR]
