How do an action that displays or hides all hotspots present on the screen?
![]()
How do an action that displays or hides all hotspots present on the screen?
![]()
<action name="showhotspots">
tween(hotspot[hs1].fillalpha,0.1,0.2);
tween(hotspot[hs1].borderwidth,4,0.2);
tween(hotspot[hs1].borderalpha,0.8,0.2);
tween(hotspot[hs2].fillalpha,0.1,0.2);
tween(hotspot[hs2].borderwidth,4,0.2);
tween(hotspot[hs2].borderalpha,0.8,0.2);
tween(hotspot[hs3].fillalpha,0.1,0.2);
tween(hotspot[hs3].borderwidth,4,0.2);
tween(hotspot[hs3].borderalpha,0.8,0.2);
</action>
Display More
There may be a more classy way, but this should do it as well.
but I would do this without knowing the hotspots...
check out this post. I think it holds the answers you seek.
turning individual hotspots on and off
and look at this code
switch(hotspot.visible);
humm, thanks ![]()
Don’t have an account yet? Register yourself now and be a part of our community!