PDA

View Full Version : Embed pano hotspot


Valente
04-12-2007, 09:59 AM
Hi Denis and all

Thanks for your great plugin, now i'm able to embed flashpanoramas into another flash AS3 movie but how can i control the plugin??

I load a flash panorama with its own xml file that load hotspots plugin

Is it possible to get the reference to the hotspot and set onClick function in actionscript? (or other funcion?)
I want to call generic actionscript function from the panorama!

something like panorama.pano.hotspot_instance_1.onClick=function( )....


Thanks in advance

Denis
04-14-2007, 03:48 PM
The best way to control the Hotspots objects is to use Hotspots LocalConnection or ExternalInterface. You can execute any Hotspots script command using these interfaces.

Valente
04-19-2007, 09:12 AM
I have done several trial but nothing

I don't able to call an actionsctipt function by clicking on a Hotspot
(in an embed panorama)

Is it possible?

Is also possible to get some information about hotspot (such as id or other properties) via actionsctipt??

How can i do this trought LocalConnection?

Denis
04-20-2007, 11:26 PM
Try to reuse the code in controller.fla example. This example uses actionscript to control ListBox and it uses LocalConnection calls to control the panorama.