![]() |
|
|
|
#1
|
|||
|
|||
|
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> |
|
#2
|
||||
|
||||
|
Hi,
just guessing, but maybe there's a file put wrongly somewhere, or a "/" is missing or something as stupid as that. Do you use Flash tracer? It can be very helpful to find the questionable part of your code. If you do not so yet, you could: 1. Download the debug version of Flash Player for your Firefox browser here. 2. Install the Flash Tracer Firefox plugin by Alessandro Crugnola. 3. Open Flash Tracer panel in Firefox (Extras > Flash Tracer) 4. Follow instructions to set path to flashlog.txt if it's not working by default. 5. Track what's going on when you open your file offline and online and compare the differences to find out the problematical issue. Regards, Ph. |
|
#3
|
|||
|
|||
|
You're "loaderStreamed " is missing an "l" - maybe this is causing your problem. Anyways, I would take out "loaderStreamed" and "loaderBandwidth" altogether -
"loaderStreamed" isn't recommended for large panoramas, and "loaderBandwidth" is only useful if you want to check to see how long a panorama may take to download on differing bandwidths. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|