Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Communication flash to flash

1 réponse
Avatar
fagog
Bonjour,

Voila je voulais savoir si on pouvait communiquer entre deux swf differents
sur une meme page, et si oui, comment.
Pour ma part, je dois cliquer sur un bouton "A" qui va appeller une fonction
dans mon flash "B".

merci d'avance.

1 réponse

Avatar
E-stampida
oui, voir la class
LocalConnection class
Availability
Flash Player 6.

Description
The LocalConnection class lets you develop SWF files that can send
instructions to each other without the use of fscommand() or JavaScript.
LocalConnection objects can communicate only among SWF files that are
running on the same client computer, but they can be running in different
applications—for example, a SWF file running in a browser and a SWF file
running in a projector. You can use LocalConnection objects to send and
receive data within a single SWF file, but this is not a standard
implementation; all the examples in this section illustrate communication
between different SWF files.

"fagog" wrote in message
news:d0h4a0$sei$
Bonjour,

Voila je voulais savoir si on pouvait communiquer entre deux swf
differents
sur une meme page, et si oui, comment.
Pour ma part, je dois cliquer sur un bouton "A" qui va appeller une
fonction
dans mon flash "B".

merci d'avance.