"Save As" in flash
"Save As" in flash
Out of context: Reply #17
- Started
- Last post
- 18 Responses
- maximillion_0
function saveAs():void {
var yourURL:URLRequest = new URLRequest ( "the url");
fileRef.download(yourURL, filename);
}
the url here needs to be abolsute and include the filename, download() method takes 2 params the second should be the filename used at the end of the absolute url