0 Replies Latest reply on Jun 11, 2010 2:59 PM by SOMEONEINTHEWORLD

    Displaying Progress Bar




      I want to display progress bar based on the bytes received from socket.  The tutorials and examples show only image loading.  Is it possible to display progress bar based on bytes received for socket.  If so, can anyone tell me how to do it?


      var total_bytes:Number=0;

      public function bytesReceived(event:ProgressEvent):void


             var bytes_received = event.bytes.loaded;


             total_bytes = bytes_received + total_bytes;