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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:48:59+00:00 2026-05-22T12:48:59+00:00

I have a Flex application here If you open that link, you’ll see it

  • 0

I have a Flex application here

If you open that link, you’ll see it takes quite a long time to download (after the first bar is complete, the screen gets blank for a while and then the app is shown), even though it’s only a simple Flex app with only one screen (albeit 2 states).

I opened this app with firebug turned on and I noticed that the reason why it’s taking so long is because the browser is downloading 2.4 MB (!) worth of data just to show that app. The actual app .swf file is just 88 KB but a lot more is being downloaded as well.

Some extra .swf files (quite large) that are being downloaded as well are:

mx.swf,spark.swf, spark skins.swf,text-layout.swf and others… Each of those is about 300-400 KB in size!

I developed some things in Flex 3 in the past and it wasn’t like that at all.

What am I missing here?

Thank you .

P.S.: I am using Flash Builder 4.5 for PHP.

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

    You’re right it does appear to take a long time to load. I’m not sure why without a formal code review.

    I don’t have an explicit answer for you. But, here are a few things to note:

    1) With each SDK release, Adobe has been splitting the Flex Framework up into multiple; more encapsulated SWF files. The actual Flex Framework files can be distributed as SWZ files. These are Adobe compiled libraries that can be cached across multiple domains. In theory these files do not have to be downloaded each time the app loads; leading to even smaller file size. I believe you have to set the framework to load as an RSL to benefit from this, though. There should be settings for this within Flash Builder project properties.

    2) It seems like you uploaded the bin-debug folder. Be sure to export a release build before moving into production. This will result in a small SWF file for you to distribute, which may help.

    3) I expect the Flex Compiler to optimize the resulting SWF as to not include classes it does not need. I’m not sure how this relates to the extra SWFs being downloaded for your app. Are you using any MX Components? Are you using any components that use the text layout framework? (Some Flex text controls use it under the hood). If not; ideally those extra files (mx.swf and text-layout.swf) would not be downloaded if you’re not using those files. So, you may be able to review code and optimize those out by using equivalents.

    4) What does your app do on startup? Are you sure the issue here is that all these files are being loaded? Or is there something in the code that prevents a quick setup of your application?

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

Sidebar

Related Questions

I have a flex application that needs the ability to generate and execute JavaScript.
I have a Flex application that calls a function which searches a large document
I have a Flex application that seems larger than it should be. There is
I have a Canvas in a Flex application which has items inside it that
I have a flex application that loads an external swf file. I created the
I have a Flex application that needs to grab reporting data from a JasperReports
I have a Flex application where I'm using a Canvas to contain several other
I would like to show some hidden text in a Flex application and have
So, I have Flex project that loads a Module using the ModuleManager - not
I have a Flex ComboBox that gets populated by a dataprovider all is well...

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.