title: FileReference and HttpService Browse Image Modify it then Upload it
body: <p>I am trying to do an image uploader, user can:<br>
  - browse local file with button.browse<br>
  - select one and save it as a FileReference.<br>
  - then we do FileReference.load() then bind the data to our image control.<br>
  - after we make a rotation on it and change the data of image.<br>
  - and to finish we upload it to a server.</p>
  
  <p>To change the data of image i get the matrix of the displayed image and transform it then i re-use the new matrix and bind it to my old image:</p>
  
  <pre><code>private function TurnImage():void
  { 
      //Turn it
      var m:Matrix = _img.transform.matrix;
      rotateImage(m);
      _img.transform.matrix = m;
  }
  </code></pre>
  
  <p>Now the mater is that i really don't know how to send the data as a file to my server cause its not stored in the FileReference and data inside FileReference is readOnly so we can't change it or create a new, so i can't use .upload();.</p>
  
  <p>Then i tried HttpService.send but i can't figure out how you send a file and not a mxml.</p>