PDA

View Full Version : Access Flash Functions from hotspots


Dewdan
05-05-2008, 03:16 PM
Hi Everybody,

I have a hotspot that is a flash movie (MP3 player) and I wonder how can I access the functions I have written on the flash.
For example, when I use the pause button on the player it works fine,
but how can I say to the player :

"When video hotspot is loaded pause the sound of mp3 player"

Thanks for some Ideas because I actually haven't figure out yet how to communicate between my flash movies.
I am using the "LocalConnection " fine to tell flash what to do , but can't figure out how to make swf 1 to give orders to swf 2.
Some XML sample would be appreciate.

Hopefully this is all clear :-(

Thanks

zleifr
05-14-2008, 12:17 AM
There are two basic ways to accomplish this sort of thing:

A communication between the plugins
B tell both plugins what to do from the XML simultaneously.

The fundamental challenge is whether you can figure out how to make the plugin do what you want, or if you have the source, whether you can code it to do what you want. Hopefully you can already make the two plugins do what you want, in which case you sent instructions to both from the XML. If you are going to try and make two plugins communicate between themselves, you have to have the source, and you have to code in the LocalConnection stuff to make it happen.

Hopefully that is all clear and helpful,
Zephyr