# Automatic gallery

**URL:** <https://forum.kirupa.com/t/automatic-gallery/20162>\
**Category:** Uncategorized\
**Created:** [May 6, 2003, 12:13am UTC](https://forum.kirupa.com/t/automatic-gallery/20162 "2003-05-06T00:13:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eric\_duvauchell](https://avatars.discourse-cdn.com/v4/letter/e/ec9cab/32.png) [@eric\_duvauchell](https://forum.kirupa.com/u/eric_duvauchell)\
**Post date:** [May 6, 2003, 12:13am UTC](https://forum.kirupa.com/t/automatic-gallery/20162/1 "2003-05-06T00:13:59Z")

</div>

please have a look at this link.

[http://sullivan.pl/index\_frame\_3.html](http://sullivan.pl/index_frame_3.html)

i was wondering if there is a way to automatically add a new button in this flash file without actually going into the FLA file and adding one?

maybe via XML?

what is my best bet for this?

i have about 100 pictures i want to have, but i don’t feel like going through all of them and adding them. so i am looking for an automatic way to do this, where i would crop and edit the photos to jpg and then maybe drop them into an image folder where flash can look and add a button to the swf automatically.

does that make sense.  
Please help

eric

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [May 6, 2003, 10:05am UTC](https://forum.kirupa.com/t/automatic-gallery/20162/2 "2003-05-06T10:05:30Z")

</div>

Of course!

If you make Flash ‘read’ the images it has to display from an XML file it should already know how many there are (length of images\_array). Just duplicate the button\_mc as many times.

Hope it helps.

SHO
