Current Position:Home > How to include components into mxml file?

How to include components into mxml file?

Update:10-11Source: network consolidation
Advertisement
I have an mxml file with multiple states and it is getting
quite large. I would like to divide these states into their own
components. How can i include these into the mxml file?
Thanks!

The Best Answer

Advertisement
I couldn't be happier that you asked this question and if you
don't mind I'd like to extend on it a touch since it directly
relates to my topic.
I am right with Dr. Goomba (Great name) when it comes to
filesize of a single application.
The flash player has always been a big proponent of small
file size and fast dowloads to ensure our users have a pleasant
experience in our applications. I have been going through the
documentation tirelessly and the only mention I really see as a
supporter of that theory is "RSL" documentation which, believe it
or not, actually advises against them unless you are using them
across multiple apps.
So, my question is a tack on to Dr. Goomba (Answer his first,
this is just a supporter):
Has Flex 2 moved us away from fast delivery? I have an
application already up to 300k that could easily reach the 700k
range (I think, based on my total progress so far) - It doesn't
seem to me that the focus is still on loading things in parts like
the MX 2004 RIA days.
  • How to include components into mxml file? Update:10-11

    I have an mxml file with multiple states and it is getting quite large. I would like to divide these states into their own components. How can i include these into the mxml file? Thanks!I couldn't be happier that you asked this question and if you do

  • Compile multiple mxml file at same time Update:10-11

    hi i am working in flex with java. i am using more one flex file in my flex project. when i execute the project the ant compiled .mxml file only executed. the other .mxml files are not executed. i have use the destination id  same of two mxml files.

  • Accessing a variable in mxml file from an action script file Update:10-11

    Hi,     I think this is a very very dumb question but i am nto being able to gigure this out i am a total newbie to flex.      i have a mxml file e.g. aaa.mxml which has the following declaration      ........ //some lines of code      <mx:XMLListCol

  • [svn:fx-4.0.0] 13535: Part 1 of fixing line endings in AS and MXML files so that line numbers are correct while debugging . Update:10-11

    Revision: 13535 Revision: 13535 Author:   [email protected] Date:     2010-01-15 14:45:38 -0800 (Fri, 15 Jan 2010) Log Message: Part 1 of fixing line endings in AS and MXML files so that line numbers are correct while debugging. We've got a widesprea

  • How to refer components of mxml in actionscript? Update:10-11

    i have a component textarea in mxml, i want to set the value of textarea in actionscript method. how do i do this? how to access the component in actionscript and how to return it back?Hi Lakshmi, You can do this just put all the script in the mxml b