initialize="doSomething(event)"> public function doSomething(event:Event):void { b1.toolTip = "A \n B."; }