Hi,
I have a tour with 6 very large rooms and each room has 3 X 360 degree images. I'd like each group of 3 scenes to have an 'Open Info' button which opens a small info screen showing info specific for that room. In the case of the first room the button would open 'info_1.png' and I have 4 other info screens for the remaining groups 4 rooms each with 3 scenes.
I have the 'Open Info' button down on the Navbar which when clicked opens the info screen (info_1.png) no problem and at the same time changes the button to 'Close Info'. It works well for the job.
I'm thinking there must be an alternative solution to applying the following code to 18 scenes and changing the 'skin_plan' on each group of 3 to info_1.png, info_2.png, info_3.png etc. There's too much repetitiveness
<layer name="skin_btn_plan" url="vtourskin.png" crop="0|320|120|64" align="right" x="110" y="-1" scale="0.6" onclick="set(layer[skin_plan].visible,true); set(layer[skin_btn_plan].visible,false); set(layer[skin_closeplan].visible,true" ondown="skin_buttonglow(null);" onhover="showtext(OPEN INFO,buttonstyle);" onup="skin_buttonglow(null);"/>
<layer name="skin_closeplan" keep="true" url="vtourskin.png" crop="0|375|130|64" align="right" x="110" y="-1" scale="0.6" visible="false" enabled="true" zorder="2" onclick="set(layer[skin_plan].visible,false);set(layer[skin_btn_plan].visible,true); set(layer[skin_closeplan].visible,false" ondown="skin_buttonglow(null);" onhover="showtext(CLOSE INFO,buttonstyle);" onup="skin_buttonglow(null);"/>
<layer name="skin_plan" keep="true" url="info_1.png" align="center" x="0" y="-300" alpha="1" visible="false" enabled="false"/> </layer>
Is there any way I can just have one instance of the code above applying to a group of 3 scenes, then a single instance for another group of 3 scenes, but change to info_2.png etc?
Hope that make sense as it took me a few tiles to write it out
Thanks.