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.