I sent this to Klaus but he did not answer. So I'm posting it here.
I have 2 xmls that have different themes. I would usually use just 1 theme and use scenes instead of separate xmls but for this app I really need to do it this way. Anyway, I have an xml with orange theme (fullscreen, auto-rotate, hide-controls) and I have another xml with white theme (same buttons) when I move from 1 pano to another using loadpano() the buttons dont disappear. For example when I move from the orange pano theme to the white pano theme, the orange buttons are left on the player and the white also appears. I already tried moving the common code inside scenes like this
<scene name="scene-1a"><include url="common.xml" /><view hlookat="0" vlookat="0" maxpixelzoom="1.0" fov="90" fovmin="20" fovmax="90" /><display details="22" />
before the include was outside scene. But the result is the same. How do I solve this? Basically I want to move from on xml to another without retaining the theme of the prevous xml.
Thanks,
Milo