クリップボードに貼り付け ふるいむかし
IE は普通に可能
問題はMozilla
http://a-h.parfe.jp/einfach/archives/2005/0706043145.html#footnote_122t1
Flash Player 7以上で動作
追加情報(2/22)->http://blog.dawgsdk.org/weblog/archives/410011
http://www.adobe.com/jp/support/flash/ts/documents/fl0013.html
問題はMozilla
http://a-h.parfe.jp/einfach/archives/2005/0706043145.html#footnote_122t1
Flash Player 7以上で動作
追加情報(2/22)->http://blog.dawgsdk.org/weblog/archives/410011
http://www.adobe.com/jp/support/flash/ts/documents/fl0013.html
import flash.net.FileReference; var listener:Object = new Object(); listener.onSelect = function(file:FileReference):Void { trace("onSelect: " + file.name); } listener.onCancel = function(file:FileReference):Void { trace("onCancel"); } listener.onOpen = function(file:FileReference):Void { trace("onOpen: " + file.name); } listener.onProgress = function( file:FileReference, bytesLoaded:Number, bytesTotal:Number):Void { trace("onProgress with bytesLoaded: " + bytesLoaded + " bytesTotal: " + bytesTotal); } listener.onComplete = function(file:FileReference):Void { trace("onComplete: " + file.name); } listener.onIOError = function(file:FileReference):Void { trace("onIOError: " + file.name); } var fileRef:FileReference = new FileReference(); fileRef.addListener(listener); var url:String = "http://www.macromedia.com/platform/whitepapers/platform_overview.pdf"; if(!fileRef.download(url, "FlashPlatform.pdf")) { trace("dialog box failed to open."); }