Serial Server for Flash, etc.

I got tired of the problems with the various serial server solutions for Flash, so I wrote this Processing sketch to do the job. It’s functional, but I still need to tweak it a bit. But it will allow you to connect a Flash movie to a serial port by making an XML socket to localhost in order to access the serial port. Sample test ActionScript code is at the bottom.

Thanks to Shawn van Every for the latest updates, and Actionscript 3 code.

[include file="../../code/Processing/SerialServerFlash/SerialServerFlash.pde"  clean="true"]

Test ActionScript Code: Thanks to Shawn Van Every and Dan O’Sullivan for this code.

[include file="../../code/actionscript/SocketClient.as3"  clean="true"]
This entry was posted in Processing. Bookmark the permalink.

Comments are closed.