header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
NileshPawar
Points:280
Posts:0
Answered

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



1
VideoWhisper
Points: 50
Posts:0
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.

2
Wallace
Points: 0
Posts:0
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.

3
Shawn
Points: 0
Posts:0
Accepted Answer
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


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+7 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions