PDA

View Full Version : Call Actionscript Function


Valente
05-02-2007, 11:27 AM
Is it possible to call a generic Actionsctipt function clicking a HotSpot?

I want to embed FPP in my custom Flash application and I want to call actionsctipt function from hotspot, how can I do it?

Thanks

Denis
05-07-2007, 06:36 PM
You can create a button in Flash with any Actionscript code and load it as a spot.
Button created in Flash CS3 (compiled for AS3) can call the panorama player and your application directy, for AS1/AS2 you can use LocalConnection or ExternalInterface.

Yes, Im going to add some interface to call custom Actionscript commands from Hotspots plugin script in future.

labs
11-30-2007, 10:13 PM
Great! How do you access it directly?

chadu
01-20-2009, 04:42 PM
You can create a button in Flash with any Actionscript code and load it as a spot.
Button created in Flash CS3 (compiled for AS3) can call the panorama player and your application directy, for AS1/AS2 you can use LocalConnection or ExternalInterface.

Yes, Im going to add some interface to call custom Actionscript commands from Hotspots plugin script in future.

Denis, did you ever add this interface to the hotspots plugin?