Hi

I have an MXML component with several form controls and the las set of
controls are only used some times (in some instances of that MXML
component). So I'm creating that part as an IBead.

I want to know what's the recommend way to make this bead be added to the
strand when the rest of MXML controls are already added (so it will be
added to the final part of the MXML component. Right now is added to the
start and then added the rest of controls.

Additionaly, although is not a current need, what if I want to be added in
some intermediate part of the main component? how can this be done?

The bead is implemented trying to ways:
a) as a simple .as class that implements IBead and use

IParent(value).addElement(new Button());

b) as an MXML extending MXMLBeadView (since the bead is complex with an
 VGroup an various internal controls and things, this will be the preferred
way, but maybe in this way the main MXML will think that this optional bead
is its BeadView, but is not the case, is just an optional visual piece.
So declaring the internal content in an MXMLBeadView is a complete mystery
to me how can I rearrange this content to get the desired position inside
the main MXML component

thanks for your help

-- 
Carlos Rovira
http://about.me/carlosrovira

Reply via email to