How do I access the accelerometer of the iPad on board animate?

How do I access the accelerometer of the iPad on board animate? Need code to be able to start an animation of a label, once the iPad has been rotated by the Viewer.  Help?

Hi, i.brown-

Try searching the deviceOrientation event.  Christian Cantrell has a great video that talks about:

http://blogs.Adobe.com/Cantrell/archives/2012/03/accessing-the-accelerometer-and-gyroscope-en-JavaScript.html

-Elaine

Tags: Edge Animate

Similar Questions

Maybe you are looking for