Processing into Flash - Cows can fly

11:19 pm Projects

I didn’t think it was possible (heck of COURSE it was possible I just didn’t understand how) to get processing to send variables into flash but it is. For my next project for Digital Media we have to create a physical button that controls interactions on the screen. The majority of us are using wiring boards to take info from switches and make processing do some fancy things.

I’m chasing something a little different however. I’m using processing to catch the states of the buttons (on, off or true, false) and sending them to flash through a local socket server in order to control movement on the screen. I have a working script at the moment which takes info from three buttons hooked up to a wiring board and transmits their states (true, false) to flash which displays them as text fields on the stage.

If you want to use my script for sending you own information into flash then download the source here.

Leave a Comment

Your comment

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.