I'm attempting to make the container preloader work properly on this template and cannot seem to get it right?!? I've attached both .swi's
THIS IS IN SWISHMAX 2 - If you don't have that program then keep moving, Macromedia won't do the trick
I placed a preloader before the beginning of button1.swi as well (first scene) but it does not function either. I have a feeling its something trivial, like the order that my items appear on my .swi that is affecting it, but I'd love a quick nod in the right direction. I've included the container_preloader code below:
onFrame (1) {
setLabel("start");
}
onFrame (5) {
stop();
}
onFrame (6) {
setLabel("preloader");
}
onFrame (8) {
loadedPercent = _parent.LOADER.getPercentLoaded();
if (Math.ceil(loadedPercent) >= 100 && _parent.LOADER.getBytesLoaded() >= 100) {
gotoAndPlay("start");
_root.Window.gotoAndPlay("open");
_root.menu_block.gotoAndPlay("off");
}
}
onFrame (11) {
loadedPercent = _parent.LOADER.getPercentLoaded();
if (_parent.LOADER.getBytesLoaded() >= 100) {
Loader.gotoAndPlay(loadedPercent);
}
if (Math.ceil(loadedPercent) >= 100 && _parent.LOADER.getBytesLoaded() >= 100) {
gotoAndPlay("start");
_root.Window.gotoAndPlay("open");
_root.menu_block.gotoAndPlay("off");
}
}
onFrame (12) {
prevFrameAndPlay();
}
onFrame (13) {
stop();
}
This is the action to call it:
onFrame (115) {
_root.container_preloader.gotoAndPlay("preloader");
_root.LOADER.loadMovie("button1.swf");
Any suggestions? I'd be happy with either the preloader working before Button1.swi but it makes more sense to try and get the container preloader working. I appreciate all the help...Thanks!
I'm willing to pay upto $30.00 for this solution in the next several hours. The FIRST person with 10+ positive feedback gets the job.






