5/25/2010 6:36:24 AM
Title:
Better way to communication between two swf's
Hello Members,
I am looking for better way to communicate between two SWF's rather than "LocalConnection".
If there are any other (better) ways for two different swf communication then please let me know. As local connection allows only one communication connection at a time.
Thanks
5/25/2010 7:25:13 AM
Where do these swf load? On same computer or different computers?
On different computers you can use a RTMP server in the middle.
5/25/2010 7:44:22 AM
You can create as many connections with the local connection , there is no such limit , The only condition is that connection name should be unique. I have create more than 20 connections at the same time from actionscript 3.0 to actionscript 2.0 swf files.
5/25/2010 7:52:33 AM
If your swf files are at the same page you can communicate in following ways
1) SWF --> javascript --> SWF using External Interface class in flash
2) Using FMS / RED5 / WOWZA with SharedObjects
3) Local connection
4) Http Service method: Using some httpservice, using ping method in loop . Its a slow method recommended for slow and occasional communication.
If on same computer but on different pages :
1) Local connection
2) Shared Objects (With FMS/ RED5 /WOWZA server)
3) HTTP Service method
On different computers
1) Shared Objects (With FMS/ RED5 /WOWZA server)
2) Http Service method