private function onEvent( event : Event ) : void { trace( event.type + " event occurred" ); } effectStart="onEvent( event )"/>