Posted By

arpo on 05/04/10


Tagged


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

adrianparr
TrentSkunk
Mephysto


Forced download


 / Published in: ActionScript 3
 

You'll

  1. //You'll need this too.
  2. import flash.net.FileReference;
  3. import flash.net.URLRequest;
  4.  
  5. var fileRef:FileReference = new FileReference();
  6. fileRef.download(new URLRequest("theURLToTheFile.jpg"), "theNameYouWantToSaveItAs.jpg");

Report this snippet  

You need to login to post a comment.