Re: [Flashcoders] Detect iPhone version

2010-10-11 Thread Kevin Newman
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


Re: [Flashcoders] Detect iPhone version

2010-10-07 Thread Sidney de Koning - Funky Monkey Studios
Hi Kevin,

I think its Capabilities.os
(http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/system/Capabilities.html#os)

And the properties you were taling about; Capabilities.touchscreenType are
only available in AIR 2.5 for Android prerelease but this is going live
tomorrow ;)

Have fun!

Sidney

   No way to tell?

 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



-- 
Sidney de Koning - If you're not prepared to be wrong, you'll never come
up with something original
Flash / AIR Developer @ www.funky-monkey.nl
Actionscript 3 Teacher @  www.sae.nl
Technical Writer @ www.insideria.com
Blogger @ www.funky-monkey.nl/blog/

3GB free storage you can sync with your mobile device or Mac or PC. Check
out https://www.getdropbox.com/referrals/NTI1MjcxMzk






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


Re: [Flashcoders] Detect iPhone version

2010-10-07 Thread Kevin Newman

 Doh! Let's hope they bring Packager for iOS up to snuff with AIR 2.5 soon!

Kevin N.


On 10/7/10 3:53 AM, Sidney de Koning - Funky Monkey Studios wrote:

Capabilities.touchscreenType are
only available in AIR 2.5 for Android prerelease but this is going live
tomorrow;)


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


Re: [Flashcoders] Detect iPhone version

2010-10-06 Thread Kevin Newman

 No way to tell?

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] Detect iPhone version

2010-10-02 Thread Kevin Newman

 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