Integrating your Arduino With Flash and Actionscript 3 by acksheep13
So you might have been looking around on various websites downloading the code for Arduino to communicate with flash, But if your like me you had some trouble trying to get it setup.  Well this tutorial will show you howto setup the Arduino with flash.  Once I find out more info I will show howto run complete scripts from flash to the Arduino.
 
Remove these adsRemove these ads by Signing Up

Step 1: Download the proper files

It is assumed that you already have used the Arduino before so I will not go over the Basic setup. Below is a link to the Zip Archive which contains the files for the Intergration.
http://www.kasperkamperman.com/wordpress_kk/wordpress_uploads/2010/05/arduino_as3glue_bundle_v14.zip
This Link is provided by Kasper Kamperman I take no credit for the work he has done, yet i provide an easy tutorial for setting up a simple program.

Once you have downloaded these files extract them to a safe place where you will not delete them.
xl97 says: Feb 16, 2011. 1:14 PM
I am sorta new to Arduino.. (just hobby playing..etc)
but am a decent Flash developer (AS2 at least) ;)

I was under the impression this only worked with AS3?

but these comments confuse me.. can you elaborate?

# Transform newlines coming from the serial port into nils
# if using Flash AS2 or AS1 : true
# if using Flash AS3 : false

Thanks
acksheep13 (author) says: Feb 16, 2011. 2:09 PM
I found this code on a site where it was listed as how to do it in AS3 so I am not completely sure.
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!