BACK button need to load the previous xml

  • Please Help Me

    Iam creating a tour of a 2 level building so so many views in the tour with navigation hotspots.
    The tour is based on different XML files for each view (Eg: location1.xml,location2.xml)

    i need one help from you please.

    i need a back button to the previous view.When a user click on BACK button need to load the previous scene xml.

    How can i do that please help

  • Don't know how experienced are but it shouldn't be to complex:
    - using events e.g. onnewscene if not first time loaded copy current_xml to previous_xml, then store current xml name in variable current_xml.
    - Your previous xml will be stored in previous_xml so you can make your back button load it

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!