|
@@ -1169,23 +1169,6 @@
|
|
|
mouse.stagex, hotspotcenterx); sub(drag_adjusty, mouse.stagey, hotspotcentery); asyncloop(pressed, sub(dx,
|
|
|
mouse.stagex, drag_adjustx); sub(dy, mouse.stagey, drag_adjusty); screentosphere(dx, dy, ath, atv); );
|
|
|
</action>
|
|
|
-
|
|
|
- <!-- the action for dragging the layer elements - call it once in the ondown event -->
|
|
|
- <action name="draglayer">
|
|
|
- copy(drag_currentx, x);
|
|
|
- copy(drag_currenty, y);
|
|
|
- copy(drag_stagex, mouse.stagex);
|
|
|
- copy(drag_stagey, mouse.stagey);
|
|
|
- indexoftxt(align_contains_right, get(align), 'right');
|
|
|
- indexoftxt(align_contains_bottom, get(align), 'bottom');
|
|
|
- calc(drag_align_x, align_contains_right GE 0 ? -1 : +1);
|
|
|
- calc(drag_align_y, align_contains_bottom GE 0 ? -1 : +1);
|
|
|
- asyncloop(pressed,
|
|
|
- calc(x, drag_currentx + (mouse.stagex - drag_stagex)*drag_align_x);
|
|
|
- calc(y, drag_currenty + (mouse.stagey - drag_stagey)*drag_align_y);
|
|
|
- );
|
|
|
- </action>
|
|
|
-
|
|
|
<layer name="tour_guide_alert" url="" keep="true" align="center" edge="center" x="0" y="0" maxwidth="100%"
|
|
|
maxheight="100%" enabled="false" visible="false"/>
|
|
|
<action name="show_tour_guide_alert">set(layer[tour_guide_alert].url,%1); set(layer[tour_guide_alert].visible,true);
|
|
@@ -1303,56 +1286,16 @@
|
|
|
if(lhotspot.hsvrfalse, set(lhotspot.visible,true); ); if(lhotspot.hsvrtrue, set(lhotspot.visible,false); ); );
|
|
|
</action>
|
|
|
|
|
|
- <!-- 无背景热点 -->
|
|
|
- <action name="addImgTextHotSpotWithoutBg">
|
|
|
- set(schp_name,%2);
|
|
|
+
|
|
|
+
|
|
|
|
|
|
+ <action name="editImgTextHotSpot">
|
|
|
+ set(schp_name,%2);
|
|
|
set(hotspot[get(schp_name)].url,%1);
|
|
|
- set(hotspot[get(schp_name)].ath,%4);
|
|
|
- set(hotspot[get(schp_name)].atv,%5);
|
|
|
set(hotspot[get(schp_name)].hotspottitle,%3);
|
|
|
- set(hotspot[get(schp_name)].wordcontent,%9);
|
|
|
- set(hotspot[get(schp_name)].hotspotlink,%8);
|
|
|
- set(hotspot[get(schp_name)].alpha,1);
|
|
|
- set(hotspot[get(schp_name)].scale,1);
|
|
|
- set(hotspot[get(schp_name)].autoalpha,false);
|
|
|
- set(hotspot[get(schp_name)].distorted,false);
|
|
|
- set(hotspot[get(schp_name)].width,'prop');
|
|
|
- set(hotspot[get(schp_name)].height,34);
|
|
|
- if(device.mobile,set(hotspot[get(schp_name)].height,30));
|
|
|
- set(hotspot[get(schp_name)].visible,true);
|
|
|
- set(hotspot[get(schp_name)].onhover,showtext(get(hotspottitle),skintext));
|
|
|
- addhotspot(get(schp_name));
|
|
|
- set(hotspot[get(schp_name)].onclick,'js(__krfn.utils.linkopen(%8,%2));');
|
|
|
-
|
|
|
- if(%7 == false,
|
|
|
- ,
|
|
|
- set(hotspot[get(schp_name)].ondown,draghotspot(););
|
|
|
- set(hotspot[get(schp_name)].onup,js(__krfn.angle.updateHotSpotData(get(xml.scene),get(name),get(ath),get(atv),"imgtext")));
|
|
|
- );
|
|
|
-
|
|
|
- if(%6 == '1',
|
|
|
- txtadd(hotspot[get(schp_name)].onloaded,"do_crop_animation(60,60, 30);");
|
|
|
- );
|
|
|
-
|
|
|
- txtadd(hotspot[get(schp_name)].onloaded,"add_all_the_time_tooltip_withoutBg(hotspot[get(name)].hotspottitle);");
|
|
|
- set(hotspot[get(schp_name)].onhover,null);
|
|
|
- set(hotspot[get(schp_name)].onout,null);
|
|
|
- set(hotspot[get(schp_name)].onover,null);
|
|
|
-
|
|
|
-
|
|
|
- txtadd(tooltipname, 'tooltip_', get(schp_name));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].onclick,'js(__krfn.utils.linkopen(%8,%2));');
|
|
|
-
|
|
|
- if(%10 == true,
|
|
|
- set(plugin[get(tooltipname)].visible,true);,
|
|
|
- set(plugin[get(tooltipname)].visible,false);
|
|
|
- );
|
|
|
-
|
|
|
- </action>
|
|
|
+ set(hotspot[get(schp_name)].hotspotlink,%4);
|
|
|
+ </action>
|
|
|
|
|
|
- <!-- 有背景热点 -->
|
|
|
<action name="addImgTextHotSpot">
|
|
|
set(schp_name,%2);
|
|
|
|
|
@@ -1367,12 +1310,12 @@
|
|
|
set(hotspot[get(schp_name)].autoalpha,false);
|
|
|
set(hotspot[get(schp_name)].distorted,false);
|
|
|
set(hotspot[get(schp_name)].width,'prop');
|
|
|
- set(hotspot[get(schp_name)].height,34);
|
|
|
- if(device.mobile,set(hotspot[get(schp_name)].height,30));
|
|
|
+ set(hotspot[get(schp_name)].height,'50');
|
|
|
set(hotspot[get(schp_name)].visible,true);
|
|
|
set(hotspot[get(schp_name)].onhover,showtext(get(hotspottitle),skintext));
|
|
|
addhotspot(get(schp_name));
|
|
|
set(hotspot[get(schp_name)].onclick,'js(__krfn.utils.linkopen(%8,%2));');
|
|
|
+ if(device.mobile,set(hotspot[get(schp_name)].scale,0.8));
|
|
|
|
|
|
if(%7 == false,
|
|
|
,
|
|
@@ -1381,7 +1324,7 @@
|
|
|
);
|
|
|
|
|
|
if(%6 == '1',
|
|
|
- txtadd(hotspot[get(schp_name)].onloaded,"do_crop_animation(56,56, 30);");
|
|
|
+ txtadd(hotspot[get(schp_name)].onloaded,"do_crop_animation(60,60, 30);");
|
|
|
);
|
|
|
|
|
|
txtadd(hotspot[get(schp_name)].onloaded,"add_all_the_time_tooltip(hotspot[get(name)].hotspottitle);");
|
|
@@ -1389,101 +1332,6 @@
|
|
|
set(hotspot[get(schp_name)].onout,null);
|
|
|
set(hotspot[get(schp_name)].onover,null);
|
|
|
|
|
|
- txtadd(tooltipname, 'tooltip_', get(schp_name));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].onclick,'js(__krfn.utils.linkopen(%8,%2));');
|
|
|
-
|
|
|
- if(%10 == true,
|
|
|
- set(plugin[get(tooltipname)].visible,true);,
|
|
|
- set(plugin[get(tooltipname)].visible,false);
|
|
|
- );
|
|
|
-
|
|
|
- </action>
|
|
|
-
|
|
|
- <!-- 线段热点 -->
|
|
|
- <action name="addLineTxtHotSpot">
|
|
|
- set(schp_name,%2);
|
|
|
-
|
|
|
- set(hotspot[get(schp_name)].url,%1);
|
|
|
- set(hotspot[get(schp_name)].ath,%4);
|
|
|
- set(hotspot[get(schp_name)].atv,%5);
|
|
|
- set(hotspot[get(schp_name)].hotspottitle,%3);
|
|
|
- set(hotspot[get(schp_name)].wordcontent,%9);
|
|
|
- set(hotspot[get(schp_name)].hotspotlink,%8);
|
|
|
- set(hotspot[get(schp_name)].alpha,1);
|
|
|
- set(hotspot[get(schp_name)].scale,1);
|
|
|
- set(hotspot[get(schp_name)].autoalpha,false);
|
|
|
- set(hotspot[get(schp_name)].distorted,false);
|
|
|
- set(hotspot[get(schp_name)].width,'prop');
|
|
|
- set(hotspot[get(schp_name)].height,34);
|
|
|
- if(device.mobile,set(hotspot[get(schp_name)].height,30));
|
|
|
- set(hotspot[get(schp_name)].visible,true);
|
|
|
- set(hotspot[get(schp_name)].onhover,showtext(get(hotspottitle),skintext));
|
|
|
- addhotspot(get(schp_name));
|
|
|
- set(hotspot[get(schp_name)].onclick,'js(__krfn.utils.linkopen(%8,%2));');
|
|
|
-
|
|
|
- if(%7 == false,
|
|
|
- ,
|
|
|
- set(hotspot[get(schp_name)].ondown,draghotspot(););
|
|
|
- set(hotspot[get(schp_name)].onup,js(__krfn.angle.updateHotSpotData(get(xml.scene),get(name),get(ath),get(atv),"imgtext")));
|
|
|
- );
|
|
|
-
|
|
|
- if(%6 == true,
|
|
|
- txtadd(hotspot[get(schp_name)].onloaded,"add_all_the_time_tooltip_lineTxt_l(hotspot[get(name)].hotspottitle);");,
|
|
|
- txtadd(hotspot[get(schp_name)].onloaded,"add_all_the_time_tooltip_lineTxt_r(hotspot[get(name)].hotspottitle);");
|
|
|
- );
|
|
|
-
|
|
|
- set(hotspot[get(schp_name)].onhover,null);
|
|
|
- set(hotspot[get(schp_name)].onout,null);
|
|
|
- set(hotspot[get(schp_name)].onover,null);
|
|
|
-
|
|
|
- txtadd(tooltipname, 'tooltip_', get(schp_name));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].onclick,'js(__krfn.utils.linkopen(%8,%2));');
|
|
|
-
|
|
|
- if(%10 == true,
|
|
|
- set(plugin[get(tooltipname)].visible,true);,
|
|
|
- set(plugin[get(tooltipname)].visible,false);
|
|
|
- );
|
|
|
-
|
|
|
- </action>
|
|
|
-
|
|
|
- <!-- 线段热点(背景) -->
|
|
|
- <action name="addLineTxtHotSpotWithBg">
|
|
|
- set(schp_name,%2);
|
|
|
-
|
|
|
- set(hotspot[get(schp_name)].url,%1);
|
|
|
- set(hotspot[get(schp_name)].ath,%4);
|
|
|
- set(hotspot[get(schp_name)].atv,%5);
|
|
|
- set(hotspot[get(schp_name)].hotspottitle,%3);
|
|
|
- set(hotspot[get(schp_name)].wordcontent,%9);
|
|
|
- set(hotspot[get(schp_name)].hotspotlink,%8);
|
|
|
- set(hotspot[get(schp_name)].alpha,1);
|
|
|
- set(hotspot[get(schp_name)].scale,1);
|
|
|
- set(hotspot[get(schp_name)].autoalpha,false);
|
|
|
- set(hotspot[get(schp_name)].distorted,false);
|
|
|
- set(hotspot[get(schp_name)].width,'prop');
|
|
|
- set(hotspot[get(schp_name)].height,34);
|
|
|
- if(device.mobile,set(hotspot[get(schp_name)].height,30));
|
|
|
- set(hotspot[get(schp_name)].visible,true);
|
|
|
- set(hotspot[get(schp_name)].onhover,showtext(get(hotspottitle),skintext));
|
|
|
- addhotspot(get(schp_name));
|
|
|
- set(hotspot[get(schp_name)].onclick,'js(__krfn.utils.linkopen(%8,%2));');
|
|
|
-
|
|
|
- if(%7 == false,
|
|
|
- ,
|
|
|
- set(hotspot[get(schp_name)].ondown,draghotspot(););
|
|
|
- set(hotspot[get(schp_name)].onup,js(__krfn.angle.updateHotSpotData(get(xml.scene),get(name),get(ath),get(atv),"imgtext")));
|
|
|
- );
|
|
|
-
|
|
|
- if(%6 == true,
|
|
|
- txtadd(hotspot[get(schp_name)].onloaded,"add_all_the_time_tooltip_lineTxt_l_withbg(hotspot[get(name)].hotspottitle);");,
|
|
|
- txtadd(hotspot[get(schp_name)].onloaded,"add_all_the_time_tooltip_lineTxt_r_withbg(hotspot[get(name)].hotspottitle);");
|
|
|
- );
|
|
|
-
|
|
|
- set(hotspot[get(schp_name)].onhover,null);
|
|
|
- set(hotspot[get(schp_name)].onout,null);
|
|
|
- set(hotspot[get(schp_name)].onover,null);
|
|
|
|
|
|
txtadd(tooltipname, 'tooltip_', get(schp_name));
|
|
|
|
|
@@ -1505,197 +1353,15 @@
|
|
|
set(plugin[get(tooltipname)].x,0);
|
|
|
set(plugin[get(tooltipname)].y,0);
|
|
|
set(plugin[get(tooltipname)].autowidth,true);
|
|
|
- set(plugin[get(tooltipname)].height,34);
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].height,30));
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].scale,1));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].background,false);
|
|
|
- set(plugin[get(tooltipname)].style,rrdius);
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].vcenter,true);
|
|
|
- set(plugin[get(tooltipname)].border,false);
|
|
|
- set(plugin[get(tooltipname)].borderwidth,1);
|
|
|
- set(plugin[get(tooltipname)].bordercolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].borderalpha,0.2);
|
|
|
- set(plugin[get(tooltipname)].glow,0);
|
|
|
- set(plugin[get(tooltipname)].glowcolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].css,'display:flex;align-items:center;padding:5px 10px 5px 2px;margin:0;
|
|
|
- text-align:center;background:rgb(0 0 0 / 60%);position: relative;left: 0px;width:100%;height:100%;
|
|
|
- border-bottom-right-radius:4px;border-top-right-radius:4px; color:#FFFFFF;
|
|
|
- font-family:STXihei; font-size:13px;');
|
|
|
- if(device.mobile,
|
|
|
- set(plugin[get(tooltipname)].css,'display:flex;align-items:center;padding:0 10px 0 2px;margin:0;
|
|
|
- text-align:center;background:rgb(0 0 0 / 60%);width:100%;height:100%;
|
|
|
- border-bottom-right-radius:4px;border-top-right-radius:4px; color:#FFFFFF;
|
|
|
- font-family:STXihei; font-size:14px;'););
|
|
|
- set(plugin[get(tooltipname)].textshadow,0);
|
|
|
- set(plugin[get(tooltipname)].textshadowrange,6.0);
|
|
|
- set(plugin[get(tooltipname)].textshadowangle,90);
|
|
|
- if(text ==
|
|
|
- '' OR text === null, copy(plugin[get(tooltipname)].html,%1), copy(plugin[get(tooltipname)].html,text) );
|
|
|
- set(plugin[get(tooltipname)].enabled,true);
|
|
|
- </action>
|
|
|
-
|
|
|
- <action name="add_all_the_time_tooltip_withoutBg">
|
|
|
- txtadd(tooltipname, 'tooltip_', get(name)); addplugin(get(tooltipname));
|
|
|
- txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');
|
|
|
- set(plugin[get(tooltipname)].url,'%SWFPATH%/plugins/textfield.swf');
|
|
|
- set(plugin[get(tooltipname)].align,right);
|
|
|
- set(plugin[get(tooltipname)].edge,left);
|
|
|
- set(plugin[get(tooltipname)].x,0);
|
|
|
- set(plugin[get(tooltipname)].y,0);
|
|
|
- set(plugin[get(tooltipname)].autowidth,true);
|
|
|
- set(plugin[get(tooltipname)].height,36);
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].scale,0.7));
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].height,48));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].background,false);
|
|
|
- set(plugin[get(tooltipname)].roundedge,5);
|
|
|
- set(plugin[get(tooltipname)].padding,0);
|
|
|
- set(plugin[get(tooltipname)].vcenter,true);
|
|
|
- set(plugin[get(tooltipname)].border,false);
|
|
|
- set(plugin[get(tooltipname)].borderwidth,1);
|
|
|
- set(plugin[get(tooltipname)].bordercolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].borderalpha,0.2);
|
|
|
- set(plugin[get(tooltipname)].glow,0);
|
|
|
- set(plugin[get(tooltipname)].glowcolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:STXihei; font-size:14px;');
|
|
|
- if(device.mobile,
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF;
|
|
|
- font-family:STXihei; font-size:14px;'); );
|
|
|
- set(plugin[get(tooltipname)].textshadow,0);
|
|
|
- set(plugin[get(tooltipname)].textshadowrange,6.0);
|
|
|
- set(plugin[get(tooltipname)].textshadowangle,90);
|
|
|
- if(text ==
|
|
|
- '' OR text === null, copy(plugin[get(tooltipname)].html,%1), copy(plugin[get(tooltipname)].html,text) );
|
|
|
- set(plugin[get(tooltipname)].enabled,true);
|
|
|
- </action>
|
|
|
-
|
|
|
- <action name="add_all_the_time_tooltip_lineTxt_l">
|
|
|
- txtadd(tooltipname, 'tooltip_', get(name)); addplugin(get(tooltipname));
|
|
|
- txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');
|
|
|
- set(plugin[get(tooltipname)].url,'%SWFPATH%/plugins/textfield.swf');
|
|
|
- set(plugin[get(tooltipname)].align,center);
|
|
|
- set(plugin[get(tooltipname)].edge,center);
|
|
|
- set(plugin[get(tooltipname)].x,-20);
|
|
|
- set(plugin[get(tooltipname)].y,-80%);
|
|
|
- set(plugin[get(tooltipname)].autowidth,true);
|
|
|
- set(plugin[get(tooltipname)].height,34);
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].height,30));
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].scale,1));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].background,false);
|
|
|
- set(plugin[get(tooltipname)].style,rrdius);
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].vcenter,true);
|
|
|
- set(plugin[get(tooltipname)].border,false);
|
|
|
- set(plugin[get(tooltipname)].borderwidth,1);
|
|
|
- set(plugin[get(tooltipname)].bordercolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].borderalpha,0.2);
|
|
|
- set(plugin[get(tooltipname)].glow,0);
|
|
|
- set(plugin[get(tooltipname)].glowcolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:STXihei; font-size:14px;');
|
|
|
- if(device.mobile,
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF;
|
|
|
- font-family:STXihei; font-size:14px;'); );
|
|
|
- set(plugin[get(tooltipname)].textshadow,0);
|
|
|
- set(plugin[get(tooltipname)].textshadowrange,6.0);
|
|
|
- set(plugin[get(tooltipname)].textshadowangle,90);
|
|
|
- if(text ==
|
|
|
- '' OR text === null, copy(plugin[get(tooltipname)].html,%1), copy(plugin[get(tooltipname)].html,text) );
|
|
|
- set(plugin[get(tooltipname)].enabled,true);
|
|
|
- </action>
|
|
|
-
|
|
|
- <action name="add_all_the_time_tooltip_lineTxt_l_withbg">
|
|
|
- txtadd(tooltipname, 'tooltip_', get(name)); addplugin(get(tooltipname));
|
|
|
- txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');
|
|
|
- set(plugin[get(tooltipname)].url,'%SWFPATH%/plugins/textfield.swf');
|
|
|
- set(plugin[get(tooltipname)].align,center);
|
|
|
- set(plugin[get(tooltipname)].edge,center);
|
|
|
- set(plugin[get(tooltipname)].x,-20);
|
|
|
- set(plugin[get(tooltipname)].y,-100%);
|
|
|
- set(plugin[get(tooltipname)].autowidth,true);
|
|
|
set(plugin[get(tooltipname)].height,36);
|
|
|
if(device.mobile,set(plugin[get(tooltipname)].scale,0.7));
|
|
|
if(device.mobile,set(plugin[get(tooltipname)].height,48));
|
|
|
|
|
|
set(plugin[get(tooltipname)].background,true);
|
|
|
set(plugin[get(tooltipname)].backgroundcolor,0x000000);
|
|
|
- set(plugin[get(tooltipname)].roundedge,8);
|
|
|
- set(plugin[get(tooltipname)].backgroundalpha,0.6);
|
|
|
- set(plugin[get(tooltipname)].padding,0 10);
|
|
|
- set(plugin[get(tooltipname)].vcenter,true);
|
|
|
- set(plugin[get(tooltipname)].border,true);
|
|
|
- set(plugin[get(tooltipname)].borderwidth,1);
|
|
|
- set(plugin[get(tooltipname)].bordercolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].borderalpha,0.2);
|
|
|
- set(plugin[get(tooltipname)].glow,0);
|
|
|
- set(plugin[get(tooltipname)].glowcolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:STXihei; font-size:14px;');
|
|
|
- if(device.mobile,
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF;
|
|
|
- font-family:STXihei; font-size:14px;'); );
|
|
|
- set(plugin[get(tooltipname)].textshadow,0);
|
|
|
- set(plugin[get(tooltipname)].textshadowrange,6.0);
|
|
|
- set(plugin[get(tooltipname)].textshadowangle,90);
|
|
|
- if(text ==
|
|
|
- '' OR text === null, copy(plugin[get(tooltipname)].html,%1), copy(plugin[get(tooltipname)].html,text) );
|
|
|
- set(plugin[get(tooltipname)].enabled,true);
|
|
|
- </action>
|
|
|
-
|
|
|
- <action name="add_all_the_time_tooltip_lineTxt_r">
|
|
|
- txtadd(tooltipname, 'tooltip_', get(name)); addplugin(get(tooltipname));
|
|
|
- txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');
|
|
|
- set(plugin[get(tooltipname)].url,'%SWFPATH%/plugins/textfield.swf');
|
|
|
- set(plugin[get(tooltipname)].align,center);
|
|
|
- set(plugin[get(tooltipname)].edge,center);
|
|
|
- set(plugin[get(tooltipname)].x,20);
|
|
|
- set(plugin[get(tooltipname)].y,-80%);
|
|
|
- set(plugin[get(tooltipname)].autowidth,true);
|
|
|
- set(plugin[get(tooltipname)].height,34);
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].height,30));
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].scale,1));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].background,false);
|
|
|
- set(plugin[get(tooltipname)].style,rrdius);
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].vcenter,true);
|
|
|
- set(plugin[get(tooltipname)].border,false);
|
|
|
- set(plugin[get(tooltipname)].borderwidth,1);
|
|
|
- set(plugin[get(tooltipname)].bordercolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].borderalpha,0.2);
|
|
|
- set(plugin[get(tooltipname)].glow,0);
|
|
|
- set(plugin[get(tooltipname)].glowcolor,0xFFFFFF);
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:STXihei; font-size:14px;');
|
|
|
- if(device.mobile,
|
|
|
- set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF;
|
|
|
- font-family:STXihei; font-size:14px;'); );
|
|
|
- set(plugin[get(tooltipname)].textshadow,0);
|
|
|
- set(plugin[get(tooltipname)].textshadowrange,6.0);
|
|
|
- set(plugin[get(tooltipname)].textshadowangle,90);
|
|
|
- if(text ==
|
|
|
- '' OR text === null, copy(plugin[get(tooltipname)].html,%1), copy(plugin[get(tooltipname)].html,text) );
|
|
|
- set(plugin[get(tooltipname)].enabled,true);
|
|
|
- </action>
|
|
|
-
|
|
|
- <action name="add_all_the_time_tooltip_lineTxt_r_withbg">
|
|
|
- txtadd(tooltipname, 'tooltip_', get(name)); addplugin(get(tooltipname));
|
|
|
- txtadd(plugin[get(tooltipname)].parent, 'hotspot[', get(name), ']');
|
|
|
- set(plugin[get(tooltipname)].url,'%SWFPATH%/plugins/textfield.swf');
|
|
|
- set(plugin[get(tooltipname)].align,center);
|
|
|
- set(plugin[get(tooltipname)].edge,center);
|
|
|
- set(plugin[get(tooltipname)].x,20);
|
|
|
- set(plugin[get(tooltipname)].y,-100%);
|
|
|
- set(plugin[get(tooltipname)].autowidth,true);
|
|
|
- set(plugin[get(tooltipname)].height,36);
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].scale,0.7));
|
|
|
- if(device.mobile,set(plugin[get(tooltipname)].height,48));
|
|
|
-
|
|
|
- set(plugin[get(tooltipname)].background,true);
|
|
|
- set(plugin[get(tooltipname)].backgroundcolor,0x000000);
|
|
|
- set(plugin[get(tooltipname)].roundedge,8);
|
|
|
- set(plugin[get(tooltipname)].backgroundalpha,0.6);
|
|
|
- set(plugin[get(tooltipname)].padding,0 10);
|
|
|
+ set(plugin[get(tooltipname)].roundedge,5);
|
|
|
+ set(plugin[get(tooltipname)].backgroundalpha,0.7);
|
|
|
+ set(plugin[get(tooltipname)].padding,5);
|
|
|
set(plugin[get(tooltipname)].vcenter,true);
|
|
|
set(plugin[get(tooltipname)].border,true);
|
|
|
set(plugin[get(tooltipname)].borderwidth,1);
|
|
@@ -1706,7 +1372,7 @@
|
|
|
set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF; font-family:STXihei; font-size:14px;');
|
|
|
if(device.mobile,
|
|
|
set(plugin[get(tooltipname)].css,'text-align:center; color:#FFFFFF;
|
|
|
- font-family:STXihei; font-size:14px;'); );
|
|
|
+ font-family:STXihei; font-weight:bold; font-size:14px;'); );
|
|
|
set(plugin[get(tooltipname)].textshadow,0);
|
|
|
set(plugin[get(tooltipname)].textshadowrange,6.0);
|
|
|
set(plugin[get(tooltipname)].textshadowangle,90);
|
|
@@ -1714,8 +1380,6 @@
|
|
|
'' OR text === null, copy(plugin[get(tooltipname)].html,%1), copy(plugin[get(tooltipname)].html,text) );
|
|
|
set(plugin[get(tooltipname)].enabled,true);
|
|
|
</action>
|
|
|
-
|
|
|
-
|
|
|
<layer name="mapcontainer" keep="true" type="container" bgcolor="0x000000" bgalpha="0.2" align="righttop" x="95"
|
|
|
y="0" width="400" height="300" visible="false">
|
|
|
<!-- <layer name="map" url="" align="center" x="0" y="0" width="392" height="292" handcursor="false"
|