Re: [flexcoders] Generating panels dynamically? How?

2010-02-22 Thread Fotis Chatzinikos
Depending on what you need to do you can use a repeater or a tilelist. Have a look on google for some tutorials or post a bit more on what you need to do ;-) On Mon, Feb 22, 2010 at 3:53 AM, flexnewbie999 wgb.jobsearch@gmail.comwrote: I have a ArrayCollection of objects that contain an

Re: [flexcoders] Generating panels dynamically? How?

2010-02-22 Thread Darrin Kay
I just built a carousel and had a lot of these issues, now the data for this is comeing from an XML file, but that should not matter. You can not make a panel backgroundImage dynamic, instead add a image to the panel like I did below. mx:Repeater id=imageRepeater

[flexcoders] Generating panels dynamically? How?

2010-02-21 Thread flexnewbie999
I have a ArrayCollection of objects that contain an image and other fields. I need to dynamically created a panel for each image in succession as the collection is iterated over (at least that's the idea I've come up with). I can hard code each individual image via mxml into a panel but that