TOOL_TIP_SHOW doesn't bubble, so it's probably not the best way. I'd say simply subclassing ToolTip and setting ToolTipManager.toolTipClass will be your best bet.
-Josh On Wed, Aug 27, 2008 at 7:57 AM, Ethan Miller <[EMAIL PROTECTED]>wrote: > Example of how to intercept TOOL_TIP_SHOW, please. > Alternately, all I really want to do is change the horizontal and vertical > offset of the ToolTIp from the item it describes. Any easy, app-wide way to > do this? > > cheers, ethan > > > > I think you intercept TOOL_TIP_SHOW and give it a different position. The > ToolTipMgr should have placed it already where it think it should be. > > > > You can set the ToolTipManager.toolTipClass to have all instances of > tooltips be something else, but you should extend ToolTip in your custom > ToolTip. > > > ------------------------------ > > *From:* [email protected] [mailto:[EMAIL PROTECTED] *On > Behalf Of *Ethan Miller > *Sent:* Tuesday, August 26, 2008 9:59 AM > *To:* [email protected] > *Subject:* [flexcoders] Positioning Custom ToolTips > > > > Greetings - > > Per the Flex documentation, I'm using a custom component as a ToolTip > by intercepting the toolTipCreate event, as describe below: > > "In your application, you can create a custom ToolTip by intercepting > the toolTipCreate event handler of the target component. In the event > handler, you instantiate the new ToolTip and set its properties. You > then point the toolTipproperty of the ToolTipEvent object to the new > ToolTip." > > Unlike using the ToolTip Manager, however, which accepts x,y > positioning arguments, it's unclear how to position the custom tooltip > invoked using the intercept and custom class approach.... > > So, this leaves me with two questions: > > 1. Using a custom class or component created using the incercept > approach, is there a way to position the tip? > > or > > 2. Is there way to use a custom class or component for the tip when > using ToolTip Manager to create them? > > Thanks! > > ethan > > > > > -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED]

