Thanks Cato, I'm starting to head down the right path.
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Cato Paus Sent: Wednesday, February 21, 2007 10:19 AM To: [email protected] Subject: [flexcoders] Re: Tooltips are driving me crazy! Hello mister, here you have a sample that mait help you on your way <?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" initialize="doInit()" layout="absolute"> <mx:Script><![CDATA[ import mx.managers.ToolTipManager; import mx.controls.ToolTip; private var myTip1:ToolTip; private var myTip2:ToolTip; private var myTip3:ToolTip; private function doInit():void{ myTip1 = new ToolTip(); myTip2 = new ToolTip(); myTip3 = new ToolTip(); // Alert.show(mainBox.x.toString (),mainBox.y.toString()); myTip1 = ToolTipManager.createToolTip('myTip1', myPanel.width + myPanel.x, myPanel.y, "errorTipRight"); myTip2 = ToolTipManager.createToolTip ('myTip2.', myPanel.x, myPanel.y-50, "errorTipAbove"); myTip3 = ToolTipManager.createToolTip ('myTip3.', myPanel.x+myPanel.width - 50, myPanel.y+myPanel.height, "errorTipBelow"); } private function destroyToolTips(event:MouseEvent):void{ if(myTip1!=null){ ToolTipManager.destroyToolTip(myTip1); ToolTipManager.destroyToolTip(myTip2); ToolTipManager.destroyToolTip(myTip3); } } ]]></mx:Script> <mx:Panel id="myPanel" x="10" y="50" click="destroyToolTips(event)" width="347" height="221"> </mx:Panel> </mx:Application> I used it on my latest app. http://www.montass.no by the way this is made in Flex 2 if your running 2.0.1 you will run into some bugs, you just updated montass.no to flex 2.0.1 but I dont have the code here at home, so if you interesting I can post it for you twomorrow?! Cato Paus --- In [email protected], "Brian Holmes" <[EMAIL PROTECTED]> wrote: > > Does anybody know how to show a tooltip without having to focus on the > control? I just want to say "You, Yes You, Component, Show your > ToolTip!" > > > b. > > > *** > The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. > *** > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links *** The information in this e-mail is confidential and intended solely for the individual or entity to whom it is addressed. If you have received this e-mail in error please notify the sender by return e-mail delete this e-mail and refrain from any disclosure or action based on the information. ***

