Hi! I have problem with preloader in my as2 project in Flash CS3. The problem is that I have only preloader in 1 frame but bandwith profiler shows me that I have everything in 1 frame. Does anyone can help me??? This is my code for preloader-movieclip:
onClipEvent (load)
{
total = _root.getBytesTotal();
}
onClipEvent (enterFrame)
{
loaded = _root.getBytesLoaded();
percent = int(loaded / total * 100);
text = percent + “%”;
gotoAndStop(percent);
if (loaded == total)
{
_root.gotoAndPlay(2);
} // end if
}