09 September 2008

Screen sizes

Last week, I finally found some times to look a recorder eSeminar of Dale Rankine (Mocket) : Tips and Tricks for Effective Adobe Flash Lite.

In this cool eSeminar, Dale gave this tips :
Set Stage to minimum screen size, then bleed visual assets around the stage to allow for screen resizing

I'm actually using fsCommand2("FullScreen", true) to avoid problem with screensize but Dale came again with an alert
SE devices will not scale up but will scale down

ouch!
So the first tips is finally a great idea but when you see all the different screen sizes existing....wait a minute...which screen sizes EXACTLY ?

I so jumped to Bill Perry's Flash Lite enable phones sheet
I only develop for FL2.0+, since I'm not an AS1 guy so I looked to all FL2.0+ phones screen size and, well, screen sizes do not change as much as I though.
It seems I kept FL1.x phones enable screen sizes in memory.

Let's see which screen sizes exist

  • 800x352 : 1 phone (Nokia E90)*

  • 320x240 : 1 phone (Nokia E71...my future phone ? to replace my Samsung I320)

  • 320x239 : 2 phones (BREW LG)

  • 240x320 : 73 phones (56 Nokia + 17 SE)

  • 240x300 : 8 phones (BREW)

  • 240x266 : 9 phones (SE Cxxx phones ...even on the C905-capuchin inside)*

  • 176x220 : 1 phone (SE V640i)

  • 176x204 : 9 phones (BREW)

  • 128x160 : 6 phones (only Nokia S40 3rd FP2 phones)


*E90 also has a secondary display which is 240x320

So...what does this mean ? What I see is that a lot of phones are 240x320 (or near)...
Personnaly, I'll try now to make applications in 240x320 with a 240x266 effective view (27 pixels up and down for other phones)
"Wait! you loose 20 phones!"
Well, if you really want to support the others size, just use some math ;)
128x160 is a 240x300 scaled down
176x204 is a 240x278 scaled down
176x220 is a 240x300 scaled down
320x240 is a 240x320 flipped...you'll need to handle that (and the controls!)
320x239 is near a 320x240, no ? ;)
for the E90...I don't know if FL applications could be launched on the secondary display. If so, it's a 240x320!

This post is what I'm actually testing...I don't know if you should do the same.
I just point out some details which could give you some ideas for your futur development. It's up to you and the main goal of your application.

oh...and the Chumby need a 320x240 SWF ;)

No comments: