Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7934893
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:45:40+00:00 2026-06-03T21:45:40+00:00

Forgive me if this is a stupid question. I’m a bit new to mobile

  • 0

Forgive me if this is a stupid question. I’m a bit new to mobile development.

I’m trying to test out building an app with Adobe Flex 4.6, for iPad, Android, and BlackBerry PlayBook devices.

I just built a real quick and dirty ‘Hello World!’ app to start with. I placed an image, a button, and a textbox on the page, making them all centered. I set the application DPI to 160.

Now when I ran the app on my PlayBook, everything looks fine and awesome. I’m going to get an iPad from a co-worker to test, but I tested it on another developer’s iPod Touch, and the app did not scale well at all. The positioning of the image and textbox are off, and the textbox was even over top of the image a bit.

I ran the Flash emulator a couple of times to simulate a Galaxy Tab 10.1, and the elements looked okay, but were off center due to the larger screen size. So the app is not scaling at all.

Am I missing something here?

EDIT:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
           xmlns:s="library://ns.adobe.com/flex/spark">
<s:Label x="323" y="365" width="377" height="40" fontSize="36" text=""     
    textAlign="center" verticalAlign="middle" id="label1" />
<s:TextInput id="textbox1" x="365" y="227"/>
<s:Button id="button" x="433" y="289" width="159" label="Button"
          click="button_clickHandler(event)"/>
</s:Application>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:45:41+00:00Added an answer on June 3, 2026 at 9:45 pm

    If you want your application center in all resolutions you don’t have to use absolute coordinates. You need to use layouts. Like this for example:

    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:s="library://ns.adobe.com/flex/spark">
    
        <s:layout>
            <s:VerticalLayout verticalAlign="middle" horizontalAlign="center" />
        </s:layout>
        <s:Label width="377" height="40" fontSize="36" text=""     
                 textAlign="center" verticalAlign="middle" id="label1" />
        <s:TextInput id="textbox1" />
        <s:Button id="button" width="159" label="Button"
                  click="button_clickHandler(event)"/>
    </s:Application>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Forgive me if this is a stupid question. I am completely new to building
I'm kinda new to rails so forgive if this is a stupid question. The
Please forgive this stupid question. (I'm originally an ASP.NET programmer.) I'm trying to add
I'm new to PHP so please forgive me if this is a stupid question.
Forgive me if this is a stupid question. I am not very experienced with
I am a Scala novice so forgive me if this is a stupid question,
Forgive me if this is a particularly stupid question! mysql_query($query) returns a boolean, but
Forgive me if this is a really stupid question, but how do I get
Forgive me if this question is stupid, however what is the point of the
If this is a stupid question, forgive me, I'm not very familiar with PostgreSQL.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.