I currently have my preloader on scene 1 and the rest of my movie on scene 2.
Here is the code I have on my preloader movieclip:
onClipEvent (enterFrame) {
loading = _root.getBytesLoaded();
total = _root.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";[color=red]//Dynamic text field Var: percentage[/color]
loadBar._width = per; [color=red]//Symbol with instance name of loadBar[/color]
if (percent>99) {
gotoAndPlay(“Scene 2”, 1);
}
}
So basically when it is done loading I want it to goto scene 2 and play at frame 1.
Currently nothing happens.
Is there a problem having a preloader with 2 scenes?