You are not logged in.

1

Friday, March 10th 2017, 9:59pm

Action for multiple hotspots

I've worked out a tween action that works great for a single hotspot, but if I wanted it to work with multiple hot spots, how can I modify?

Source code

1
	<action name ="onover">	tween(hotspot[hs2].alpha,1);	</action>		<action name="onout">	tween(hotspot[hs2].alpha,0);	</action>

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

2

Friday, March 10th 2017, 10:32pm

Try with styles:

Source code

1
2
3
<style name="your_style" keep="true" onover="tween(alpha,1);" onout="tween(alpha,0);" />	
<hotspot name="hs_1" style="your_style" ath="1" atv="45" . . . ./>
<hotspot name="hs_1" style="your_style" ath="10" atv="25" . . . ./>

3

Monday, March 13th 2017, 2:47pm

Thank you.

Umalo

Professional

Posts: 1,047

Location: Osijek, Croatia, EU

  • Send private message

4

Monday, March 13th 2017, 3:01pm

*thumbup*