You are not logged in.

1

Friday, August 20th 2010, 6:57pm

help, hotspots

How do an action that displays or hides all hotspots present on the screen?


*unsure*

2

Friday, August 20th 2010, 7:45pm

Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<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>


There may be a more classy way, but this should do it as well.
0100011101101100011001010110100101100011 0110100000100000011010110110110001100001 0111010001110011011000110110100001110100 0110010101110100001011000010000001001010 0111010101101110011001110110010100101110 0010000001000101011000110110100001110100 0010000001101010011001010111010001111010 0111010000101110

3

Friday, August 20th 2010, 8:52pm

but I would do this without knowing the hotspots...

4

Friday, August 20th 2010, 10:30pm

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);

5

Saturday, August 21st 2010, 5:40am

humm, thanks *cool*