I am learning flex and I had similar requirement. I used attribute "uid" for this purpose. I was able to bind a dynamic value to "uid" in my prototype. I am not sure if this is the rightway. But I was able to leverage "uid" to identify the textfield uniquely.
Regards Ulag --- In [email protected], "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > The id needs to be a constant value, you can't use dynamic values for it. > > It looks like you are trying to implement a naming scheme like a1,a2,a3,... > You can achieve something similar by naming your TextField just "a". > Now you can access the different TextFields like an array, eg. a[0], a[1], > a[2], ... > > Cheers, > Ralf. > > On 1/21/07, dex <[EMAIL PROTECTED]> wrote: > > > > hello! > > > > im not sure im using repeater in right place, but i need to add new > > input text fields with button and NumericStepper. The problem is that > > when im trying to assign text inputs id id="a{String(rp.currentItem)} > > i get an error: 'a{String(rp.currentItem)}' is not a valid identifier. > > Is it possible to make ids be deferent from each other, or i shouldn't > > use something else then repeater? > > > > thank you > > > > > > > > -- > Ralf Bokelberg <[EMAIL PROTECTED]> > Flex & Flash Consultant based in Cologne/Germany > Phone +49 (0) 221 530 15 35 >

