--- In flexcoders@yahoogroups.com, "Steven Webster" <[EMAIL PROTECTED]> wrote: > > > > > Still nuthing??! > > > > You only posted 30 mins ago ! > > If I'm not mistaken, is what you are trying to achieve that given an > array, called summary, you want to loop over that array and for each > element in the array, you want to display an image with a label > underneath it ? > > That being the case, I'm confused by the approach you are taking ... > ... why would you not: > > o Create a custom component called Preview.mxml > - This is a VBox with an Image and a Label > o Use <mx:Repeater> to "stamp out" multiple Preview components, > using "summary" as the dataProvider for your repeater ? > > Unless you're down to super-optimisation stages of your application, > with nowhere left to go, your approach with ActionScript, using > createChild(), etc, seems like putting a fork in the sugar bowl (a > good Scottish money saving trick I'll let you know, but makes the > intended task much harder than it need be) > > Thoughts ? > > Steven > > -- > Steven Webster > Technical Director > iteration::two > > This e-mail and any associated attachments transmitted with it may contain > confidential information and must not be copied, or disclosed, or used by > anyone other than the intended recipient(s). If you are not the intended > recipient(s) please destroy this e-mail, and any copies of it, immediately. > > Please also note that while software systems have been used to try to ensure > that this e-mail has been swept for viruses, iteration::two do not accept > responsibility for any damage or loss caused in respect of any viruses > transmitted by the e-mail. Please ensure your own checks are carried out > before any attachments are opened.
Sorry, It was definitly an wrong/different approach. The Repeater is just working fine. thanks.. (how stupid of me!) Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/