Hello
Last time you helped me with my preloader and it works fine.
Now, in my main movie I load dynamicly swf
var sCale:Number = 100;
var mcMyClip:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();
mcMyClip.addListener(myListener);
this.createEmptyMovieClip("mcToolBar", this.getNextHighestDepth());
mcToolBar._x = 0;
mcToolBar._y = 0;
mcToolBar._xscale = sCale;
mcToolBar._yscale = sCale;
mcMyClip.loadClip("TITLE.swf", "mcToolBar");
and is in frame 10 like all other stuff.
In 1st frame I have preloader
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
_root.loadBar._width = getPercent*100;
_root.loadText = Math.round(getPercent*100)+"% - "+bytes_loaded+"kb / "+bytes_total+"Kb";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(10);
}
when the preloader load everything it goes to 10 frame, and all content will show, so it works very fine, but…
but except the “TITLE.swf” and it will show up after while, because it was still downloading.
I have found out in Flash in “Test Movie”, when I test the preloader.
How do I target the Title.swf into the preloader?, so it preloads together with main movie. It doesn’t look good when everything shows up and the title after few seconds later.