Toggle button state in tour

  • Hi - I've got a series of 10 scenes in my tour, and the only button I have on the interface is a gyro button.

    When creating a single panorama, I can easily show/hide 2 image layers to mimic the on/off states of the button.

    I'm having a lot of trouble trying to achieve the same thing with the output from the pano tour droplet.

    The button action works, but I can't fathom how to toggle the button states/set layers within the pano scene XML. 90% of he generated code isn't applicable for my task in this instance, but I can't successfully extract the bits I need to simple toggle the image button states

    All help greatly appreciated - i'm sure it's very simple once you know how!

  • Using either crop for a url sprite or just a new image.
    Adding other code in there to turn on and off the gyro.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!