You need to make an action that counts all the hotspots and make the visible/ invisble, or any other change.
the could should be something like :
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<action name="yourCallingAction">
<!-- make hotspots invisible -->
toggleHotspotVisibility(0);
<!-- make hotspots visible -->
toggleHotspotVisibility(1);
</action>
<action name="toggleHotspotVisibility">
for(set(i,0), i LT hotspot.count, inc(i),
set(hotspot[get(i)].visible, %1);
);
</action>
|