Game Development Stack Exchange is a question and answer site for professional and independent game developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I use an iPhone as a controller for a flash game, as described here?

share|improve this question
I've made a few extreme edits to the question and title in order to try to clarify exactly what you're asking for. Please revert the edit if I've misunderstood what you were asking. – Trevor Powell Dec 26 '12 at 22:20

I don't think it's hard to do assuming your setup is something like this

phone --- remote server --- flash

The flash app and the app on the phone need to share a code to be bonded togheter. You can ask the user to insert a code manually or you can use a QR code.

The flash app use a socket to connect to the remote server, the phone app do the same. Both the apps send the shared code to the server and the server now knows that the input from the phone app need to be redirected to the flash app with the same code.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.