Revision: 22252
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 7, 2010 03:46 by BoNzO
Initial Code
import flash.filesystem.File; import flash.filesystem.FileMode; import flash.filesystem.FileStream; var file:File = File.desktopDirectory.resolvePath( "file.txt" ); var stream:FileStream = new FileStream(); var xmlLoader:URLLoader = new URLLoader(); xmlLoader.addEventListener(Event.COMPLETE, onLoaded); function onLoaded(e:Event):void { stream.open( file, FileMode.WRITE ); stream.writeUTFBytes(e.target.data); stream.close(); file = null; stream = null; } xmlLoader.load(new URLRequest("http://www.yourfeedurl.com/file.xml"));
Initial URL
Initial Description
Initial Title
Save remote rss on desktop in Air AS3
Initial Tags
Initial Language
ActionScript 3