Go Back   Forums > Talk > General FPP Discussion

Thread Tools Display Modes
Old 10-22-2007, 01:53 PM
xt-ric xt-ric is offline
Join Date: Jun 2007
Posts: 33
Downloads: 2
Uploads: 0
Default EmbedPano.swf and Hotspots communication

I'm going to explain my problem.

I use the embedPano.swf method (more easy to draw an nice interface).
I have hotspots in the panorama in order to create a virtuel tour.
When i click on a hotspot, how can I detect this event in the embedPano.swf in order to change the map.

Reply With Quote
Old 10-22-2007, 07:41 PM
zleifr's Avatar
zleifr zleifr is offline
Senior Member
Join Date: May 2007
Posts: 609
Downloads: 0
Uploads: 0

Well I am sure there is a more "elegant" solution to your problem, but this would work:

Use the localConnection code from the combobox controller (there's an AS3 version floating around the forum somewhere). It polls the panoName every 1/2 second or so, so you can use the name changing as your event to change the map. (Also, I believe that to use the localConnection code in the embedPano wrapper, you will have to delay the connection attempt until everythings loaded. using if (pano.parsed){ funcToStartLocalConnection(); } should work.)

Hope this helps.
Reply With Quote
Old 11-05-2007, 09:55 AM
tektonic tektonic is offline
Junior Member
Join Date: Oct 2007
Posts: 18
Downloads: 0
Uploads: 0

you can access the variables directly when using embedPano.

check out this thread...
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT. The time now is 01:53 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.