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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T06:36:13+00:00 2026-05-29T06:36:13+00:00

I am working with flex for the last two years on some desktop apps.

  • 0

I am working with flex for the last two years on some desktop apps. Until now I never had any performance related issues but today as we completed a mobile application for the iPad, I’m facing a challenge, the application is incredibly slow on the iPad.

https://i.stack.imgur.com/qkbWn.png

Slow, means that when I press a button in the menu to change the splitview I must wait something like 5s. Then scrolling is really slow two, with less than one fps and my TextInput starts to bug (the text is not in his box anymore).

I started to read a lot of blog post and presentation about optimisation for the mobile platform and then I rewrite some of the components I use. I removed the SkinnableContainer for instance and replaced it by a VGroup including some actionScript based drawing.

Now what you see is a VGroup (the dark grey one) containing some others VGroup (the group with title here) and then each widget is an HGroup with a label and a Widget. I only use Label and TextInput for the text.

Creation time is slow even (several seconds to create the view) for another page where there is only 4 text widget on it, or another one with only a list with a custom item renderer where each row is a set of 4 labels.

The whole things is cabled with RobotLegs, with nothing fancy, one models is injected in the view and at the beginning I set a member variable on the view with this object to bind my variables.

Frankly my thinking right now is : it smells fishy because if I’ve done everything right it is impossible to have such low performance and thinks that flex is competitive on the mobile platform. So right now I’m trying to disable the application piece by piece to try to locate what could slow it like that. I’ve got a couple suspects to check, for instance I’ve got some binding warning to check, and then see if robotlegs has got its share of the problem.

So my main question here is what do you think, and could you have some ideas about “is there a problem” and “how do we solve it”.

Thanks

  • 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-29T06:36:13+00:00Added an answer on May 29, 2026 at 6:36 am
    1. Run profiler for startup and separatelly for each operation that takes longed that it needs. Then prioritize the problems and try to solve them with basic optimization techniques.
    2. Some problems you will not be able to solve fast – e.g. time for creating big components. The only option there is to rewrite those components with AS3 without MXML, styles and anything. I’m sure that flash.text.TextField is created many times faster than mx.controls.Label. The same for other components.
    3. When component is created, it can be reused at a very low price. In your app there must be a lot of places where you recreate while you can reuse old components. It will save you memory and time.
    4. Layouts tend to redraw even when it’s not needed. If you have a lot of nested layouts, find the most critical places and replace a series of layouts with one custom layout or even component.

    This all is very developer time consuming. At the end you will not get a smooth app anyway, but I believe that it can become usable.

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

Sidebar

Related Questions

I've been working as a flex dev for many years, building really complex apps.
i've working in flex for some years and it seems to me it's an
I have been working on Flex for last couple of months and as this
I am working on flex dasboards and charting stuff. Till now I have build
In last 1 year I was working on Java and flex. While coding flex,
I am flex developer, and from last few months, i am continuously working on
I'm working on a flex application and I need to call some data with
Am working on a flex project I am looking to provide some UI functionality
I am working with a flex project with a main mxml file and two
I'm working with flex, but actionscript ideas are just as good. The flex <s:Application>

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.