4 Replies Latest reply on Jun 8, 2007 7:24 AM by kglad

    percent loaded

    _gary_
      below is the code i have that displays bytes loaded vs bytes total
      i prefer to have a simple % loaded text display

      function progressHandler(event:ProgressEvent):void {
      trace("progress:", event.bytesLoaded, event.bytesTotal, int(event.currentTarget.percentComplete) + "%");
      myLabel.text = event.bytesLoaded + " of " + event.bytesTotal + " bytes loaded.";

      how can this be accomplished ?

      thanks