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
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