After checking out the tutorial on preloading an external swf I still can not get my preloader to work correctly...
My dynamic text box is not displaying at all?
Code:
var mcl:MovieClipLoader = new MovieClipLoader();
var mclL:Object = new Object();
mclL.onLoadProgress = function (target, loaded, total) {
loader.percent.text = Math.round((loaded/total) * 100) + "%";
loader.bar_mc._xscale = Math.round((loaded/total) * 100);
}
mclL.onLoadInit = function() {
loader._visible = false;
loader.percent.text = "";
}
mcl.addListener(mclL);
loader._visible = true;
mcl.loadClip("photos/weddings_big_1.jpg",img_container);
I have all my instance names correct, but still nothing?
Also I still need to figure out how to alpha tween fade in the jpg img once it has been loaded.
Bookmarks