[AS3] Saving file by FileReference

FileReference.save()

http://blog.everythingflex.com/2008/10/01/filereferencesave-in-flash-player-10/

API

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html#save%28%29

(題外話,講 load 的)

叫你注意 loader.dataFormat = URLLoaderDataFormat.BINARY;

http://www.actionscript.org/forums/showthread.php3?t=187580

如果 advance d coding的話,用 fscommand出一個小exe將 bytearray -> jpg都得。