View Full Version : hot spots not visible after loading new pano
suastegui
06-05-2007, 12:16 PM
I have a series of pano's connected via hot spots. When I load one of these pano's, the hot spots are only visible and panned after focussing the new pano:
<spot id="jeugd_130407" static="1" salign="BC" staticX="-130"
staticY="375" url="jeugd_0407.jpg" brightness="-0.3" visible="1"
onClick="loadPano(panoName=images/jeugd_130407?xml_file=jeugd_130407.xml&,500,fade);
pano.leash=free;
link_ingang_expo.visible=0;
link_ingang_jeugd.visible=0;
link_jeugd_expo.visible=1;
link_jeugd_tijdschriften.visible=1;
/>
How can I solve this problem or better: is it possible to add hot spots to each pano and how can I show them without focussing first?
suastegui
06-05-2007, 05:16 PM
Forgot the "linked" parameter. So this problem is almost solved for now.
BUT the first pano does not show the hot spots after loading. They only turn up after navigating to another pano and coming back to the first one.
All pano's only pan the hot spots after focussing the pano.
Strange: for the initial pano I have to use
<spot id="link_ingang_expo" url="link.png" pan="-115.00" tilt="0.00" depth="32" scaleable="0" linked="images/ingang_130407"
When I return:
<spot id="link_ingang_expo" url="link.png" pan="-115.00" tilt="0.00" depth="32" scaleable="0" linked="ingang_130407"
Denis
06-08-2007, 12:57 PM
linked works wrong for the first panorama? Hm..
Could you provide a link to test it?
suastegui
06-08-2007, 09:27 PM
linked works wrong for the first panorama? Hm..
Could you provide a link to test it?
Hello Denis, please have a look at this:
http://www.greypink.de/oba_flash/index.html
and click the green symbol that says 'entree>expostite 04/07'
When you get there, you'll see a green symbol 'entree 04/07'. It sometimes is at the right position, sometimes only after focussing the pano.
Anyway, click that one and you'll get to the first pano, but this time without the green hot spots. They just disappeared. The xml file is in the same directory with the name 'ingang.xml'
birdseye
06-11-2007, 07:47 AM
Same problem here Denis...
I'm working on a virtual site about the Canarian Island, la Palma.
1st of all, I'm very happy that I found your Flashplayer. With other panoplayers, things I wanted to do with this site were almost impossible. With your player everything works (almost ;)) fine.
Here is the site... http://www.lapalma-virtualtour.nl/index2.htm
It's a bit of navigating:
- skip the intro
- open Virtual tours
- when you see the island map, click on the yellow hotspot 'Casita Manta'
- in the 1st pano. Click on the hotspot between the 2 chairs, further in the garden
- 2nd pano... click on the right hotspot (between the trees)
- On the 3d pano, a new xml file is been loaded... but nog hotspots appears.
Here's the code...
<spot id="spot_10" pan="-154" tilt="1" url="images/lizardbtn_tr.png" scaleable="0" smoothing="1"linked="panostrips/manta_strip_2" alpha="0.7"
onOver="alpha=1,150"
onOut="alpha=0.7,300"
onClick="loadPano(panoName=panostrips/raya_strip_5?xml_file=pano_8.xml)&
openUrl(../panodetail.swf?cover=2&panoID=2,detailFrame)"
/>
Thanks for any help,
Yvan.
suastegui
06-11-2007, 10:06 AM
Problem solved, Denis.
I had the initial pano also as a <spot>. So when I returned to the same view, it loaded the <spot>-pano and not the initial one.
I now have a global onStart that immediately loads the <spot>-pano.
Hope you did not invest too much time.
birdseye
06-11-2007, 02:56 PM
May I know what you changed in your code? It still doesn't work with my pano's.
Tnx in advance,
Yvan.
Denis
06-11-2007, 05:12 PM
Same problem here Denis...
Yvan.
This line looks wrong:
loadPano(panoName=panostrips/raya_strip_5?xml_file=pano_8.xml)&
Better use:
loadPano(?panoName=panostrips/raya_strip_5&xml_file=pano_8.xml)
(you made it correctly for other panoramas).
Not sure about pano_8.xml - can't find it, if you want other hotspots for this panorama, better include them to the main XML file with linked="panostrips/raya_strip_5"
You have complex enough panorama application, try to use Flash Tracer plugin as described in the last chapter of Hotspots tutorial. It will help you to watch the player operations realtime.
Denis
06-11-2007, 05:14 PM
Problem solved, Denis.
I had the initial pano also as a <spot>. So when I returned to the same view, it loaded the <spot>-pano and not the initial one.
I now have a global onStart that immediately loads the <spot>-pano.
Hope you did not invest too much time.
Not really much time (I just read it :) ). You solution looks tricky for me. This is great, finally some people knows my player better then me. :)
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.