Arduino Flash communication AS3 – As3Glue bundle
I’ve created a Flash monitor application with As3Glue to make it easier to start with Flash Arduino communication.
Glue is an ActionScript 3.0 library that enables communication between Flash and Arduino boards with Firmata. Since Flash cannot interface the serial port directly we’ll use Serialproxy in between. Serialproxy converts incoming serial data the XMLsocket data.
The monitor is useful to check if all the connections are working good. You can monitor directly all the sensors and actuators connected to your Arduino board.
The example code file is a start point to program your own things controlled by Arduino.
Included files :
- AS3Glue files ( .net.eriksjodin.arduino )
- Tinkerproxy osx ( renamed to serproxy )
- Serialproxy windows ( renamed to serproxy )
- as3glue_standalone_monitor.fla
- as3glue_program-example.fla
The Firmata library is included with Arduino itself. Make sure you use Arduino 018, because the Firmata library included in version 017 is not stable.
Update (12-05-10, v1.3): I’ve updated the code for the support of two servo motors (pin 9 and pin 10).
Download the zip-file : arduino_as3glue_bundle_v1.4

Art&Technology related bookmarks
Hi Kasper,
first of all thanks for this tutorial. It is very easy and good explained.
I have a problem with my Arduino Mega. I don´t get no response. I followed all your steps. I loaded Firmata to the board. Then i configurated the serproxy as in your discription. After starting the flash program, there are no errors displayed. But on the board there is no signal on pin 13.
After following your steps a couple of times i took a duemilanove Board and it works perfectly.
Do you have any idea why does´nt work the Arduino Mega Board?
Thanks for your answer!
Cheers,
kadri