Virtualguide
03-11-2008, 07:42 AM
Hi all,
I spent a lot of time with coding some presentations, hovewer there is a problem I am not able to solve. Please help if You can:
It should be auto presentations - should go automatically through several panoramas and xml files - each xml representing one location/building in the historical town centre with several panos.
I used openUrl tag for addressing the locations with hostspot in panorama and for automatic opening of new location at the and of former location:
location1 - index1.html calling 01.xml /several panos
.
.
.
location10 - index10.html calling 10.xml /several panos
Hoverer after I changed the working folder of virtual tour to other logical disk I noticed the problem with
openUrl tag - it does not work!
It seems to be the flash "Global Security Setting" issue - as the former logical disk was added to the trusted locations and new one not, all Url addresses were blocked / after I added new logical disk to the trust locations it worked again.
1. However this should be the offline project and I can not expect the users would know to do this... some of the hotspots would be not functioning and automatic movement at the end of one location freezes...
2. Why is flash blocking the local files - URL adress??? I use relative path - just onClick="openUrl(index.html,_self)"...
(for those who does not know what I am talking about, click on the flash content - e.g. flash pano with right mouse button and choose and choose >settings >> advanced...)
II.
I tried to avoid this by using loadpano(blablabla...xml_file=....). I spent another amount of time to change all of xml hotspots and automatic movement code - but found another problem:
In the previous example it worked in such way: first pano moves automatically, then changes to second then opening other Url with new xml file etc... everything work as it should...
But if I do not use openUrl command but loadpano(file/mypano&xml_file=second_place.xml&pan=90&tilt=0&hfov=90) instead - after some time of doing what is in the code (auto movement) it starts to do stupid things - it moves completely different as it should...!!!
As the auto movement code is OK - when I use openUrl command which runs the same xml as if use loadpano(....xml_file...) it works nicely. The problem starts some time after automatic loading of new xml_file.
I think there must be some issue with memory(?)
Please help, If You have solution for just one of this two problems it would help me a lot!
1. openUrl command does not work locally (Why?)
2. strange movements while using loadpano(...xml_file=something.xml...) in the next pano /different from those in the code
Thanks a lot!
I spent a lot of time with coding some presentations, hovewer there is a problem I am not able to solve. Please help if You can:
It should be auto presentations - should go automatically through several panoramas and xml files - each xml representing one location/building in the historical town centre with several panos.
I used openUrl tag for addressing the locations with hostspot in panorama and for automatic opening of new location at the and of former location:
location1 - index1.html calling 01.xml /several panos
.
.
.
location10 - index10.html calling 10.xml /several panos
Hoverer after I changed the working folder of virtual tour to other logical disk I noticed the problem with
openUrl tag - it does not work!
It seems to be the flash "Global Security Setting" issue - as the former logical disk was added to the trusted locations and new one not, all Url addresses were blocked / after I added new logical disk to the trust locations it worked again.
1. However this should be the offline project and I can not expect the users would know to do this... some of the hotspots would be not functioning and automatic movement at the end of one location freezes...
2. Why is flash blocking the local files - URL adress??? I use relative path - just onClick="openUrl(index.html,_self)"...
(for those who does not know what I am talking about, click on the flash content - e.g. flash pano with right mouse button and choose and choose >settings >> advanced...)
II.
I tried to avoid this by using loadpano(blablabla...xml_file=....). I spent another amount of time to change all of xml hotspots and automatic movement code - but found another problem:
In the previous example it worked in such way: first pano moves automatically, then changes to second then opening other Url with new xml file etc... everything work as it should...
But if I do not use openUrl command but loadpano(file/mypano&xml_file=second_place.xml&pan=90&tilt=0&hfov=90) instead - after some time of doing what is in the code (auto movement) it starts to do stupid things - it moves completely different as it should...!!!
As the auto movement code is OK - when I use openUrl command which runs the same xml as if use loadpano(....xml_file...) it works nicely. The problem starts some time after automatic loading of new xml_file.
I think there must be some issue with memory(?)
Please help, If You have solution for just one of this two problems it would help me a lot!
1. openUrl command does not work locally (Why?)
2. strange movements while using loadpano(...xml_file=something.xml...) in the next pano /different from those in the code
Thanks a lot!