babycoconut
04-23-2008, 06:02 AM
Hello all,
I am a newer for Flash Panorama Player. I have problems with this. Flash Panorama Player is working correctly on my local computer but when I upload to my server, It doesn't show movie. I don't know why, do I have to set something on the server?
P.S. Already check path are correct
The script below
<script type="text/javascript" src="files/swfobject.js"></script>
<div id="flashcontent">360 degree virtual tour - requires <a href="http://www.adobe.com/go/getflashplayer/" target="_blank">Adobe Flash Player 9</a> </div>
<div align="center">
<script type="text/javascript">
var so = new SWFObject("files/pano.swf", "pano", "485", "360", "9", "#282828");
so.addVariable("xml_file", "01Pool_Sala.xml");
so.addVariable("redirect", window.location);
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
</script>
</div>
The XML script below
<?xml version = '1.0'?>
<panorama>
<parameters>
layer_1 = files/autorotator.swf
layer_2 = files/hotspots.swf
layer_3 = files/limits.swf
layer_7 = files/movDecoder.swf
layer_8 = files/menuFullscreen.swf
panoType = mov
panoName = images/01Pool_Sala
segments = 15
oaderStreamed = 1
loaderBandwidth = 50
loaderText=
</parameters>
<autorotator>
speed = -0.2
interval = 30
pause = 500
quality = best
</autorotator>
<hotspots>
<global>
<spot id="down" static="1" salign="BC" staticX="-30" staticY="-30" url="images/black_d.png" blockMouse="1"
onPress="pano.tiltKey=-2,500"
onRelease="pano.tiltKey=0"
/>
<spot id="zoomOut" static="1" salign="BC" staticX="80" staticY="-30" url="images/black_m.png" blockMouse="1"
onPress="pano.zoomKey=-2,500"
onRelease="pano.zoomKey=0"
/>
<spot id="zoomIn" static="1" salign="BC" staticX="130" staticY="-30" url="images/black_p.png" blockMouse="1"
onPress="pano.zoomKey=2,500"
onRelease="pano.zoomKey=0"
/>
<spot id="full" static="1" salign="BC" staticX="210" staticY="-30" url="images/black_f.png"
onClick="fullscreen(-)"
/>
</global>
</hotspots>
</panorama>
I am a newer for Flash Panorama Player. I have problems with this. Flash Panorama Player is working correctly on my local computer but when I upload to my server, It doesn't show movie. I don't know why, do I have to set something on the server?
P.S. Already check path are correct
The script below
<script type="text/javascript" src="files/swfobject.js"></script>
<div id="flashcontent">360 degree virtual tour - requires <a href="http://www.adobe.com/go/getflashplayer/" target="_blank">Adobe Flash Player 9</a> </div>
<div align="center">
<script type="text/javascript">
var so = new SWFObject("files/pano.swf", "pano", "485", "360", "9", "#282828");
so.addVariable("xml_file", "01Pool_Sala.xml");
so.addVariable("redirect", window.location);
so.addParam("allowFullScreen","true");
so.addParam("allowScriptAccess","sameDomain");
so.write("flashcontent");
</script>
</div>
The XML script below
<?xml version = '1.0'?>
<panorama>
<parameters>
layer_1 = files/autorotator.swf
layer_2 = files/hotspots.swf
layer_3 = files/limits.swf
layer_7 = files/movDecoder.swf
layer_8 = files/menuFullscreen.swf
panoType = mov
panoName = images/01Pool_Sala
segments = 15
oaderStreamed = 1
loaderBandwidth = 50
loaderText=
</parameters>
<autorotator>
speed = -0.2
interval = 30
pause = 500
quality = best
</autorotator>
<hotspots>
<global>
<spot id="down" static="1" salign="BC" staticX="-30" staticY="-30" url="images/black_d.png" blockMouse="1"
onPress="pano.tiltKey=-2,500"
onRelease="pano.tiltKey=0"
/>
<spot id="zoomOut" static="1" salign="BC" staticX="80" staticY="-30" url="images/black_m.png" blockMouse="1"
onPress="pano.zoomKey=-2,500"
onRelease="pano.zoomKey=0"
/>
<spot id="zoomIn" static="1" salign="BC" staticX="130" staticY="-30" url="images/black_p.png" blockMouse="1"
onPress="pano.zoomKey=2,500"
onRelease="pano.zoomKey=0"
/>
<spot id="full" static="1" salign="BC" staticX="210" staticY="-30" url="images/black_f.png"
onClick="fullscreen(-)"
/>
</global>
</hotspots>
</panorama>