Solved

Handling Screen Resolution for flex desktop apllication

Posted on 2011-03-11
5
680 Views
Last Modified: 2013-11-06
Hi All,

We are developing a product using flex4 Actionscript3.0. Air 2.0.
our idea is to develop a product which can fit into a device, desktop or laptop  with diff resolution  etc.....
The application consists of many images.....
In order to make the product flexible how should we startup with the design wrt images, controls , containers of flex4.....
Since we are beginners we have no enough idea in developing product  is there any inputs to be known in prior.........
Planning to design product with touch screen ....

Regards
Pradeep
0
Comment
Question by:SreeramojuPradeep
5 Comments
 
LVL 4

Expert Comment

by:mawni
ID: 35107652
I am not that expert in flex also, but I am using it to develop softwares since two years, what I do to make the resolution relative to screen resolution, is as follow:
1. Read The Screen Resolution, (X,Y)
2. For Main Application Screen
Width = {mainScreenX*0.5) Height = {MainScreenX*0.5)
3. Form Called Add User
AddUser.Width = {mainX*0.5) .. ..
4. Data Grid in Form add User
dg.width = {frmAddUser * 0.33) ...
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 35108212
You have to start your application design keeping in mind of a liquid layout.
Try using percentages while assigning width and height of components within. Also for positioning do not use hard-coded values, all should be relative to the available display area.

Warm Regards
Deepanjan Das
0
 

Author Comment

by:SreeramojuPradeep
ID: 35276581
Hi Deepanjandas,

I am beginner in Flex So Can you please explain me through an example.. How to position relative to the available display area.


Thanks & regards
Pradeep
0
 
LVL 7

Accepted Solution

by:
pegasys earned 125 total points
ID: 35346257
IN flex, make sure ALL of your objects remain as vector so they scale evenly with the screen... If they are fixed "bitmaps" they will end up sort and fat, or tall and thin.
0
 

Author Comment

by:SreeramojuPradeep
ID: 35356454
Hi Pegasys,

    This is what I am looking for................  
Can u pls explain me with an example the usage of vectors i.e .svg files in flex application(AIR application).

Thanks & Regards
Pradeep

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dual Monitors with Software 1 124
Turn on display when getting a skype call 6 123
Are there issues with DIsplayPort to HDMI? 10 95
Windows 10 Black Screen and Reboot Redux 22 180
First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
A case that appears to me sometimes when repairing LCD laptop screens is typical: It can be seen in several cases : 1 / The screen is very dark but you can see your desktop with a light, and/or you hear the windows sound. First thing to change …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question