so, i have a pre-loader in a certian scene, but apparently it does one of two things:
when it is finished loading, it will revert back to the frame of the first scene, which i know why casue of the _parent. script that’s in there.
so i took it out, and now it will get to 99% and just stop, and not continue on.
here’s the script that i’m using:
onClipEvent (enterFrame) {
loading = _parent.getBytesLoaded();
total = _parent.getBytesTotal();
percent -= (percent-((loading/total)100)).25;
per = int(percent);
percentage = per+"%";
loadBar._width = per;
if (percent>99) {
_parent.gotoAndPlay(“Scene 2”, 16);
}
}
any help would be awesome!!!
thanks!