i can send u my fla.
my script is:
stop();
root.loaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
function progressHandler(myevent:ProgressEvent):void {
var myprogress:Number=myevent.target.bytesLoaded/myevent.target.bytesTotal;
trace(myprogress)
bar_mc.scaleX=myprogress
myTextField_txt.text = Math.round(myprogress*100)+"%"
}
root.loaderInfo.addEventListener(Event.COMPLETE, finished);
function finished(myevent:Event):void {
play()
}
my content starts from frame 2. pre loader and instance of progress bar, “bar_mc” and also dynamic text field, “myTextField_txt” is in frame 1. The script starts from frame 1 in actions layer.
it basically freezes on progress bar and doesnt play rest of my movie.
thanks for any help