benarent.co.uk

Ben Arent
Product Designer
info@benarent.co.uk

Using Phidget Sensors to trigger an animation in as3.

March 16, 2008

 

phidgets magnet sensor

After recently purchasing a Phidget 8/8/8 Interface kit I started to have some problem using these sensors to drive a flash as3 animation. The Phidget as3 examples are useful but don’t really give ‘real’ world examples for starting to use sensors to drive a flash animation.

The solution was to create my own event handerler, this event handler is called in the onSensorChangeFunction, which triggers when there is a onSensorChange Event.

You can download my a3 phidget slider example Phidget Magnet Example .

phidgets magnet sensor closeup

(more…)