function test():void { for (var ........ } function qh_func(event:MouseEvent):void { trace("it work?"); } test();