Code
<action name="hbacuoanivja" autorun="onstart">
addlayer(calc('addlayer' + 'wgyasybcclva'));
set(layer[calc('addlayer' + 'wgyasybcclva')],
type=container,
keep=true,
visible=true,
bgalpha=1.0,
bgcolor=0x000000,
width=100,
height=100,
y=0,
align=top,
handcursor=true,
bgcapture=true,
tooltip=Shavadika,
);
layer[calc('addlayer' + 'wgyasybcclva')].loadstyle('layer_tooltip');
</action>
<style name="layer_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); );"
ondown.touch="
asyncloop(pressed,
copy(layer[tooltip].html, tooltip);
set(layer[tooltip].visible, true);
tween(layer[tooltip].alpha, 1.0, 0.5);
copy(layer[tooltip].x,mouse.stagex);
copy(layer[tooltip].y,mouse.stagey);
);"
onup.touch="
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);
);"/>
<layer name="tooltip" keep="true"
type="text"
parent="STAGE"
visible="false" alpha="0"
enabled="false"
align="lefttop"
edge="bottom"
oy="-2"
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=""/>
Display More
onup.touch
If you use it, you ca n’t use it
ondown.touch