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