It is just that you want to do it with MXML. I'd really need to test this but try:
<mx:Array id="containerList"> <home /> <portfolio /> ... </mx:Array> Tracy Spratt Lariat Services Flex development bandwidth available ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Hyder Sent: Monday, February 02, 2009 7:43 PM To: [email protected] Subject: [flexcoders] Re: Adding container references to an array C'mon, can't be THAT hard! --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Hyder" <hyder_...@...> wrote: > > How do I add container references to an array. > For example, I have these 4 containers > > <mx:Panel id="home" title="Home" /> > <mx:Panel id="portfolio" title="Portfolio" /> > <mx:Panel id="skills" title="Skills" /> > <mx:Panel id="contact" title="Get in touch" /> > > How do I add their references to an array in MXML > > <mx:Array id="containerList"> > <!-- CONTAINER REFERENCES GOES HERE --> > </mx:Array> >

