1 Reply Latest reply on Apr 26, 2008 9:55 PM by greenhippo

    dynamic id for component?

      I'm using a repeater to create several textInputs on the stage. I'd like to assign each textInput a unique ID but I keep getting an error msg with my formatting. Is this possible? The error I get is '['autoCompleteMgr_'+catRepeater.currentItem.catID] is not a valid identifier'

      <mx:TextInput id="{'autoCompleteMgr_'+catRepeater.currentItem.catID}" width="300" themeColor="#F85F02"/>