loader.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete); function onComplete(evt:Event):void{ .... }