title: Image Upload progress using URLLoader AS3
body: <p>I am developing image uploader in Flash. I use FileReference.browse to browse image then resize this image to 1000 x 1000 px, if the image is very big and then upload to server. I want to show progressbar for the image upload progress.</p>
  
  <p>I am usinng URLLoader to send binary data of the resized images, but ProgressEvent on URLLoader doesn't work the way it is supposed to work. It is fired only after the image is completed uploaded instead of showing intermediate progress. ProgressEvent on FileReference works perfectly to show intermediate image upload progress.</p>
  
  <p>Is there a way to display upload progress using URLLoader? or</p>
  
  <p>Can we use FileReference to load modified image and then call FileReference.upload, that way it will be possible to show actual progress bar.</p>
  
  <hr>
  
  <p><em>Update 1</em> :<br>
  But my problem is that I am resizing the browsed image after using FileReference.browse, and I want to upload resized images, not the original picture in FileReference object after browse. How do I use Filereference.upload in this case? Filereference.upload will upload original image not the resized one. Any idea, how to put the resized image into Filereference object and then use FileReference.upload.</p>
  
  <hr>
  
  <p><em>Update 2</em> :<br>
  Not able to set data in dummy FileReference, data is read-only property.</p>
  
  <hr>
  
  <p><em>Update 3</em> :<br>
  But this has same problem of not showing image upload progress, from the above link:</p>
  
  <p>"Unfortunately there is a problem getting progress event. We cant show any progress during sending data to server because flash doesn't support it"</p>
  
  <p>I am exactly looking for a solution for the above issue. URLLoader works fine to post the image data.</p>