Solved

Flex 4: Components inside components

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

708 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now