PDA

View Full Version : preview and main pano don't seem locked


3rw1n
11-17-2007, 06:05 PM
Hello everyone.

First of all excuse me if I make some mistakes, english isn't my native language.

I encounter a little problem with my preview panos.
preview and main pano don't seem to be locked and I don't understand what mistake I made in my xml file.

You can see it here (http://visitimo.fr/new/360/aerien/bordeaux/jardin-botanique-rive-droite/) if you pan, yilt or zoom the preview pano before the main one appears.

Here is my xml file =>

<?xml version="1.0"?>
<panorama>
<parameters>
panoName = pano_small
layer_1 = ../../../../swf/hotspots.swf
layer_4 = ../../../../swf/loadMeter.swf
layer_2 = ../../../../swf/autorotator.swf
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText =
zoomMax = 2.5
zoomMin = 0.7

</parameters>

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview=" loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); " loadMain="pano.leash=lock; loadPano(?panoName=pano,400); onTransitionEnd=">

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

</global>
</hotspots>
</panorama>

What have I done wrong?

Thanks in advance to anyone who will spend a little time on my problem.

Erwin

3rw1n
11-18-2007, 04:38 PM
anyone:confused:

:p

cheathamlane
11-18-2007, 04:47 PM
Hi Erwin:

If you add the tag (below <global> but above your <spots/>):

<pano leash="lock"></pano>

...does that help?

3rw1n
11-18-2007, 06:12 PM
I first tried what you told me

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview=" loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); " loadMain="pano.leash=lock; loadPano(?panoName=pano,400); onTransitionEnd=">


<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

<spot id="hs1" pan="6" tilt="0" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>

<spot id="hs2" pan="6" tilt="0" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-1/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>

<spot id="hs3" pan="1" tilt="0" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-2/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-1/pano)"/>

<spot id="hs4" pan="-178" tilt="-1" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-2/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-3/pano)"/>

<spot id="hs5" pan="85" tilt="7" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-2/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-4/pano)"/>

<spot id="hs6" pan="0" tilt="-5" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-3/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>

<spot id="hs7" pan="-1" tilt="2" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-4/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>


</global>
<pano leash="lock"></pano>
</hotspots>
</panorama>


then I tried

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview=" loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); " loadMain="pano.leash=lock; loadPano(?panoName=pano,400); onTransitionEnd=">

<pano leash="lock"></pano>

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

</global>
</hotspots>
</panorama>

I also tried

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview=" loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); " loadMain="loadPano(?panoName=pano,400); onTransitionEnd=">

<pano leash="lock"></pano>

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

</global>
</hotspots>
</panorama>

and even

<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview=" loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); " loadMain="pano.leash=lock; loadPano(?panoName=pano,400); onTransitionEnd=">

<hotspots>

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

</global>
</hotspots>
</panorama>

But I still have this problem.

Thanks anyway

Erwin

cheathamlane
11-18-2007, 06:33 PM
:(

Well, number 2 and number 3 in your examples look right to me! The last example of yours is just plain wrong. :)

Are you sure that you have _all_ the latest FPP files (hotspots.sfw, pano.swf, etc)? I have had issues with mixing early versions of FPP files with newer versions.

3rw1n
11-18-2007, 06:52 PM
First of all, thank you for helping me Patrick.

I downloaded FPP last week for the first time, so I guess my files are up-to-date.

Here's the code I just published in my pano.xml file on the web =>

<?xml version="1.0"?>
<panorama>
<parameters>
panoName = pano_small
layer_1 = ../../../../swf/hotspots.swf
layer_4 = ../../../../swf/loadMeter.swf
layer_2 = ../../../../swf/autorotator.swf
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText =
zoomMax = 2.5
zoomMin = 0.7

</parameters>

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview=" loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); " loadMain="pano.leash=lock; loadPano(?panoName=pano,400); onTransitionEnd=">

<pano leash="lock"></pano>

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

<spot id="hs1" pan="6" tilt="0" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>

<spot id="hs2" pan="6" tilt="0" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-1/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>

<spot id="hs3" pan="1" tilt="0" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-2/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-1/pano)"/>

<spot id="hs4" pan="-178" tilt="-1" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-2/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-3/pano)"/>

<spot id="hs5" pan="85" tilt="7" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-2/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-4/pano)"/>

<spot id="hs6" pan="0" tilt="-5" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-3/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>

<spot id="hs7" pan="-1" tilt="2" url="../../../../images/hs.png" smoothing="1" scaleable="0" blendMode="lighten" linked="../cathedrale-saint-andre-4/pano" onClick="loadPano(?panoName=../cathedrale-saint-andre-2/pano)"/>


