![]() |
|
#1
|
|||
|
|||
|
Hi all,
I work actually on a big flash project using FPP embed. I configure my loader and panorama, and after i load an xml file for my panorama like that: Code:
panorama.loadPanorama("xml_file=./pano.php?id="+_id);
Code:
onStart = 'loadPreview();' loadPreview =' external.autorotator.disabled=1; loadPano(panoName=./360/vendee_globe_2008_depart/pano/small/pano&panHome=-16&tiltHome=-6&zoomHome=0.568,300); onTransitionEnd=loadMain();' loadMain = 'loadPano(panoName=./360/vendee_globe_2008_depart/pano/pano,1000); onTransitionEnd=initHotspots();' initHotspots = ' external.autorotator.disabled=0; copyright.visible = 1; fs.visible = 1; mp3player.visible = 1; mp3player.url= ./resources/global/mp3player.swf?file=360/vendee_globe_2008_depart/media/sound.mp3&repeat=1000&level=50&autoplay=true;' <spot id='mp3player' visible='0' static='1' salign='LT' align='LB' enableSoundPanning='1' soundRadius='60' staticX='3' staticY='37' depth='50' /> Code:
loader.visible = false; panorama = null; loader = null; Code:
panorama.externals.hotspots.getSpot("mp3player").url = "";
__________________
www.photoglob.fr | Panoreport , shows pictures of Brittany and more... www.360ouest.com | First 360 agency in France |
|
#2
|
|||
|
|||
|
your command try to access url property of spot "mp3player" in xml file
its a bit tricky but to accress .root of your spot (first you must make sure that its registered as a plugin) you would need sth like this Code:
panorama.externals.hotspots.getSpot("mp3player").loader.content.functionCalledInsidePlugin;
__________________
midnight sun in Tromsų - 360 panorama or northern lights over Tromsų - 360 panorama
anonymous tourist:"but why there is only one sun?" |
![]() |
| Thread Tools | |
| Display Modes | |
|
|