Hi,
I’m making a flash site but I’m having a little problem:
I preload my site whit this code:
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._width = getPercent * 200;
this.loadText = Math.round(getPercent * 100) + "%";
if(bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
This code works perfectly when I test it, but if it goes to frame 3, the MC’s on that frame won’t start playing… ?
If I just remove the frames with the preload bar (so frame 3 becomes frame 1), all works perfectly…
…I’m confused…
Can anyone help me?