|
@@ -45,16 +45,17 @@
|
|
|
|
|
|
if(%2 == 0,
|
|
|
txtreplace(iconUrl,'.svg','.png');
|
|
|
- trace('system::',get(iconUrl));
|
|
|
set(hotspot[get(hsp_name)].url,get(iconUrl));
|
|
|
set(hotspot[get(hsp_name)].frameNumber,60);
|
|
|
set(hotspot[get(hsp_name)].duration,1);
|
|
|
set(hotspot[get(hsp_name)].frameRate,calc(1.0 / 60));
|
|
|
set(hotspot[get(hsp_name)].framewidth,84);
|
|
|
);
|
|
|
-
|
|
|
+ if(%2 == 1,
|
|
|
+ set(hotspot[get(hsp_name)].url,get(iconUrl));
|
|
|
+ set(hotspot[get(hsp_name)].animatiedOn,0);
|
|
|
+ );
|
|
|
if(%2 == 2,
|
|
|
- trace('ser_frame::',get(framewidth));
|
|
|
set(hotspot[get(hsp_name)].url,get(iconUrl));
|
|
|
set(hotspot[get(hsp_name)].framewidth,get(framewidth));
|
|
|
set(hotspot[get(hsp_name)].frameNumber,get(frameNumber));
|
|
@@ -62,15 +63,14 @@
|
|
|
);
|
|
|
|
|
|
<!-- 个性化标签(3) -->
|
|
|
- if(%2 == 3,
|
|
|
-
|
|
|
+ if(%2 == 3,
|
|
|
set(hotspot[get(hsp_name)].height,80);
|
|
|
set(hotspot[get(hsp_name)].width,1);
|
|
|
set(hotspot[get(hsp_name)].padding,0);
|
|
|
set(hotspot[get(hsp_name)].background,false);
|
|
|
txtadd(line,'<div style="background-color: ',get(borderColor),';width:1px;height:80px;"></div>');
|
|
|
copy(hotspot[get(hsp_name)].html,line);
|
|
|
- <!-- txtadd(hotspot[get(hsp_name)].onloaded,"add_tooltip_label();add_tooltip_dot();"); -->
|
|
|
+
|
|
|
set_label_dir(get(hsp_name),get(lineDirection),0);
|
|
|
);
|
|
|
|
|
@@ -423,7 +423,7 @@
|
|
|
txtadd(iconUrl,'',%4);
|
|
|
txtreplace(iconUrl,'|',',');
|
|
|
jsget(timestamp,'Date.now();');
|
|
|
- set(iconUrl,get(calc(iconUrl +'?'+ timestamp)));
|
|
|
+
|
|
|
trace('iconUrl::',iconUrl);
|
|
|
set(hotspot[get(hsp_name)].height,%8);
|
|
|
set(hotspot[get(hsp_name)].width,%8);
|
|
@@ -441,6 +441,7 @@
|
|
|
|
|
|
if(get(hsp_type) == 0,
|
|
|
txtreplace(iconUrl,'.svg','.png');
|
|
|
+ set(iconUrl,get(calc(iconUrl +'?'+ timestamp)));
|
|
|
set(hotspot[get(hsp_name)].animatiedOn,1);
|
|
|
set(hotspot[get(hsp_name)].framewidth,84);
|
|
|
set(hotspot[get(hsp_name)].frameRate,calc( 1.0 / 60));
|
|
@@ -454,6 +455,7 @@
|
|
|
if(get(hsp_type) == 2,
|
|
|
<!-- set(hotspot[get(hsp_name)].animatiedOn,1); -->
|
|
|
<!-- delayedcall(0.2,set(hotspot[get(hsp_name)].animatiedOn,1);); -->
|
|
|
+ set(iconUrl,get(calc(iconUrl +'?'+ timestamp)));
|
|
|
set(hotspot[get(hsp_name)].visible,true);
|
|
|
calc(frameRate, duration / frameNumber);
|
|
|
|