le GROS jйjй
09-30-2008, 02:32 PM
Hi, first of all excuse my english, am french...
I have made a tour with about 10 panoramas wich are all called by a function(am I right ?) :
entree= "pano.leash=free;loadPano(panoName=entree/entree&zoomHome=0.9&panHome=-36&tiltHome=5);external.ia_ambientmix.mix=birds:1"
allee= "pano.leash=free;loadPano(panoName=allee/allee&zoomHome=0.9&panHome=23&tiltHome=-5);external.ia_ambientmix.mix=birds:1;"
technique= "pano.leash=free;loadPano(panoName=technique/technique&zoomHome=0.9&panHome=-95&tiltHome=0);external.ia_ambientmix.mix= birds:1"
and then :
<spot id="cible_entree"
onPress="entree;mapfade"
/>
for example.
Now I would like to call a preview before but when I do so, only the preview is loaded and not the full pano :
entree = "pano.leash=free
loadPreview()
loadPreview=loadPano(?panoName=petit/entree
onTransitionEnd=loadMain())
loadMain=loadPano(?panoName=entree/entree)
onTransitionEnd=;"
I guess my code is not good, but I can't find the way to make it work...
Can someone help me please ??!!!
I have made a tour with about 10 panoramas wich are all called by a function(am I right ?) :
entree= "pano.leash=free;loadPano(panoName=entree/entree&zoomHome=0.9&panHome=-36&tiltHome=5);external.ia_ambientmix.mix=birds:1"
allee= "pano.leash=free;loadPano(panoName=allee/allee&zoomHome=0.9&panHome=23&tiltHome=-5);external.ia_ambientmix.mix=birds:1;"
technique= "pano.leash=free;loadPano(panoName=technique/technique&zoomHome=0.9&panHome=-95&tiltHome=0);external.ia_ambientmix.mix= birds:1"
and then :
<spot id="cible_entree"
onPress="entree;mapfade"
/>
for example.
Now I would like to call a preview before but when I do so, only the preview is loaded and not the full pano :
entree = "pano.leash=free
loadPreview()
loadPreview=loadPano(?panoName=petit/entree
onTransitionEnd=loadMain())
loadMain=loadPano(?panoName=entree/entree)
onTransitionEnd=;"
I guess my code is not good, but I can't find the way to make it work...
Can someone help me please ??!!!