package { import flash.display.*; import flash.net.URLRequest; public class LoaderExample extends Sprite { public function LoaderExample( ) { var loader:Loader = new Loader( ); addChild( loader ); loader.load( new URLRequest( "image.jpg" ) ); } } }
Related Scripts with Example Source Code in same category :