Extensible Tooltips

Highly configurable text tooltips for your hotspots. Free and Open SourceDemo - Download .swf - Download .fla

All parameters can be set on initialization or on the fly while the user is interacting with the panorama.

The syntax to load the plugin and to set a parameter follows the FPP standard. In the xml file for the panorama or tour, the plugin is loaded by setting the parameter layer_n (where n is a unique number not used for any other layer) equal to the path to the plugin on your server. To specify default settings, loaded at initialization place the <mouse> and </mouse> with the default parameters between them, after the </parameters> tag. For example:

<panorama>
<parameters>
        ...
        layer_1 = hotspots.swf
        layer_2 = tooltips.swf
</parameters>
<tooltips>
default_parameter_1 = value
default_parameter_2 = value
</tooltips>
<hotspots>
        <global>
                <spot ... > ....
        </global>
</hotspots>
</panorama>

The user configurable parameters, their default values, and effects are listed below:

altFont: Arial -> the font of the tooltip
altSize: 14 -> the font point size of the tooltip
altColor: 0x000000 -> the font color of the tooltip
altAlpah: 1 -> the alpha transparency of the background and border
altFill: 0xFFFFD5 -> the background fill color of the tooltip
altStroke: 0x999999 -> the border stroke color of the tooltip
altXOffset: -8 -> the x axis offset from the mouse position of the tooltip
altYOffset: 20 -> the y axis offset from the mouse position of the tooltip

The values for each spot should be written into the the <spot ... > tag, for example:

<spot id="mySpot" url"img.png" alt="tooltip text" altFont="Geneva" altSize="24" altColor="0xFF0000" altFill="0x0000FF" altStroke="0x00FF00" altAlpha="0.5">

Tooltips plugin is based on the original plugin shipped with Flash Panorama Player by Denis Chumakov.

Hi guys. It's me

Hi guys. It's me again.
Would one of you be so kind to explain to me how I add an image as a Tooltip. You explain in this (http://www.flashpanoramas.com/forum/showthread.php?t=640&highlight=toolt...) thread at the forum that you can add an image by using the:

altXOffset="x"
altYOffset="y"

... but I can't figure out how to actually include a picture. Perhaps you have an example from a .xml document where a "mouse over" image is included? I would really appreciate it Smile

Best regards
Morten

As Patrick suggested on the

As Patrick suggested on the FPP forum, here's a new feature request:

I did find it useful to turn the fade off for performance reasons. It's very simple to create a new version that does this (alphaMin=1 instead of alphaMin=-1.4). But it would be nice if an attribute was added this to be configured via XML.

I am trying to use your

I am trying to use your tooltips plugin in a player that is embedded in another SWF and the tooltips are not appearing. Any ideas? The tooltips work if the player is embedded in an HTML page.

I really like the tooltips

I really like the tooltips plugin. Thanks!! I'd like it even better, though, if the tooltips faded after about 5 seconds, rather than remaining on the screen all the while that the user is mousing-over (mouse-overing?) the tooltipped hotspot. Is there an easy way to do this, or does it require a rewrite of the plugin?

Thanks again,
Bob Bright
BBBright@VictoriaVR.ca