I need your help people. your talking about preloaders. I have this code, and i want the preloader to fade once the movie has been loaded. here's the code
can someone help?Code:myInterval = setInterval(preload,100); function preload(){ var current = _root.getBytesLoaded(); var total = _root.getBytesTotal(); var pctLoaded = Math.round(current/total*100); pct_txt.text = pctLoaded; loaderBar_mc._xscale = pctLoaded; if(current >= total){ gotoAndStop("main",1); clearInterval(myInterval); } }




Reply With Quote