Revision: 29709
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 4, 2010 01:12 by IsoJon
Initial Code
initLoad(); function initLoad() : void { var contentLoader : Loader = new Loader(); var s : Sprite = new Sprite(); var link : String = "http://isokon.net/post/cloudvcloud.jpg"; // here we are adding the child of what the utility returns s.addChild( load( link, contentLoader )); addChild(s); } // the loading utility function load( url:String, l:Loader ) : Loader { l.load( new URLRequest( url ) ); return l; }
Initial URL
Initial Description
When you just need something small and simple.
Initial Title
Simple little loader utility
Initial Tags
Initial Language
ActionScript 3