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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
<action name="onStartup">
addhotspot(hs);
set(hotspot[hs].scale, 0.5);
set(hotspot[hs].zoom, false);
set(hotspot[hs].height, 'prop');
set(hotspot[hs].zorder, 10);
set(hotspot[hs].alpha, 0);
set(hotspot[hs].enabled, true);
tween(hotspot[hs].alpha, 1, 1);
set(hotspot[hs].ath, -63.26);
set(hotspot[hs].atv, -5.12);
set(hotspot[hs].url, 'tag.png');
set(hotspot[hs].onout, onTagOut(hs, 'hs'));
set(hotspot[hs].onover, onTagOver(hs, 'hs'));
</action>
<action name="onTagOut">
trace('onTagOut: ', %1);
txtadd(tag_hover, 'th_', %1);
removeplugin(get(tag_hover));
trace('removing hover: ', get(tag_hover));
set(hotspot[%1].zorder,10);
</action>
<action name="onTagOver">
trace('onTagOver: ', %1);
txtadd(tag_hover, 'th_', %1);
trace('creating hover: ', get(tag_hover));
addplugin(get(tag_hover));
set(plugin[get(tag_hover)].url,"%HTMLPATH%/assets/swf/plugins/textfield.swf");
set(plugin[get(tag_hover)].css,"text-align:left; vertical-align:top; color:#000000; font-family:Arial; font-size:18px;background-color:#ffffff;border-radius: 5px;padding-top:10px;padding-bottom:40px;padding-left:76px;padding-right:10px;min-width:204px;");
set(plugin[get(tag_hover)].html,"someone");
set(plugin[get(tag_hover)].align,top);
set(plugin[get(tag_hover)].x,0);
set(plugin[get(tag_hover)].y,35);
set(plugin[get(tag_hover)].enabled,true);
set(plugin[get(tag_hover)].alpha,1);
set(plugin[get(tag_hover)].scale,1);
set(plugin[get(tag_hover)].autosize,left);
set(plugin[get(tag_hover)].autowidth,true);
set(plugin[get(tag_hover)].wordwrap,false);
set(plugin[get(tag_hover)].height,50);
set(plugin[get(tag_hover)].background, false);
set(plugin[get(tag_hover)].visible,true);
set(plugin[get(tag_hover)].border,false);
set(plugin[get(tag_hover)].parent, hotspot[%1]);
set(plugin[get(tag_hover)].html, %2);
set(hotspot[%1].zorder, 11);
</action>
|