?
Solved

Flex 4: Components inside components

Posted on 2010-09-15
1
Medium Priority
?
412 Views
Last Modified: 2013-11-11
Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as attached, or doesn't it matter?
<com:MyComp1>
    <com:MyComp2>
        <com:MyComp3>
            <s:Label text="This is a test."/>
        </com:MyComp3>
    </com:MyComp2>
</com:MyComp1>

Open in new window

0
Comment
Question by:DReade83
1 Comment
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 2000 total points
ID: 33680560
Its not bad practice, it's the way you do it ;-)

As a rule of thumb ... if the component belongs to a greater component, put it inside. If it has nothing to do with it, put it outside.
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

862 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question