</global>
</hotspots>
</panorama>

And here is the result => http://visitimo.fr/new/360/sol/bordeaux/cathedrale-saint-andre-1/

I don't understand where it goes wrong.

++
Erwin

zleifr
11-19-2007, 03:34 AM
try these:
put leash=lock in the parameters section.
put leash=lock as the first statement of loadPreview

And you have a conflict with the panoName=pano_small in the parameters section and onStart=loadPreview, which loads pano_small also. I think this is probably the origination of the problem, as I am not sure in accordance with which of the statements things are loading. If you want to use loadPreview, replace panoName=.... with disableLoading=1, so it won't try to load anything until it executes the onStart function.

3rw1n
11-19-2007, 02:35 PM
Thanks zleifr,

Here's the begin of my new xml file =>

<?xml version="1.0"?>
<panorama>
<parameters>
disableLoading=1
layer_1 = ../../../../swf/hotspots.swf
layer_4 = ../../../../swf/loadMeter.swf
layer_2 = ../../../../swf/autorotator.swf
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText =
zoomMax = 2.5
zoomMin = 0.7
<pano leash="lock"></pano>
</parameters>

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview="pano.leash=lock; loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); " loadMain=" loadPano(?panoName=pano,400); onTransitionEnd=">

I guess I still got it wrong because I haven't solved my problem.

++

3rw1n
11-20-2007, 02:30 PM
up

I'm still stucked with this problem

zleifr
11-20-2007, 02:51 PM
parameters section should be this:
<parameters>
disableLoading=1
layer_1 = ../../../../swf/hotspots.swf
layer_4 = ../../../../swf/loadMeter.swf
layer_2 = ../../../../swf/autorotator.swf
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText =
zoomMax = 2.5
zoomMin = 0.7
leash=lock
</parameters>

3rw1n
11-20-2007, 03:41 PM
Ok,

so now my xml looks like that =>

<?xml version="1.0"?>
<panorama>
<parameters>
<parameters>
disableLoading=1
layer_1 = ../../../../swf/hotspots.swf
layer_4 = ../../../../swf/loadMeter.swf
layer_2 = ../../../../swf/autorotator.swf
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText =
zoomMax = 2.5
zoomMin = 0.7
leash=lock
</parameters>
</parameters>

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview="pano.leash=lock;loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); pano.qualityStatic=low " loadMain="pano.leash=lock; loadPano(?panoName=pano,400); onTransitionEnd=">

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

</global>
</hotspots>
</panorama>

