I'm quite an experienced programmer, but a complete beginner with electronics. I've had an Arduino starter kit for the last few days and have worked through a couple of the sketchbook samples.
I've managed to interact with Flash application through following this tutorial - http://www.codingcolor.com/as3/arduino-flash-as3-part-1/
I've bought some photo Interrupters and would like one of them to work like a simple button, my final goal is to trigger a Flash animation on a computer using a photo Interrupter.
My issue is that I really have no idea on how to attach my Photo Interrupter to my Arduino.
I'm using this - http://www.skpang.co.uk/catalog/photo-interrupter-gp1a57hrj00f-p-892.html?zenid=ubu4a09phmdrj8074bekk8tp33 The data sheet is here - http://www.sparkfun.com/datasheets/Components/GP1A57HRJ00F.pdf
Here's a photo of what I've tried so far - http://imgur.com/75RPs
I hope this makes sense, I can't stress how new I am to all this. Any help is much appreciated.