-V
1: 2: 3: 4: 5: 6: 7:
stage.addEventListener(Event.ENTER_FRAME, doSomething); function doSomething(event:Event):void { trace("hi"); } stop();