Forums  

Go Back   Forums > Talk > General FPP Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2010, 09:50 PM
masten masten is offline
Senior Member
 
Join Date: Apr 2008
Posts: 174
Downloads: 0
Uploads: 0
Default How do you call a function when a pano loads and unloads

When particular panos load and unload in a tour I need to run a function particular for that pano, and then when it unloads to run a different one.

Possible?

I guess it would be the same as the onenterfullscreen and onexitfullscreen commands except would trigger when the pan loads and unloads

Cant find anything in the tutorials

Thanks

Masten
Reply With Quote
  #2  
Old 09-27-2010, 10:36 PM
sachagriffin sachagriffin is offline
Senior Member
 
Join Date: Oct 2007
Posts: 211
Downloads: 1
Uploads: 0
Default

No problem use ontransition end and load everything from a function.
Reply With Quote
  #3  
Old 09-28-2010, 12:00 AM
masten masten is offline
Senior Member
 
Join Date: Apr 2008
Posts: 174
Downloads: 0
Uploads: 0
Default

Hi Sacha

Yeah I figured that for loading but how do you trigger something for when the pano unloads. Is there a onunloadpano function?
Reply With Quote
  #4  
Old 09-28-2010, 12:19 AM
sachagriffin sachagriffin is offline
Senior Member
 
Join Date: Oct 2007
Posts: 211
Downloads: 1
Uploads: 0
Default

So on all the other pano loads call a function to unset whatever. And if necessary use panologic.
Complex or ie ugly XML isnt a big deal. Its smaller than your smallest graphic.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 01:14 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.