I still have the same problem.
I published the result here => here (http://visitimo.fr/new/360/aerien/bordeaux/bordeaux-lac/), so you can see what's going on.

++

zleifr
11-20-2007, 04:06 PM
I'm stumped... it should be working.

The only thing I see that is slightly wrong, but doesn't seem to be causing problems is the two <parameters> tags.

I checked the b/w preview as supplied with the package, and it has the same problem you have. ODD.

So I checked one panorama that I know do work that way: the one by Hiroharu.S in the showcase forum, and it does work, and he doesn't have any leash=lock statements in there and they really shouldn't be necessary in the first place, as it is the default setting. So I am thinking maybe remove all the leash=lock statements and give it a try.

Incidentally, here is Hiroharu.S's xml which DOES work:
<?xml version = '1.0'?>
<panorama><parameters>
panoName = pano_small
disableLoading= 1
loaderTextColor = #FFFFFF
loaderBackColor = #000000
qualityMotion = low
panHome=0
tiltHome=0
zoomHome=0.8
zoomMax=1.3
zoomMin=0.6
layer_2=hotspots.swf
layer_3=glassMeter2.swf
layer_6=autorotator.swf
layer_7=menuFullscreen.swf
layer_8=borders.swf
</parameters>
<autorotator>
speed=0.1
interval=50
pause=0
quality=low
</autorotator><hotspots>



<global onTransitionEnd="externalInterfaceID=pano;pano.disableControls=0;pr eview.id=;"
onStart="loadPreview();"loadPreview="loadPano(panoName=pano_small,100);onTransitionEnd= loadmain();pano.qualityStatic=low"
loadMain="loadPano(panoName=pano,1000);onTransitionEnd=;"

onOver="scale=1.05,500,elastic"onOut="scale=1,200"onLoad="alpha=0;alpha=1,1000"
>

3rw1n
11-20-2007, 04:16 PM
I removed all leash=lock statements, so here's my new xml file

<?xml version="1.0"?>
<panorama>
<parameters>
panoName = pano_small
disableLoading=1
layer_1 = ../../../../swf/hotspots.swf
layer_4 = ../../../../swf/loadMeter.swf
layer_2 = ../../../../swf/autorotator.swf
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText =
zoomMax = 2.5
zoomMin = 0.7
</parameters>

<hotspots>
<global LocalConnectionID="xml" onStart="loadPreview();" loadPreview="loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); pano.qualityStatic=low " loadMain=" loadPano(?panoName=pano,400); onTransitionEnd=">

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="1" onClick="visible=0;fullscreen(-);fs.visible=1" depth="5"/>

<spot id="fs" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="fsinfo.visible+=1;scale=1.1,600,elastic;depth+=20" onOut="fsinfo.visible=0;scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>

<spot id="fsinfo" static="1" salign="RB" align="RB" staticX="-85" staticY="-15" url="../../../../images/fsinfo.png" visible="0"/>

</global>
</hotspots>
</panorama>

Same problem, you can see the updated version here (http://visitimo.fr/new/360/aerien/bordeaux/bordeaux-lac/)

Thanks a lot for helping me, I'm sure we'll find a solution !

++

zleifr
11-20-2007, 05:00 PM
I am almost out of answers. In fact I have no idea where the problem is.

Try removing the ? in the loadPano statements.

In short, pull up Hiroharu.S's xml and try to make your as close to EXACTLY like his as possible and see if that fixes it, and then if you have removed stuff you need put each item back in one at a time and see which item it is that breaks it. For instance make it look as close to this as possible:

<?xml version = '1.0'?>
<panorama><parameters>
panoName = pano_small
disableLoading= 1
loaderTextColor = #FFFFFF
loaderBackColor = #000000
qualityMotion = low
panHome=0
tiltHome=0
zoomHome=0.8
zoomMax=1.3
zoomMin=0.6
layer_2=hotspots.swf
layer_3=glassMeter2.swf
layer_6=autorotator.swf
layer_7=menuFullscreen.swf
layer_8=borders.swf
</parameters>
<autorotator>
speed=0.1
interval=50
pause=0
quality=low
</autorotator><hotspots>



<global onTransitionEnd="externalInterfaceID=pano;pano.dis ableControls=0;preview.id=;"
onStart="loadPreview();"loadPreview="loadPano(pano Name=pano_small,100);onTransitionEnd=loadmain();pa no.qualityStatic=low"
loadMain="loadPano(panoName=pano,1000);onTransitio nEnd=;"

(BUT for some reason there are spaces in there where there shouldn't be, so don't put them in.)

3rw1n
11-20-2007, 05:09 PM
I'll give it a try tonight and let you know.

++

3rw1n
11-22-2007, 01:42 AM
I tried your example's code but I'm still stucked.

3rw1n
11-22-2007, 11:46 PM
As pano.leash seems to be a default function, I removed all pano.leash instance.

<?xml version="1.0"?>
<panorama>
<parameters>
panoName = pano_small

layer_1 = ../../../../swf/hotspots.swf
layer_2 = ../../../../swf/autorotator.swf
layer_3 = ../../../../swf/loading.swf
layer_4 = ../../../../swf/tooltips.swf
loaderTextColor = #FFFFFF
loaderBackColor = #000000
loaderText =
zoomMax = 2.5
zoomMin = 0.7
</parameters>


<autorotator>
speed=-0.1
interval=30
pause=50000
quality=low
</autorotator>

<tooltips>
altFont=Century Gothic
altSize=30
altColor=0x000000
altFill=0xFFFFFF
altStroke=0x999999
altAlpha=0.6
</tooltips>

<hotspots>

<global
onLoad="none"
onStart="saturation=-1,1;loadMain();"
loadPreview="loadPano(?panoName=pano_small); onTransitionEnd=loadMain(); pano.qualityStatic=low"
loadMain=" loadPano(?panoName=pano,400); onTransitionEnd=prefs.visible+=1;close.visible+=1;">

<spot id="prefs" url="../../../../images/prefs.png" smoothing="1" static="1" visible="0" onClick="close.visible=0;visible=0;fullscreen(-);fs.visible=1;global.saturation+=1,1000;external. autorotator.pause=5000;" depth="4"/>
<spot id="close" alt="fermer cette fenкtre" url="../../../../images/close.png" smoothing="1" staticX="220" staticY="120" static="1" visible="0" onClick="visible=0;fullscreen(-);prefs.visible=0;fs.visible=1;global.saturation+= 1,1000;external.autorotator.pause=5000;" depth="5"/>



<spot id="fs" alt="plein-йcran" static="1" salign="RB" align="RB" smoothing="1" staticX="-15" staticY="-15" url="../../../../images/fs.png" blendMode="lighten" onOver="scale=1.1,600,elastic;depth+=20" onOut="scale=1,300;depth-=20" onClick="fullscreen(-)" visible="0"/>



</global>
</hotspots>
</panorama>

Unfortunately it still doesn't work as you can see it here (http://visitimo.fr/new/360/aerien/bordeaux/jardin-botanique-rive-droite/).

I really don't know what to do from here. If any of you see what I've missed, I be very grateful.

++
Erwin

zleifr
11-23-2007, 12:15 AM
Ok, I have no idea why that is not working. I hate to say that I think it is a fpp bug, but I think maybe that is the conclusion that must be drawn.

So, I have another suggestion. I base this suggestion on the observation that no one I have every seen use FPP or anything else with a load meter, actually tries to use the program BEFORE it has loaded according to the load meter. So what if you disable the controls until it loads, so that no one, even if that person were one of the very rare few who tries to use something before it has loaded. Just use onTransitionStart="disableControls=1"
onTransitionEnd="disableControls=0" right after the loadPano command for the full resolution pano.

What do you think? It's an imperfect solution, but I think it would only affect <5% of users if that.

3rw1n
11-23-2007, 12:29 AM
I removed the load meter, but it doesn't solve the problem.

As it works on some samples I've seen here, I don't understand how a bug can occur only on my panos. So I guess there must be something wrong in my xml file, but what?

I'll try to re-download (again) FPP, to see if I have a corrupted version of the files.

Fo the moment, I'll stick to the disableControls trick.

Thanks for your help,

Erwin

zleifr
11-23-2007, 02:22 AM
No removing the load meter shouldn't fix it at all. But since we can't figure out what is causing the problem after all this time, and I am almost certain that it must be some obscure bug, which is causing your correct xml not to work.

The only thing I could suggest to get it work is to remove everything aside from the link to hotspots and the global onstart that loads the preview and then the high quality pano, and if it works at that point, then add everything back in piece by piece till you see what breaks it, and then figure out why and a work-around.

And if it doesn't work when you've stripped it down all the way, then put in spot with a loadPano command and see if it works. And if not, keep changing it till it finally works, and then build it back piece by piece, checking each time to see which piece is breaking it.

3rw1n
12-12-2007, 10:39 AM
I finally managed to get it working.
I couldn't say why it now works, but it does.

Thanks to all.

Erwin

3rw1n
12-12-2007, 01:23 PM
here is the begin of my working xml file.

<?xml version="1.0"?>
<panorama>
<parameters>
panoName = pano_small
disableLoading= 1
loaderTextColor = #FFFFFF
loaderBackColor = #000000

qualityMotion = low
segments=15

panHome=0
tiltHome=-20

zoomHome= 1
zoomMax = 1.7
zoomMin = 0.3

layer_2 = ../../../../swf/hotspots.swf
layer_3 = ../../../../swf/autorotator.swf
layer_4 = ../../../../swf/loading.swf
</parameters>

<autorotator>
speed=-0.1
interval=30
pause=50000
quality=low
</autorotator>

<hotspots>

<global onStart="loadPreview();"loadPreview="loadPano(panoName=pano_small,100);onTransitionEnd= loadmain();pano.qualityStatic=low"
loadMain="loadPano(panoName=pano,1000);onTransitionEnd=prefs .visible+=1">


1. While it perfectly works with cubical panos it doesn't work with stripecubicalpanos (panostripe.swf renamed here pano.swf to use the same pano.xml file in all my panos )

The old "messy" code worked for both pano and panostripe.

Now panostripe is only loading preview and then fades to full black or red.

Any idea what could cause that issue?

Here is a working cubical pano => working (http://www.bluephotographie.com/visites_virtuelles/1-visites-virtuelles/17-quais-de-garonne.html)

And here is one not working panostripe => not working (http://www.bluephotographie.com/visites_virtuelles/1-visites-virtuelles/14-maison-de-l-architecture.html)


2.

On this pano => loading failed (http://www.bluephotographie.com/visites_virtuelles/1-visites-virtuelles/16-chateau-de-lussac.html)
I get a loading failed message at the begin of the loading. After this message preview and pano file loads perfectly.

I'm using the same xml as above and that's the only pano with that problem.

Anybody knows why?

Thanks in advance,

Erwin

3rw1n
12-13-2007, 12:43 AM
Has anyone already experienced this?

3rw1n
12-13-2007, 02:22 PM
I updated my post because links were broken.

3rw1n
12-13-2007, 08:13 PM
no one knows?

3rw1n
12-15-2007, 05:06 PM
After some tests I discovered my first problem only apperaed on MY firefox 2.0 installation. On IE it displays fine, as on an other computer FF 2.0.

I'll have to check my plugin installation to fix this.

The loadin failed message a consequence off some .jpg files appeared as .JPG on my server.