Flash Embed Communication

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
mark_bcn
Forum Newbie
Posts: 4
Joined: Mon Nov 01, 2010 11:28 am

Flash Embed Communication

Post by mark_bcn »

Hello,

I have a question regarding design so I thought this was the correct place to ask :)

I have a web that contains rooms (each room one .php). Users can login to the web and then enter a room.
Inside the room I have an embbeded flash (a minigame).

Now, I would like that two players in the same room, can play that minigame against each other, so my question is: how can I do the communication between both users?

extra-info: my idea is that each time a user does an action, the new situation is saved in the database, then sends some kind of signal to the other user, that one receives the signal, refreshes the flash (which loads the new situation) and does his turn.

I really need help on this, really :(
Thanks in advance so much.
s992
Forum Contributor
Posts: 124
Joined: Wed Oct 27, 2010 3:06 pm

Re: Flash Embed Communication

Post by s992 »

This thread might help... viewtopic.php?f=19&t=123311
Post Reply