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 1074651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T21:09:38+00:00 2026-05-16T21:09:38+00:00

I’m developing a presentation tool for AIR (to be used together with, or as

  • 0

I’m developing a presentation tool for AIR (to be used together with, or as a replacement to, PowerPoint) but I’m quite a newcomer to flex layouting.

As you can see from the image, the presenter can open various apps from the main window.
Each of these apps open up in new windows which have different visual characteristics; some use the main content area to show graphics, others bullet points. Most app windows have buttons and view stacks with embedded Flash assets (using s:SpriteVisualElement).

My questions are the following:

1a. When developing a PowerPoint-like presentation tool with Flex, which layout type (basic, vertical etc.) will provide most flexibility?

1b. How do I make sure no clipping occurs on various projector screens – which aspect ratio should I have in mind?

2a. How can I resize children sprites in the SpriteVisualElement container proportionally to the window resolution?

2b. And where do I place this resize logic – on each component (sprite) with resizeHandlers or in one resizeHandler / window?

Please use the comment thread if you want me to elaborate further. Thanks.

alt text

  • 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-05-16T21:09:38+00:00Added an answer on May 16, 2026 at 9:09 pm

    Since you’re new to Flex, I strongly reading up on the Flex Component LifeCycle.

    1a. When developing a PowerPoint-like presentation tool with
    

    Flex, which layout type (basic,
    vertical etc.) will provide most
    flexibility?

    The layout you choose will depend on what you want to display. I don’t see layouts as “Flexible”. They do their job and position their elements appropriately. I can easily envision using all types of layouts in such a complicated application, each for different purposes.

    1b. How do I make sure no clipping occurs on various projector screens -
    

    which aspect ratio should I have in
    mind?

    I’m not quite sure I understand what this question means, but I take it to mean you want to avoid the presence of scroll bars in your app. To do that, you’ll have to develop layout code that sizes and positions your children so that they do not extend past the height and width of your available content space. In Flex 3 (Halo) architecture, this would be done by writing an updateDisplayList() method for your component. In the Flex 4 (Spark) architecture, this would probably be done by writing an updateDisplayList() method for your skin class.

    2a. How can I resize children sprites in the SpriteVisualElement
    

    container proportionally to the window
    resolution?

    I believe my above answer already addresses this.

    2b. And where do I place this resize logic - on each component
    

    (sprite) with resizeHandlers or in one
    resizeHandler / window?

    In a resize handler, I would most likely use invalidateSkinState and/or invalidateDisplayList. The resizing code would be in the skin and/or updateDisplayList.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

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.