Sie sind nicht angemeldet.

1

Mittwoch, 24. Juni 2009, 14:59

VT Button Set Swapout

Hello

In a virtual tour ...


Per each pano - I have a individual xml assigned to it - I would like to have a different set of the buttons when certain scenes load during the tour - but when i go thru the scenes - all the buttons remain the same?


its like the first xml - "tour.xml" takes control of the virtual tour buttons and will not let the other scenes .xml file change the buttons when a the new scene button set loads??

Thanks

*cool* Kent

2

Mittwoch, 24. Juni 2009, 22:41

Hi,

this depends how the other panos were loaded or if the buttons have the "keep" attribute set to "true",
e.g. when you load other panos with KEEPALL - all current buttons(plugins) will be kept,
but if you use MERGE instead of KEEPALL only the plugins with keep="true" will be kept,
this can be used to have different buttons on every pano,

e.g. use such loadpano call:

Quellcode

1
loadpano(pano2.xml,null,MERGE,BLEND(1));


have also a look on the "flags" here:
http://krpano.com/docu/actions/#loadpano

best regards,
Klaus