you have to get some 25FPS
but try to make a widget, and use javascript to serve accelerometer data to your flash....
I've made something like this:
Code:
function echo(str){
var t=new Date();
if(t.valueOf()-T.valueOf()>1000/flashFPS){
document.getElementById("swfDIV").SetVariable("flashVariable", str);
T=new Date();
}
}
where echo is a function that is called from the callback function from API's mechanism from javascript
that function ensure that flash does not get values more than <flashFPS> per second
the problem is like this: the APIs throw values in flash more too fast, and the the flash waits the whole frame to process just one thrown value(even that frame was thrown many values)

Originally Posted by
ranco
Yes, I know all about this, but the game takes only ~60 seconds, and I've really optimized it so that sensor readings are collected as fast as possible, so it should work fine.
What I now suspect is that N97 is FL3.0 and 5800 is FL3.1, which is better optimized for performance. I guess I'll have to start profiling on the N97 to get the bottleneck...
Thanks,
Ranco