How can I trigger an action after the background sound is c  

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
VC2B
New member
 
Topic author
Posts: 6
Likes: 1 post
Liked in: 0 post
Joined: Fri Feb 23, 2018 3:38 pm
Info

How can I trigger an action after the background sound is c

by VC2B » Thu Mar 08, 2018 9:52 pm

I have a scene and in xml is set the background sound that starts automatically.

How do I trigger an action after the background sound ends? For example I would like to change the visibility of a button that is in html.

Here is my actual XML code:

<scene name="pano298"
heading="0"
thumburl="%FIRSTXML%/basc_frontal_2_298/thumbnail.jpg"
backgroundsound="locucao_1.mp3"
backgroundsoundloops="1"
haslocalsounds="false"
haspolygons="false"
titleid="pano298_title"
descriptionid=""
multires="true"
planar="false"
full360="true"
video="false"
seen="false">

User avatar
benji33
Kolor Team
 
Posts: 5680
Likes: 84 posts
Liked in: 188 posts
Joined: Tue Apr 09, 2013 10:59 am
Location: France
Info

Re: How can I trigger an action after the background sound i

by benji33 » Thu Mar 22, 2018 11:25 am

There is no way to do it with Panotour GUI.
You have to do it manually into the xml skin file. Have a look for the "stopbackgroundsoundoncomplete" action which is called when a background sound not looped is ended.


Who is online

Users browsing this forum: No registered users and 7 guests