Welcome, Guest. Please login or register.
Did you miss your activation email?
02/07/12, 08:26
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  General
| |-+  Flash MX 2004 (Moderators: Flash-db, Musicman, vesa kortelainen, Ronald Wernecke, Andresss, papachan)
| | |-+  Resolution question
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Resolution question  (Read 903 times)
Ifalldown
Server what's that
*
Posts: 12


View Profile Email
« on: 04/07/10, 13:00 »

My question revolves around visitor experience when handling the various amount of screen sizes these days. Is it better to design several sites to meet the demand, full screen flash or use coding. This is what I did.

screenWide = System.capabilities.screenResolutionX;
screenTall = System.capabilities.screenResolutionY;

if(screenWide==800 && screenTall==600) {
getURL("http://xxx/zzz.htm","_self");   



if(screenWide==1024 && screenTall==768) {
   getURL("http://xxx/zzz.htm","_self");
}

and so on. I thought this way would best maintain the integrity of the design while providing the visitor with a quality experience. Do any of you have some thoughts or experiences with the best way to handle this?

Thank you
 
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14593


View Profile
« Reply #1 on: 04/08/10, 04:58 »

Yours is probably the safest approach since it delivers a version for each resolution, but probably works multiply. Another choice is to use a liquid layout to match different sizes, that means use the Stage.onResize listener to allocate your stuff around the screen. If you design with this in mind probably you can achieve the same goals with less effort

Another thing: use Stage.widyh or height instead of screenResolutionY and screenResolutionX, since the browser can not be in full size (but usually does) Also don't check for exactly sizes but for ranges, since lately there are a lot of new devices with less standard screen sizes. My laptop right now has 1366 x 768

Jorge
Logged

Ifalldown
Server what's that
*
Posts: 12


View Profile Email
« Reply #2 on: 04/08/10, 20:21 »

Hey Jorge,

Got ya on the stage. width but I'm not sure on the AS with the screen ranges. Would I do a math.randomRange min:600?. The liquid layouts are nice but I ran into some communication issues with the MC's. You probably wouldn't have a problem but I fall down alot with AS. I have an AS dictionary full of script that don't work.  Roll Eyes 

Thanks
Logged
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14593


View Profile
« Reply #3 on: 04/09/10, 07:56 »

The real dimension of your movie could be checked against this 2 properties:

Stage.width
Stage.height

So based on this, redirect to the one that match close

Jorge
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!