Using WCK with accelerometer on a phone?

Hi everyone...
How can i use the accelerometer on a phone with a WCK component? I've made a ball that i want to move around the screen using a phones accelerometer.

EDIT: i've found out the accelerometer works when the WCK component is set to static (it's just a simple ball i'm using), but then collision detection dont work or anything else, because it needs to be set to dynamic but that then breaks the accelerometer movement... what can i do?

Or maybe i'm going about this the wrong way and somehow need to change the world gravity using the accelerometer?
Anyone?

All i'd like to do is make a WCK ball move around the screen using the phones accelerometer, and be able to navigate around other WCK objects i've placed on the stage (like walls). I can make a movieclip work with the accelerometer, but not a WCK object. I'm not good enough with AS3 to figure this out myself, but after i've got the ball working then that should be enough for me to get things going.
Hi,

I am having same issue with accelerometer test, did you ever get this working?

If yes, can you please provide some direction how to do it? I am too a beginner for WCK.

Thanks in advance.

shri2ns

Original thread: https://box2d.org/forum/viewtopic.php?t=6943