You are not logged in.

1

Tuesday, June 13th 2017, 7:56am

Simple Open image toggle (distrorted) for Flat pano? Colour menu Options

Im trying to reproduce the same effect with simple open image icons on my flat pano. iv got it working but for some reason. Even when i add distorted it stays same size when moving and scrolling.
I appreciate your very busy so if i dont hear back from you i can just post on the forum.


Ideally i am trying to Achieve up to 3 Options for furniture in my scene with. Png. But seems little more complicated with flat pano.
may thanks see code below.


See xml hear


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

<plugin name="openimage"
url="chairs_green.png"
align="center" x="10" y="10"
alpha="0"
visible="false"
onclick="action(close,get(name));"
/>

<hotspot name="fyi"
url="up.png"
ath="0"
atv="0"
scale="0.6"
alpha="0.3"
onover="tween(alpha,1);tween(scale,0.6);"
onout="tween(alpha,1);tween(scale,0.6);"
onclick="action(open,openimage);"
/>