How do I access the iPad accelerometer in Edge Animate? Need code to be able to start an animation from a label once the iPad has been rotated by the viewer. Help?!?!
Try looking up the deviceOrientation event. Christian Cantrell has a great video that talks about it:
Great video. Cool stuff...
Where can get an example of the actual code though?
If you click on the "Compass" link on the link I sent you, it'll send you to htmlcompass.com. If you look at the source of that file, you can find deviceorientation in the start() function of the main JS file.