Processing into Flash - Cows can fly
May 18, 2007 11:19 pm ProjectsI 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.
