package { import flash.display.*; import flash.net.URLRequest; public class Main extends Sprite { private var loader:Loader; public function Main( ) { loader = new Loader( ); var url:URLRequest = new URLRequest("sunset.jpg"); loader.load(url); } } }