Solved

Handling Screen Resolution for flex desktop apllication

Posted on 2011-03-11
5
675 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
samsung smart tv and roku 6 73
Multi monitor, video display issues 7 56
Using a Smart TV as a Computer Monitor 2 93
Windows 10 Black Screen and Reboot Redux 22 148
Buying a new television today is nothing like it used to be. There are so many new features and terms, it's barely comparable! I hope to clarify a lot of the terms and give a little help for the buyer in this article! Most retailers have both a "…
I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
This is a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

932 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now