I'm playing with an Arduino pressure sensor, and what I'm trying to do is make a video play when someone squeeze's the sensor (which will be attached to a hand), the idea being the viewer must hold hands with someone for the video to play, and will pause if they remove their hand.
I'm pretty aware that Flash is the best approach for coding a video to play and pause, my question however would be....could someone suggest a working code to make it happen? Play on pressure, pause without?
which has methods to play() and pause() the movie... you can program a function to receive sensor status from Arduino and call thouse methods.
I don't know if Flash is able to "talk" with Arduino using serial port... a quick search with Google seems to indicate it requires an external component (Zinc, http://www.multidmedia.com/).
you can use a serial-to-LAN proxy to send Arduino messages to your Flash app... and it works fine in both directions...
for example give a look to this project: http://blog.thestem.ca/archives/77