Hi
Ok - been going strong for the last 3 days doing my first virtual tour and i think I've read all the docs and forum threads, my head is full of info, my text editor is full of example xmls, but i still dont seem to be able to do something as simple as making an image appear smoothly when a Hotspot is clicked, and disappear smoothly when the image is clicked. I found a recent thread making an image appear dynamicly, but without a smooth transition, and i didn't manage to remove the said image when clicked !
So here is my code :
Code
<hotspot name="winery"
url="hotspot_ani.swf"
onclick="action(showimage,img1);"
/>
<!-- images -->
<plugin name="img1" url="image.jpg" align="center" alpha="0" visible="false" onclick="action(hideallimages);" />
<!-- actions to show/hide images -->
<action name="hideimage">
tween(plugin[%1].alpha,0,distance(1,0.5),easeoutquad,set(plugin[%1].visible,false));
</action>
<action name="hideallimages">
action(hideimage,img1);
</action>
<action name="showimage">
action(hideallimages);
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,1,distance(1,0.5),easeoutquad);
</action>
Display More
Please - what am i doing wrong - currently nothing is happening when the hotspot is clicked ?
Thanks in advance for any help provided
Max