Solved

Flex 4: Components inside components

Posted on 2010-09-15
1
405 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 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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 what frame rate is, how to control it and what effect it has on the video.

810 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