If you don't want to use mxml, why don't you use a simple loop instead of repeater?
The idea of the repeater is to make a loop in mxml adding UI components. But if you don't want to use mxml, you can easilly do this in AS3 with a loop + addChild method. Just my 2 cents, Pedro Sena On Thu, Feb 26, 2009 at 11:21 PM, smitade <smit...@yahoo.com> wrote: > Is it possible to define repeaters at runtime? I've scanned the web > and didn't find anything. I would like an Image array defined within a > repeater but WITHOUT using the mxml > <mx:Repeater id="myRepeater" dataProvider="...> > <mx:Image id="myImage"/> > </mx:Repeater> > . > . > . > . > so that I can access it later in the code: myImage[10].source=... > > Thanks > > > -- /** * Pedro Sena * Systems Architect * Sun Certified Java Programmer * Sun Certified Web Component Developer */