i have used all the preloader logic presently out there but my flash just wont accept anyof them. what i mean by that is that it freezes at the 1st frame but when i remove the preloader layer, it works fine again. this is the preloader i am using now
on the action layer 1st frame :
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
if (bytes_loaded == bytes_total) {
_root.gotoAndPlay(3);
}
2nd frame: this.gotoAndPlay(1);