• Hi
    is there a way to autoload an xml file without seeing the address in the code ?

    I want to do something like this,for example this code
    embedpano({ swf:"tour1.swf", xml:"tour1.xml", target:"pano" });

    to be like this
    embedpano({ swf:"tour1.swf", target:"pano" }); but krpano to know that it needs to load tour1.xml


    I was thining maybe i can do it via javascrpt or maybe theres a plugin outhere ? commercial or otherwise.

    Thank you very much.

  • 1) By default if you dont specify a xml, it takes the name of the swf + .xml. So tour1.swf searches for tour1.xml in the root
    2 ) You could embed the xml in the swf, Then no on could see the xml
    3) You could include perhaps a global.xml and within there you can add an <include url="tour1.xml" />. So the name will always be global.xml, but the content can alter.

Jetzt mitmachen!

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