PDA

View Full Version : problems loading xml file using hotspot


Jaume
11-21-2008, 11:49 AM
I got a problem trying to load a pano and the xml file associated. Also the fullscreen button doesn't works, just works in local, not in internet.(?ї)

the roots are the next:

-casa_vilassar /

-sala /
sala.swf
sala.xml
/files
/images


-terraza /
terraza.swf
terraza.xml
/files
/images





Here you got the link of the two panos linked.

http://www.inpixel.es/fpp/casa_vilassar/sala/sala.swf
(http://www.inpixel.es/fpp/casa_vilassar/sala/sala.xml)


http://www.inpixel.es/fpp/casa_vilassar/terraza/terraza.swf
(http://www.inpixel.es/fpp/casa_vilassar/terraza/terraza.xml)




Can you take a look please?

Thanks! :)

VRego
11-21-2008, 02:13 PM
I think i had the same problem!
If i recall i "embeded" the .swf pano with swfobject to solve this.

VRego

Jaume
11-21-2008, 05:54 PM
I think i had the same problem!
If i recall i "embeded" the .swf pano with swfobject to solve this.

VRego

How do I embed the swfobject if I don't want to use a html file?

Jaume
11-24-2008, 12:48 PM
I've tried to change the paths. I've putted the (panos).swf in the same folder, and the images in the same folder of images. And it works, changing the xml path of the evnt "onClick".

But if i have the panos in diferents folders (as i have now) the xml doesn't load. I've tried changing the path and the problem persist.

Someone can help me please? I'm trying to resolve this for one week ago...

siesfor
11-24-2008, 04:57 PM
a couple ideas....

the xml file already specifies the panoName, so what about just calling the xml_file instead of the panoName & xml_file in your loadPano?

if that doesn't work, why not just put it all in to one xml file? it's a small tour, and the only thing you're changing is the pano and a hotspot, which can be done easier in one xml file, than 2.

as for the fullscreen feature. I'm not completely sure, but I don't believe that it will work without embedding it in an html w/ the swfobject file.

Jaume
12-04-2008, 09:20 AM
thanks Siesfor.
I don't know what i'm doing bad, but i've tried a lot of options and the problem persist, so finally i put the xml and the pano.swf files in the same folder.