I’m trying to create a load bar for this preloader . Here’s the code:
var container:MovieClip = createEmptyMovieClip(“container”, getNextHighestDepth());
var con:MovieClipLoader = new MovieClipLoader();
var conL:Object= new Object();
conL.onLoadProgress=function(target,loaded,total){
percent.text=Math.round((loaded/total)*100) + “%”;
}
conL.onLoadInit= function(){
loader.visible=false;
percent.text="";
}
con.addListener(conL);
con.loadClip(“bimmer.swf”,container);
The preloader works perfectly, but I need a loar bar; can anybody add the line of code that would be grand…