With the new FileReference class, is it possible to use a download path pointing to a local file (or from another local drive) rather than one from a remote server to save a file?
e.g:
Instead of:
var url:String = “http://www.macromedia.com/platform/whitepapers/platform_overview.pdf”;
if(!fileRef.download(url, “FlashPlatform.pdf”)) {trace(“dialog box failed to open.”); }
have:
var url:String = “file:///C:/whitepapers/platform_overview.pdf”;
if(!fileRef.download(url, “FlashPlatform.pdf”)) { trace(“dialog box failed to open.”); }
I dont want to use the regular “getURL” method to open up a browser and then popup a download window rather do everything through the flash player/projector.
Thanks people!