I am using Horizontal list with itemRenderer set to a separate mxml component that renders data. It has few labels and few other fields. So when I want to add property automationName I would like it to follow pattern "someName_001" for the some label in the first list item rendered by mxml component and so on with name being incremented by 1.
Ok, so reading through documentation I think this should be handled by flex since it has support for lists and repeaters but I am not sure how to implement it. Right now if I set the name in the itemRenderer they all get same name. I tried looking at the debugger and did not see any values for automation that are kind of incremented, so basicaly I am stuck right now. Anyone has any examples?