hi,
I want to import an external swf… with the function “loadMovie()”… and after that. i have a preloader script… the bars and text are already on the stage in my original movie…
however… when i test this… if i have a LoadMovie() in the script… the preloader(bars and stuff) just won’t show up…
In frame one… i have this…
this.createEmptyMovieClip("dummy", 22);
loadMovie("RPGMAIN.swf", dummy);
this.onEnterFrame = function() {
bytes_loaded = Math.round(dummy.getBytesLoaded());
bytes_total = Math.round(dummy.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadBar._width = getPercent*200;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {
loadMovie("RPGMAIN.swf", _root);
}
};
can someone tell me what i’m doing wrong here?
thanks!