1 Reply Latest reply on Aug 25, 2006 1:48 PM by brainubmbc

    how to reference ID's with Repeaters

    brainubmbc
      Does flex have some automatic naming convention for the id attiributes of any child objects created bya repeater:

      <mx:Repeater id="myrep" dataProvider="{imageRequest.lastResult.phoneimg}">
      <mx:Image visible="false" source="{myrep.currentItem.phoneimgsmall}" showEffect="{imgFade}" hideEffect="{imgFadeOut}" />
      </mx:Repeater>

      I'm trying to hide and show the image object here to kick off the effects. I assume I can't just give the image an id such as "myImage" and pray an array is created called "my Image", eh? I tried setting the id to "mrep.currentItem.phoneid" but I figured out I can't do that.

      How would I refer to these images in ActinScript?