View Full Version : one hotspot = 2 actions
clodomi
07-18-2007, 10:48 AM
Hello, i haven't find here how to make an hotspot with 2 actions: one action for the first click, and a different action for the second click on the same hotspot... It will helpfull for me. Thanks for help.
I haven't Flash CS3, only MX 2004.
jaaaab
07-18-2007, 11:30 AM
hi
hope this helps :)
++
<spot id="map" url="plan.jpg" scaleable="0" align="LB" salign="LB" static="1" staticX="0" staticY="-84"
onClick="Close"
Close="
map.staticX-=200,500,smooth;
onClick=Open;
"
Open="
map.staticX+=200,500,smooth;
onClick=Close;
"
/>
clodomi
07-20-2007, 09:14 PM
Thanks a lot JaAaAb,
I will try your script soon as possible...
I tried and it works nice, Thanks again Jaaaaab
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.