# Preloading a preloader?!? help!

**URL:** <https://forum.kirupa.com/t/preloading-a-preloader-help/175392>\
**Category:** Uncategorized\
**Created:** [January 13, 2006, 10:11pm UTC](https://forum.kirupa.com/t/preloading-a-preloader-help/175392 "2006-01-13T22:11:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jrjw](https://avatars.discourse-cdn.com/v4/letter/j/a8b319/32.png) [@jrjw](https://forum.kirupa.com/u/jrjw)\
**Post date:** [January 13, 2006, 10:11pm UTC](https://forum.kirupa.com/t/preloading-a-preloader-help/175392/1 "2006-01-13T22:11:47Z")

</div>

hello people!

i need a bit of help with a preloader i’m trying to make. i have set up a photo gallery based on claudio’s very nice tutorial at:  
[http://www.kirupa.com/developer/mx/preloader\_transition.htm](http://www.kirupa.com/developer/mx/preloader_transition.htm)  
the problem is, i am now trying to preload this preloader, and it loads, but the external photos aren’t loading anymore (it works when run by itself) - it appears to freeze half-way through the “transition” mc. does that make sense?

the code for my preloader is:

\_root.createEmptyMovieClip(“Container”, 0)  
Container.\_x = 0  
Container.\_y = 0  
Container.loadMovie(“tutorial\_complete.swf”)  
this.onEnterFrame = function() {  
loaded = Container.getBytesLoaded()  
total = Container.getBytesTotal()  
Percent = Math.ceil((loaded / total)\*100) add “% loaded”  
}

the code for the “content” mc (which appears to be stopping it from progressing) is:

onClipEvent (enterFrame) {  
if (!loaded && this.\_url != \_root.\_url) {  
if (this.getBytesLoaded() == this.getBytesTotal()) {  
loaded = true;  
\_root.transition.gotoAndPlay(“opening”);  
}  
}  
}

can anyone see where the conflict is / why it isn’t making it to the “opening” frame?  
thank you for looking!

james
