[LEFT][SIZE=2]Hello KirupaForum:
This is my first post. I’m trying to create a gallery in a predetermined pattern with dynamic text fields below to give the appearance of a yearbook page. My first instinct is to layout the pattern with loader components and assign the XML data into the “contentPath” of each loader and instance name of each text field. The attached test file is successful in doing just that…except I will have several hundred photos and names which I do not want to code for each. Is there anyway to do the following:
- Name each loader as such: myLoader0, myLoader1, etc.
- Once XML is loaded…with code can I then assign image* to myLoader*
a. in my head it looks like this: myLoader*.contentPath = image*; this
way it would populate all loaders instantly. - Similarly I’d like to do the same with the text fields.
a. desc_txt*.text = firstname* + " " + lastname*;
Is any of this possible? Is my syntax just completely off? I’d appreciate any help you could offer.
Thank you.
[/SIZE][/LEFT]