Solved

Handling Screen Resolution for flex desktop apllication

Posted on 2011-03-11
5
685 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

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

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 "…
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

623 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