private var _loader:Loader = new Loader(); private var _current:int;
public function Main () { _loader.load(new URLRequest("http://www.navioo.com/image.jpg")); addChild(_loader); _loader.addEventListener(MouseEvent.CLICK, clickHandler); _loader.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); }