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

  • Home
  • SEARCH
  • 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 558859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:10:34+00:00 2026-05-13T12:10:34+00:00

I’ve got a bare minimum Adobe Air application; it’s basically a s:SkinnableContainer inside a

  • 0

I’ve got a bare minimum Adobe Air application; it’s basically a s:SkinnableContainer inside a mx:WindowedApplication. I have a 6000 x 9000 pixel PNG image (~3.20MB) that I want to show in the SkinnableContainer. Note that the s:SkinnableContainer is a tag from Flex 4 Beta3 (spark components).

Background

Before I explain the problem, a little bit of background on this app. This Air application is supposed to run on the server side, and periodically check a database and read XML markup that describes graphical content (background, child images, child text nodes etc.) of the SkinnableContainer. This markup actually comes from a Flex web application that is used by end-users to create this graphical content. What this Air application is supposed to do is use really high resolution versions of the images used in the Flex web application, and recreate a high resolution version of the graphical content created by the end-user in the browser. The Air application will eventually write out the contents of the SkinnableContainer as a Bitmap to file.

The reason why we’re using an Air application is to ensure 100% consistency in rendering between the smaller version of the graphical content, that gets rendered on the browser, and the high resolution version that the Air application will generate.

Problem

The problem I’m facing is that this 3.20MB image does not appear when it is set as the source of the s:Skin applied to the SkinnableContainer. If I use a smaller version of the image, which has dimensions 3000 x 4500 pixel and is 1.73MB, that gets rendered in the application. I’m running the application in debug mode, and I do not get any exception when the large image fails. Children graphical elements of the SkinnableContainer get rendered fine in both cases.

More implementation notes:

  • The source of the skin is a URL to the image, currently, http://localhost/foo/bar.png. I can access the image just fine by hitting it from Firefox.
  • I set the source as follows: BitmapImage([get the skin].backgroundImage).source = "http://localhost/foo/bar.png";

Is there a memory limit that I should be aware of that is enforced by Air? Is this a bug in one of the spark components? Why don’t I get any exception? Most importantly, how do I fix this?

  • 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-13T12:10:35+00:00Added an answer on May 13, 2026 at 12:10 pm

    There’s an internal limit on how big BitmapData objects can be, presumably due to how it allocates memory for them, so I’m guessing that loaded images also bump into that. See here for details on the limit.

    As for fixing it, I think the most straightforward thing to do would be to read and write the beast as a number of sub-images – split into thirds or fourths, since halves would still be over the limit.

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

Sidebar

Ask A Question

Stats

  • Questions 292k
  • Answers 292k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer I'm guessing you would need to save the user's preference,… May 13, 2026 at 6:19 pm
  • Editorial Team
    Editorial Team added an answer I've found a solution, .NET 3.5 and IIS7 introduced a… May 13, 2026 at 6:19 pm
  • Editorial Team
    Editorial Team added an answer Check your CSS for overriding styles for width and height,… May 13, 2026 at 6:19 pm

Related Questions

I've got a string that has curly quotes in it. I'd like to replace
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti
I have a French site that I want to parse, but am running into
I have text I am displaying in SIlverlight that is coming from a CMS

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.