public class Main extends Sprite { private var loader:Loader;
public function Main () { loader = new Loader(); addChild(loader); var urlRequest:URLRequest = new URLRequest("sunset.jpg"); loader.load(urlRequest); } } }
Related Scripts with Example Source Code in same category :