calculate a loop time of send receive amount of bytes with an object and event 
listener.
as this you can have the rate/sec with a little calculation and simulate in 
more an upload rate progress bar.

Thanks

Franck Chionna
FlashUploaded.com
  ----- Original Message ----- 
  From: paranoio 
  To: [email protected] 
  Sent: Thursday, August 14, 2008 9:42 PM
  Subject: Re: [osflash] how to create a bandwidth tester


  well now  to detect upload speed i used a simple loadvars creating a "post" 
var with a code like this :


    var bites = 1024 *100        //100 kbs
    var data =  "" 
    for(var i = 0 ;i< bites ;i++){
           data +="1"
    }
    var output  = new LoadVars()
          output .data = data 

  with this i can detect my upload speed but only until all the data is 
completely send to php, how can i get the progress of the uploaded data  ?

  here is the example updated   : http://masgdl.com/tests/bandwidthMeter/ 

  thanks .. 






------------------------------------------------------------------------------


  _______________________________________________
  osflash mailing list
  [email protected]
  http://osflash.org/mailman/listinfo/osflash_osflash.org
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to