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