|
|
Quellcode |
1 |
tooltips_hotspots="true" |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<!-- skin_tooltip - style for the thumb, hotspot and mapspot tooltips -->
<style name="skin_tooltips"
onover.mouse="copy(layer[skin_tooltip].html, tooltip);
set(layer[skin_tooltip].visible, calc(webvr.isenabled ? false : true));
tween(layer[skin_tooltip].alpha, 1.0, 0.1);
asyncloop(hovering, copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );"
onout="tween(layer[skin_tooltip].alpha, 0.0, 0.1, default, set(layer[skin_tooltip].visible,false),
copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );"
ondown.touch="copy(layer[skin_tooltip].html, tooltip);
set(layer[skin_tooltip].visible, calc(webvr.isenabled ? false : true));
tween(layer[skin_tooltip].alpha, 1.0, 0.1);
copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey);
delayedcall(tool_delay, 0.2, set(onclick, null));"
onup.touch="stopdelayedcall(tool_delay); onout(); delayedcall(0.1, set(onclick, 'skin_hotspotstyle_click();'));"
/>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Scott Witte« (18. April 2020, 03:09)
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
<!-- skin_tooltip - style for the thumb, hotspot and mapspot tooltips --> <style name="skin_tooltips" onover.mouse="copy(layer[skin_tooltip].html, tooltip); set(layer[skin_tooltip].visible, calc(webvr.isenabled ? false : true)); tween(layer[skin_tooltip].alpha, 1.0, 0.1); asyncloop(hovering, copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );" onout.mouse="tween(layer[skin_tooltip].alpha, 0.0, 0.1, default, set(layer[skin_tooltip].visible,false), copy(layer[skin_tooltip].x,mouse.stagex); copy(layer[skin_tooltip].y,mouse.stagey); );" ondown.touch="copy(hotspot[skin_hstooltip].html, tooltip); set(hotspot[skin_hstooltip].visible, calc(webvr.isenabled ? false : true)); tween(hotspot[skin_hstooltip].alpha, 1.0, 0.1); copy(hotspot[skin_hstooltip].ath, ath); calc(hotspot[skin_hstooltip].atv, atv - 2); delayedcall(tool_delay, 0.2, set(onclick, null));" onup.touch="stopdelayedcall(tool_delay); delayedcall(0.1, set(onclick, 'skin_hotspotstyle_click();')); tween(hotspot[skin_hstooltip].alpha, 0.0, 0.1, default, set(hotspot[skin_hstooltip].visible,false));" /> <layer name="skin_tooltip" keep="true" type="text" parent="STAGE" visible="false" alpha="0" enabled="false" zorder="2" align="lefttop" edge="bottom" oy.desktop="-10" oy.no-desktop="-40" width="200" bg="false" textshadow="get:skin_settings.design_text_shadow" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0" css="calc:skin_settings.design_text_css + ' text-align:center; font-size:16px;'" html="" /> <hotspot name="skin_hstooltip" keep="true" type="text" Xparent="STAGE" visible="false" alpha="0" enabled="false" zorder="2" align="lefttop" edge="bottom" width="200" bg="false" textshadow="get:skin_settings.design_text_shadow" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0" css="calc:skin_settings.design_text_css + ' text-align:center; font-size:16px;'" mipmapping="true" oversampling="2.0" html="" /> |
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
<!-- skin_tooltip - style for the thumb, hotspot and mapspot tooltips -->
<style name="skin_tooltips"
onover.mouse="show_tooltip()"
onout.mouse="hide_tooltip()"
ondown.touch="show_tooltip(); delayedcall(tool_delay, 0.2, set(onclick, null));"
onup.touch="stopdelayedcall(tool_delay); delayedcall(0.1, set(onclick, 'skin_hotspotstyle_click();')); hide_tooltip(); "
/>
<action name="show_tooltip" >
trace("Show Tooltip");
copy(hotspot[skin_tooltip].html, tooltip);
set(hotspot[skin_tooltip].visible, true);
tween(hotspot[skin_tooltip].alpha, 1.0, 0.1);
copy(hotspot[skin_tooltip].ath, ath); calc(hotspot[skin_tooltip].atv, atv - 2);
</action>
<action name="hide_tooltip" >
tween(hotspot[skin_tooltip].alpha, 0.0, 0.1, default, set(hotspot[skin_tooltip].visible,false));
</action>
<!-- the tooltip textfield -->
<hotspot name="skin_tooltip" keep="true"
type="text"
visible="false" alpha="0" enabled="false" zorder="2"
align="lefttop" edge="bottom" width="200"
bg="false"
textshadow="get:skin_settings.design_text_shadow" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0"
css="calc:skin_settings.design_text_css + ' text-align:center; font-size:16px;'"
mipmapping="true" oversampling="2.0"
html=""
/>
|
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Scott Witte« (19. April 2020, 04:04)