Hi,
I use Tooltips when my mouse is over a Hotspot or a layer.
I'd like to be sure that the tooltips will be ALWAYS visible even if is out of the screen.
Here is the code I'm using :
Code
<style name="tooltip"
onover="copy(layer[tooltip].html, tooltip);
set(layer[tooltip].visible, true);
tween(layer[tooltip].alpha, 1.0, 0.5);
asyncloop(hovering, copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );"
onout="tween(layer[tooltip].alpha, 0.0, 0.25, default, set(layer[tooltip].visible,false), copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );"
/>
<!-- the 'tooltip' textfield -->
<layer name="tooltip" keep="true"
url="%SWFPATH%/plugins/textfield.swf"
parent="STAGE"
visible="false" alpha="0"
enabled="false"
align="lefttop"
edge="bottom"
oy="-10"
autowidth="true"
autoheight="true"
background="false" backgroundcolor="0xFFFFFF" backgroundalpha="1.0"
border="false" bordercolor="0x000000" borderalpha="1.0"
borderwidth="1.0" roundedge="0"
shadow="0.0" shadowrange="4.0" shadowangle="45" shadowcolor="0x000000" shadowalpha="1.0"
textshadow="1" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0"
css="text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:14px;"
html=""
/>
<hotspot name="imagezoom2icone" url="images/zoomicon.png" style="draghotspot|tooltip" tooltip="Afficher une image zoomée" ath="-169.164" atv="-27.066" scale="1" zorder="-1" onclick="flyin( zoombild2 );" />
Alles anzeigen
So I'm looking for a solution that will ALWAYS show my tooltips, hope you can Help me.
Thanks for your help. :)