xml.url does not work

  • Hi klaus

    I have encountered same problem. I tried the following button several times, but the trace(xml.url) always gives me black. Surey I loaded several diffenent scene aleady and tried.
    Is there any solution? any code?
    Min

    <layer name="list93" url="skin/listbutton93.png" x="276" y="4" align="lefttop" crop="0|0|136|20" onovercrop="0|20|136|20" ondowncrop="0|20|136|20"
    onclick="set(events.onresize, ''); showlog(true); trace(xml.url); indexoftxt(found, get(xml.url), 'tour00.xml');
    if(found GE 0, loadpano(tour00.xml, startscene=scene_00006, IGNOREKEEP,BLEND(1)); , loadscene(scene_00006, null, MERGE, BLEND(1))); citem(93)" />

  • I understand the xml.url will be blank, when new scene or new xml is loaded.

    However, thiis means xml.url has meaning just the first time, right? Then I think xml.url has no meaning for developing any tours. :(

    Anyway, I have many xml files to load, and want to find out which one is loaded right now. Is there any way?

    Min

Jetzt mitmachen!

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