You can communicate from Flash to an Arduino device by using a proxy. The proxy runs on a machine which is connected directly to the Arduino with a serial connection. Your AS3 code talks to the proxy over a TCP socket, and the proxy talks to the Arduino over the serial connection.This whole setup is made pretty simple by Erik Sjodin's as3Glue library:as3Glue is an ActionScript 3 library that enables communication between Flash/Flex/AIR applications and Arduino boards. It can together with one or several Arduino boards be used to monitor sensors (such as rotary encoders and motion detectors), control actuators (such as LEDs and motors) and interface other electronics (such as RFID readers) from Flash, Flex and AIR applications.The library includes Arduino sketches and ActionScript 3 code examples as well as custom version of the Standard Firmata Arduino firmware and a serial proxy.