Re: [flexcoders] nested layout containers - file size or other concerns

2007-06-06 Thread Michael Schmalle

Hi,

File size is based on linked classes. So the answer is no on nested
containers affecting SWF size. of course if it is an mxml file size, the
more text the larger the file. ;-)

The more containers you have the slower your app will be to resize.
Although, Container is a very fast component and with invalidation, takes
advantage of the Flash Player 9' awesome performance.

If you fin your self using a lot of nested containers, think about how you
could make a custom component that would cut them in half.

Peace, Mike

On 6/6/07, dnk [EMAIL PROTECTED] wrote:


  Do having a bunch of nested layout containers (IE things like Hbox and
Vbox) add a lot to the final file size? Are there any performance hits
when using many?

Regards,

dnk
 





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


Re: [flexcoders] nested layout containers - file size or other concerns

2007-06-06 Thread Michael Schmalle

I have to make one amendment to what I said;

There would be a slight increase in the SWF size because of how the compiler
creates component descriptors. But, the SWF will not keep linking in the
classes.

Peace, Mike

On 6/6/07, Michael Schmalle [EMAIL PROTECTED] wrote:


Hi,

File size is based on linked classes. So the answer is no on nested
containers affecting SWF size. of course if it is an mxml file size, the
more text the larger the file. ;-)

The more containers you have the slower your app will be to resize.
Although, Container is a very fast component and with invalidation, takes
advantage of the Flash Player 9' awesome performance.

If you fin your self using a lot of nested containers, think about how you
could make a custom component that would cut them in half.

Peace, Mike

On 6/6/07, dnk [EMAIL PROTECTED] wrote:

   Do having a bunch of nested layout containers (IE things like Hbox and
 Vbox) add a lot to the final file size? Are there any performance hits
 when using many?

 Regards,

 dnk
  





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.





--
Teoti Graphix
http://www.teotigraphix.com

Blog - Flex2Components
http://www.flex2components.com

You can find more by solving the problem then by 'asking the question'.


RE: [flexcoders] nested layout containers - file size or other concerns

2007-06-06 Thread Deepa Subramaniam
Nesting containers unnecessarily will affect the startup time and
runtime performance of your application. Measurement and layout is one
of the most expensive parts of a Flex app. Though Flash Player 9/Flex 2
is much faster, its still a good idea to prune your application of
unnecessary container nesting. Check out the tips and tricks here: 

http://www.adobe.com/devnet/flex/articles/client_perf_04.html 

Deepa Subramaniam
Adobe, Flex 

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dnk
Sent: Wednesday, June 06, 2007 1:54 PM
To: flexcoders list
Subject: [flexcoders] nested layout containers - file size or other
concerns

Do having a bunch of nested layout containers (IE things like Hbox and
Vbox) add a lot to the final file size? Are there any performance hits
when using many?

Regards,

dnk


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links