Apply a link to a button in a layer by clicking on a hotspot  

Share your tips and tricks here or get help with any Panotour 2.0 problem!
No bug reports (of any kind) in this forum!
no avatar
mattkay
Member
 
Topic author
Posts: 49
Likes: 0 post
Liked in: 0 post
Joined: Mon Mar 24, 2014 6:10 am
Info

Apply a link to a button in a layer by clicking on a hotspot

by mattkay » Fri Mar 28, 2014 7:52 pm

hello all,

I know how to change the image in a layer (the layer is named "toggelbutton") when clicking on a hotspot (the hotspot is named "spotpoint31"):

<action name="onclickspotpoint31">
set(layer[togglebutton].url, %FIRSTXML%/graphics/togglebutton/button_mini_ramp.png);
</action>


But how can I change also the link of this new button?

I tried it like this, without success:
<action name="onclickspotpoint31">
set(layer[togglebutton].url, %FIRSTXML%/graphics/togglebutton/button_mini_ramp.png);
set(layer[togglebutton].mainloadscene(pano22);
</action>



thank you!

Return to Using Panotour / Panotour Pro

Who is online

Users browsing this forum: No registered users and 1 guest

cron