I need to add 40 hotspots with video files (each flv file 5-8 Mb) on the panorama. I added them, but as a result the browser could not load the panarama. I see that when loading panorama during parsing xml file, it tries to open all spots files with the video (spots/object0.flv .... spots/object38.flv). how can disable to opening video files of the spots during start panorama (parsing xml file)?
sample code with hotspots:
<hotspot name="spot2" onclick="closeglobalobjects();closeallobjects();set(plugin[spot2object].visible,true);tween(plugin[spot2object].alpha, 1);plugin[spot2object].play();" bordercolor="0xffffff" borderalpha="0" fillcolor="0xffffff" fillalpha="0" bordercolorhover="0xffffff" borderalphahover="0" fillcolorhover="0xffffff" fillalphahover="0" >
<point ath="-127.428" atv="8.1946"/>
<point ath="-127.286" atv="12.429"/>
<point ath="-121.113" atv="13.867"/>
<point ath="-121.532" atv="9.442"/>
</hotspot>
<plugin name="spot2object" visible="false" url="virtualtourdata/graphics/videoplayer.swf" videourl="virtualtourdata/graphics/spots/object0.flv" pausedonstart="true" align="center" alpha="0" onclick="closespot2object();" width="prop" height="70%"/>
<action name="closespot2object">
if(plugin[spot2object].visible,
closeglobalobjects();
tween(plugin[spot2object].alpha, 0);
delayedcall(0.5,set(plugin[spot2object].visible,false));
plugin[spot2object].stop();
);
</action>
.................................
<hotspot name="spot40" onclick="closeglobalobjects();closeallobjects();set(plugin[spot40object].visible,true);tween(plugin[spot40object].alpha, 1);plugin[spot40object].play();" bordercolor="0xffffff" borderalpha="0" fillcolor="0xffffff" fillalpha="0" bordercolorhover="0xffffff" borderalphahover="0" fillcolorhover="0xffffff" fillalphahover="0" >
<point ath="-135.732" atv="31.485"/>
<point ath="-134.971" atv="32.684"/>
<point ath="-121.835" atv="23.715"/>
<point ath="-122.406" atv="24.816"/>
</hotspot>
<plugin name="spot40object" visible="false" url="virtualtourdata/graphics/videoplayer.swf" videourl="virtualtourdata/graphics/spots/object38.flv" pausedonstart="true" align="center" alpha="0" onclick="closespot40object();" width="prop" height="70%"/>
<action name="closespot40object">
if(plugin[spot40object].visible,
closeglobalobjects();
tween(plugin[spot40object].alpha, 0);
delayedcall(0.5,set(plugin[spot40object].visible,false));
plugin[spot40object].stop();
);
</action>