How to prevent components from rendering in Flex

Posted by Tam on Stack Overflow See other posts from Stack Overflow or by Tam
Published on 2010-03-25T09:16:14Z Indexed on 2010/03/25 9:33 UTC
Read the original article Hit count: 151

Filed under:

Is there a way to prevent a component from rendering in Flex (to save memory or processing power)?

I tried doing something like:

<components:AddNewItemGroup id="addItemGroup" 
            visible="false"
            enabled="false"
            horizontalCenter="0" bottom="0" />

I noticed that the component gets rendered but it's just not visible or functional.

© Stack Overflow or respective owner

Related posts about flex