Is it possible and how would I make a connection to a Flash instance in the browser from an AIR app running on the desktop?
I'm opening up a browser window to a specific web page where I can add a Flash player instance. I then want to communicate with the browser instance in a one way communication.
Example from AIR app:
- var connection = connectToBrowserFlashInstance()
- connection.send("updated");
Example code from Flash instance:
- addEventListener("messages", messageHandler);
- if (message=="updated") then do something