Phidgets are a set of "plug and play" building blocks for USB sensing and control from your PC. Think of analog sensors, servomotors, LEDs et cetera. You can use Actionscript 3.0 (and several other languages) to develop applications.
In this video I show an example of using Phidgets and Papervision3D.
More info: www.phidgets.com