Re: [flexcoders] Can a control be a child of more than one parent?

2008-12-04 Thread Paul Andrews
- Original Message - From: "simonjpalmer" <[EMAIL PROTECTED]> To: Sent: Thursday, December 04, 2008 2:50 PM Subject: [flexcoders] Can a control be a child of more than one parent? >I have a set of controls that I want to share between two different > containers,

[flexcoders] Can a control be a child of more than one parent?

2008-12-04 Thread simonjpalmer
I have a set of controls that I want to share between two different containers, one ViewStack and one Repeater. I create the controls inline as children of the ViewStack and then I pass their references to a custom ItemRenderer in the Repeater. In the custom ItemRenderer I add them as a child.