I have a working progress bar. What i am having trouble with is playing the function “completeHandler” when the the file is loaded. How can i do this?
function completeHandler(event:Event):void {
fileDisplay_txt.text = “”;
}
function progressHandler(event:ProgressEvent):void {
progressBar.width = Math.ceil(250*(event.bytesLoaded/event.bytesTotal));
}