• Klaus...

    danke für die schnelle hilfe und ich merk's mir ... *smile*

    mein beispiel bezieht sich allerdings auf eine tour, wo ich nur ein xml-file habe....
    da kann ich kein anderes aufrufen ... was nun ...

    kann ich mit 'loadpano' auch eine scene öffnen, in meiem beispiel 'scene_schuetting_01' ?
    und habe ich bei get richtig eingetragen ?

    fragt nochmal
    mthrills


    quote

    to your question - have a look at the "onclick" event of your hotspot code:
    Quoted from "mthrills"
    <hotspot name="spot1" style="hotspot_ani_white" ath="-48" atv="-5" onclick="showlog(); trace('hotspot ',get(scene_schuetting_01),' clicked');"/>
    there only this two actions where called:
    1. showlog();
    2. trace('hotspot ',get(scene_schuetting_01),' clicked');

    to open an other pano e.g. call the loadpano() action with a new xml,
    e.g.

    Source code
    1
    onclick="loadpano(pano2.xml,null,MERGE,BLEND(1));"


    best regards,
    Klaus

    unquote

  • ist doch eigentlich ganz einfach ...*smile*

    so sieht es jetzt aus:

    <hotspot name="spot1" style="hotspot_ani_white" ath="-48" atv="-5" onclick="loadscene(scene_schuetting_01);"/>

    und funktioniert überall, also recher, ipad, iphone ....

    danke Klaus

    grüsst
    mthrills

Jetzt mitmachen!

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