hello all
I was adding 'openimage' functions to my virtual tour scene.
what i want is open an image with smaller scale: such as scale=0.5
here is the code i used:
Code
<hotspot name="spot1" url="animatedhotspot_white.png" onloaded="do_crop_animation(64,64, 60);" ath="-15" atv="-12" onclick="action(open,openimage);" tooltip="spotpolygon115_tooltip" />
<plugin name="openimage"
url="Small-mario.png"
align="center" x="10" y="10"
scale="0.1"
alpha="0"
visible="false"
onclick="action(close,get(name));"
/>
<action name="open">
set(plugin[%1].visible,true);
tween(plugin[%1].alpha,1);
</action>
<action name="close">
tween(plugin[%1].alpha,0,0.5,default, set(plugin[%1].visible,false) );
</action>
Display More
the scale="0.1" only works with desktop browser, but not in smartphones, e.g. android phone.
is that right way to do that ?
thanks