views:

1226

answers:

3

Hi all, i want to know if there is a already available hover details component similar to the one shown in google geomap visualizations examples which shows city name and its details, or any other similar component that can be used a hover details box.

+1  A: 

You could conceivably do this with the Flex framework's own ToolTip class. All standard Flex components (derived from UIComponent) have a toolTip property that's used to create tooltips. The standard tooltip style is black text on a yellow-ish background, but this is easily changed using CSS. For some more elaborate styling, you could use the htmlText property on the TextField within the ToolTip class.

Here are some examples: http://livedocs.adobe.com/flex/3/html/help.html?content=tooltips_3.html

Stiggler
Hi , I am using a sprite object, which is not derived from UIComponent class, so i won't be able to use tooltip here.I have tried extending canvas component to have something like this, but it's very very slow. Can u suggest any other way, like some other component i should be extending here. thanks
Ashish
I'm not aware of any open source component that will do this for you. Creating one yourself isn't hard, but will require some time spent.
Stiggler
i am thinking along the lines of using css style with createtooltip function , i don't know if it's even possible , but it will be interesting.
Ashish
A: 

This post may be useful for what you are trying to do.

A: 

Try this http://www.meutzner.com/blog/attachments/menu_tooltip/

Ajay