I was wondering if anyone has run into this issue before? There is a
post here where someone had the same issue but doesn't seem to be
resolved. http://www.actionscript.org/forums/showthread.php3?t=159436

When this function is called bytesLoaded and bytesTotal are correct.
But on screen I see 0% then 99%.Its like the progress bar isn't being
updated. I tried progress.progBar.invalidateDisplayList() but it
doesn't help. Anyone have any ideas?

private function updateProgress(event:ProgressEvent):void {
                        if(event.bytesLoaded >= event.bytesTotal){
                                
subgraph.removeEventListener(ProgressEvent.PROGRESS,
updateProgress);
                                PopUpManager.removePopUp(progress);
                        }
                        progress.progBar.setProgress(event.bytesLoaded,
event.bytesTotal);
                        progress.progBar.label = (event.bytesLoaded /
event.bytesTotal * 100).toFixed() + "%" + " Complete";
                        trace((event.bytesLoaded / event.bytesTotal * 
100).toFixed()
+ "%" + " Complete");
                        
                     }

TIA



Reply via email to