Re: [flexcoders] How do I position a custom tooltip?
Please take a look at the last example of this link: http://livedocs.adobe.com/flex/3/html/help.html?content=tooltips_4.html On Mon, Jul 14, 2008 at 2:43 PM, Jamie S <[EMAIL PROTECTED]> wrote: > try making an event handler for the toolTipShow event and > repositioning it within the handler. not elegant but it works. > > jamie > > > On Mon, Jul 14, 2008 at 2:30 PM, luvfotography > <[EMAIL PROTECTED] > wrote: > > I'm creating a custom tooltip and there's not enough room in the > > bottom right > > corner to display it, how do I change the x and y coordinates in > > order to > > move it someplace so it's not off screen and fits? > > There are examples on how to reposition for a text tooltip in the > > help, > > but none for a custom tooltip. > > thanks, > > -steve > > here's a live example: > > http://designwithflex.com/projects/tooltip/ > > > > > > http://www.adobe.com/2006/mxml"; > > height="300" width="300" layout="absolute"> > > > > > > > > > > > toolTip=" " toolTipCreate="createToolTip(event)" /> > > > toolTip=" " toolTipCreate="createToolTip(event)"/> > > > > > > > > > > > > http://www.adobe.com/2006/mxml"; width="200" > > backgroundColor="red" implements="mx.core.IToolTip" height="100"> > > > > > > > > > > > > > > > >
Re: [flexcoders] How do I position a custom tooltip?
try making an event handler for the toolTipShow event and repositioning it within the handler. not elegant but it works. jamie On Mon, Jul 14, 2008 at 2:30 PM, luvfotography <[EMAIL PROTECTED]> wrote: > I'm creating a custom tooltip and there's not enough room in the > bottom right > corner to display it, how do I change the x and y coordinates in > order to > move it someplace so it's not off screen and fits? > There are examples on how to reposition for a text tooltip in the > help, > but none for a custom tooltip. > thanks, > -steve > here's a live example: > http://designwithflex.com/projects/tooltip/ > > > http://www.adobe.com/2006/mxml"; > height="300" width="300" layout="absolute"> > > > > > toolTip=" " toolTipCreate="createToolTip(event)" /> > toolTip=" " toolTipCreate="createToolTip(event)"/> > > > > > > http://www.adobe.com/2006/mxml"; width="200" > backgroundColor="red" implements="mx.core.IToolTip" height="100"> > > > > > > >
[flexcoders] How do I position a custom tooltip?
I'm creating a custom tooltip and there's not enough room in the bottom right corner to display it, how do I change the x and y coordinates in order to move it someplace so it's not off screen and fits? There are examples on how to reposition for a text tooltip in the help, but none for a custom tooltip. thanks, -steve here's a live example: http://designwithflex.com/projects/tooltip/ http://www.adobe.com/2006/mxml"; height="300" width="300" layout="absolute"> http://www.adobe.com/2006/mxml"; width="200" backgroundColor="red" implements="mx.core.IToolTip" height="100">