This is my preload , it works fine but i would like to apply it to only one scene not all of them…i want to have separate preloaders.
here is the code, what&where do i need to change so that it preloads only one scene?
onClipEvent (enterFrame) {
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
if (bytes_loaded == bytes) {
_root.gotoAndPlay(2);
this.melktext = “movie loaded”;
} else {
_root.gotoAndStop(1);
this.melktext = “loading (”+bytes_loaded+"/"+bytes+")";
}
}