|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<!-- actions --> <action name="gotonewscene"> looktohotspot(%2, 75, smooth(300,-300,600)); loadscene(%1, null, MERGE, BLEND(1)); </action> <!-- hotspot styles --> <style name="hotspot_goto" url="%BASEDIR%/hotspots/hs.swf" alturl="%BASEDIR%/hotspots/hs.png" onover="set(zorder, 2000);" onclick="gotonewscene(get(scenetoload), get(name))" /> <!-- scenes --> <scene name="scene_wardrobe" title="Wardrobe" > <!-- goto gotspots --> <hotspot name="goto1" style="hotspot_goto" ath="185" atv="4" scenetoload="scene_wardrobe" /> |
|
|
Quellcode |
1 2 3 4 5 6 7 |
hit.addEventListener(MouseEvent.ROLL_OVER, showLabel);
hit.addEventListener(MouseEvent.ROLL_OUT, hideLabel);
public function registerplugin(krpanointerface:Object, pluginfullpath:String, pluginobject:Object):void {
var scenetoload:String = (_krpano.get("hotspot[" + _plugin.name+ "].scenetoload"));
setLabelText(_krpano.get("scene[" + scenetoload + "].title"));
}
|
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »kosmodroms« (25. Februar 2013, 11:30)
I can not imagine this code working without your example.
Benutzerinformationen überspringen
Wohnort: Mexico City
Beruf: Virtual tours, Krpano coding, Graphic Design, Photographer, Panographer
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »360boy« (11. Februar 2014, 03:03)