1 Reply Latest reply on Nov 30, 2007 11:51 AM by AwesomeDigital3

    Grabbing A Repeater Item By ID

    AwesomeDigital3 Level 1
      Trying to use a repeater for a component

      <mx:Repeater id="rp" dataProvider="{dp}">
      <comp:OneChild id="child" />
      </mx:Repeater>

      But when I try to reference it with script

      sObjectID = "child[" + NumberHere + "]"
      currentRow = this[sObjectID];

      I get the message

      Error #1069: Property child[2] not found on components.ao6_children and there is no default value ?

      Any ideas?

      Thanks
      Mathias