Perhaps it should be in the "core" reference, but it is not hard to find. Use the term "repeater id" in the Flex Builder search and see the "Referencing repeated components" in the second listing.
Or google, or search the archives here. I have personally posted this one dozens of times. Amy, put this one in the FAQ! Admittedly, it is not "intuitive" so we can expect it to be asked often. Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Maciek Sakrejda Sent: Tuesday, September 16, 2008 6:59 PM To: [email protected] Subject: Re: [flexcoders] Re: RadioButtonGroup id not settable usingrepeater index... >This is pretty thoroughly documented in the docs for >repeater. Is it? I asked the group about the same thing myself recently, and I didn't see anything in the Repeater docs in the Flex library reference. I just checked, and there's no mention in either Flex 2 or 3 docs of this specific child-naming behavior. The QuickStart Basics section does explain this, now that I've search some more, but this should really be in the core library reference. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com <http://www.truviso.com> -----Original Message----- From: Amy <[EMAIL PROTECTED] <mailto:amyblankenship%40bellsouth.net> > Reply-To: [email protected] <mailto:flexcoders%40yahoogroups.com> To: [email protected] <mailto:flexcoders%40yahoogroups.com> Subject: [flexcoders] Re: RadioButtonGroup id not settable using repeater index... Date: Tue, 16 Sep 2008 21:28:46 -0000 --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Durres76" <[EMAIL PROTECTED]> wrote: > > hey, > i'm generating radio button groups using a repeater, but am getting > errors when trying to set the id of RadioButtonGroup using the > repeater index. The code is below. How else can you generate multiple > groups dynamically > > <Repeater id="rpt"> > <RadioButtonGroup id="{rpt.currentIndex}"> > some Radio buttons. > </RadioButtonGroup> > </Repeater> > > Thanks, > d > Just use something like <RadioButtonGroup id="group"> Then group[0] will refer to the first one, group[1] will refer to the second one, etc. This is pretty thoroughly documented in the docs for repeater. HTH; Amy

