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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:41:09+00:00 2026-05-18T20:41:09+00:00

Adobe recommends using ActionScript for skins and ItemRenderers in Flex Hero mobile apps. I

  • 0

Adobe recommends using ActionScript for skins and ItemRenderers in Flex Hero mobile apps. I was under the impression that the MXML is compiled down to ActionScript.

  1. What exactly is going on behind the scenes when I declare a component in MXML?

  2. What exactly are the differences between the objects created by as3 and those created by MXML?

  3. If I convert a MXML component into an as3 class (i.e. add each child and set each property on each child manually in code instead of in the declarative MXML syntax) am I gaining anything?

(At the moment I do not have an actual device to test on, and there is no performance degradation on my desktop computer when using MXML ItemRenderers for a List with hundreds of items.)

  • 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-18T20:41:10+00:00Added an answer on May 18, 2026 at 8:41 pm
    1. What exactly is going on behind the scenes when I declare a component in MXML?

    You care correct. MXML is compiled down into ActionScript. You can review this ActionScript by using the keep compiler argument. It can get pretty convoluted. Code you write by hand is much more elegant. I assume this why Adobe tells us use AS for mobile skins.

    1. What exactly are the differences between the objects
      created by as3 and those created by
      MXML?

    If you mean objects in memory, there is no difference. MXML components are classes just like ActionScript components are. However, if you use MXML to generate ActionScript, then the actual component that is running has a different code base.

    1. If I convert a MXML component into an as3 class (i.e. add each child
      and set each property on each child
      manually in code instead of in the
      declarative MXML syntax) am I gaining
      anything?

    You have more granular control over the how the component work and operates. I wrote an article for InsideRIA on this exact topic: http://insideria.com/2010/05/7-reasons-to-write-in-actionsc.html

    (At the moment I do not have an actual
    device to test on, and there is no
    performance degradation on my desktop
    computer when using MXML ItemRenderers
    for a List with hundreds of items.)

    As a matter of clarification, you realize that list based classes only render what is on the screen, right? So, even if your list has hundreds of items, it is most likely only displaying 5-10 at once. That means that only 5-10 renderers are created. Scrolling through the list is simulated, not real. The renderers just change their data. Anyway, the point I was attempting to make is that a list with hundreds of items should work with the same efficiency as a list with ten items, or a list with a thousand items. I would expect that you’ll see very different performance on your desktop and on a device.

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

Sidebar

Related Questions

Using The loader class of Adobe Flex, I load an external SWF file. However,
I would like to develop Adobe Flex applications using Linux and a free environment.
We have an Adobe Flex client talking to a .NET server using WebORB. Simplifying
The Adobe docs (I can't find which) state that Flash can read Shared Objects
I am using Adobe Captivate 3 and am having trouble disabling the typing noise
I've been reading that Adobe has made crossdomain.xml stricter in flash 9-10 and I'm
I've been experimenting with Adobe Flex recently. Being a long-time server-side web app developer,
I'm working with about 20 objects that are moving around in 3D space. Adobe
I need to convert a datagrid table in Adobe Flex to an ArrayCollection. I
I am making a small app that deletes log files. I am using an

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.