mc.addEventListener(Event.COMPLETE,function(e : Event) : void{LoadedComplete(e, 'test' ,true);}); function LoadedComplete(e:Event,txt:String,switch:Boolean ):void{ }