I’ve created a preloader in scene 1. When everything has loaded, I want to go to scene 2. I’ve set up actions in the first three key frames this way:
Frame 1:
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent100;
_root.loadText = Math.round(getPercent100)+"%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(3);
}
Frame 2:
this.gotoAndPlay(1);
Frame 3:
nextScene();
The preloader is seen for only a short time, then it disappears and I have a blank screen until it moves along to scene 2, which loads an external swf (this functionality is working well).
It doesn’t seem like my preloader is on the same page as the rest of my movie. Am I missing something?