Please help this loading movie problem is killing me

Ok… a few things.

On your enter button…

on (release) {
	gotoAndPlay("loader", 1);
}

Now in the preloader scene, remove frame 3 altogether so it doesn’t exist. Then change the actions in Frame 1 to be this…

bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
	gotoAndPlay("Scene 1", 1);
}

Then on your Scene 1 at the very last frame add a stop() action.

Why nextScene() doesn’t work I don’t nkow, it goes to the next Scene, but then it stops… grrr.

Ok, next thing is on your loadMovie buttons in the actual content, remove the gotoAndPlay(1), this doesn’t do anything but play frame 1 in the same timeline the button is in, which redoes all the transitions in and plays the song again (over the one that is already playing, making for a lot of noise).

But that is all I changed and it worked.

And one last thing, your file size is gigantic. I tested in show streaming to see how long it takes to load and WOW I could have taken a nap, gotten up and made some coffee by the time it was done.

It appears your loop is way too long causing it to be a giant file size. That loop could easily be cut down to much smaller. As it goes now it is one loop that is looped like 10 times. If that was only one loop that you looped manually in Flash it would cut back your file size probably by a lot.

HI beta pal thanks for taking the time to dl it and fixing it man. Now i trying your methods. Hope it works . Thanks once again :cowboy:

No problem :slight_smile: