Connection to Flash
Mchelper can also connect to Flash and route messages to and from any of the connected boards to your Flash movie. For full documentation on using the Make Controller Kit with Flash, check:
- The Flash tutorial.
- The Flash library reference.
Mchelper will listen on a given port for connections from Flash movies. By default, this is port 11000. You can change this by clicking:
- File -> Preferences (Windows)
- mchelper -> Preferences (OS X)
and editing the "Listen for incoming XML server connections" port.
Some messages coming through mchelper from Flash.
- A status message (in gray) alerting us to the fact that a Flash movie has been fired up and has successfully connected to mchelper.
- The message in green is a message that the Flash movie has sent, out to one of the boards connected to mchelper.
- The white messages are the responses from that board, which have been sent back through to Flash.
- Another status message showing us that the Flash movie has closed the connection to mchelper.
As of mchelper 2.2.0, it is possible to connect multiple Flash movies to mchelper. This way you can run any number of instances of Flash, and they'll all receive messages from any connected Make Controllers. Flash movie sending messages to the board, but
The connection between mchelper and Flash is a simple TCP connection, over which XML is transmitted. Any TCP- and XML-enabled client can communicate with mchelper - see this how-to for details on how to do that.

