Sample Accelerometer Widget
From Chumby Wiki
Example file that shows how to use the accelerometer, as well as plot a graph.
FLA source file (requires Flash 8 or later): accelgraph.fla
Another example, by zachninme: accelgraph.fla
Other examples: