Hey guys- I’m trying to get some easing on my loader using the MovieClipLoader class:
Here’s the code (it all works fine)
function onLoadProgress(_mc:MovieClip, loaded:Number, total:Number) {
newLoader._visible = true;
loading = Math.round(loaded/total*100);
newLoader.loadBar._xscale = loading;
trace(loading);
}
The only thing is the loader stutters- is not smooth…
I also tried the following using mcTween:
function onLoadProgress(_mc:MovieClip, loaded:Number, total:Number) {
loading = Math.round(loaded/total*100);
newLoader.loadBar.stopTween();
newLoader.loadBar.xScaleTo(loading, 1, “easeOutExpo”);
trace(loading);
}
But still no luck-
Anyone have any suggestion?
All help is GREATLY appreciated-
Thanks in advance!