I've read in another source, that capabilities.os will return the actual iPhone model code ( iPhone1,1 = Original, iPhone1,2 is 3G, etc )

I can't tell you where I read that, because the first rule about it is, you don't talk about it. It's the second rule too.

Kevin N.


On 10/2/10 3:06 AM, Kevin Newman wrote:
 Hi,

Anyone know how to detect the iPhone version a Flash CS5 iPhone app is running on? I have a game that runs at 59.1 FPS on a 3GS or ~45FPS on an older iPod touch.

I'd like to be able to detect which device the app is running on, so I can throttle back the FPS, to 30 or 40 on slower hardware (30 for iPhone 3G which is slightly less powerful on paper, than iPod touch 2g).

BTW, the frameskip feature isn't very smooth (I'm using the ENTER_FRAME/stage.invalidate()/RENDER method).

Thanks,

Kevin N.


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to