Flash Communication

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
smudge
Forum Contributor
Posts: 151
Joined: Sun May 20, 2007 12:13 pm

Flash Communication

Post by smudge »

Say I had 2 pages, each containing a flash applet. One would be always open at a designated IP, and the other could be opened on any IP. I want to be able to have the two applications send commands and data back and forth, like a server and client. What is the best way of going about this, or how do I go about this. I'm pretty good with flash, but not with communications b/t them. The best idea I have is to have the server app grab the ip address of the client app, then send data back to that ip until the client app sends a "close connection" command. If possible, I would like to specifically send streaming video/sound back and forth. Any help would be greatly appreciated :D
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

Sounds like you're going to have to make use of php sockets (if using php), and actionscript XMLSocket() class.
Post Reply