# Dynamic Photo Gallery Preview Placement

**URL:** https://forum.kirupa.com/t/dynamic-photo-gallery-preview-placement/195065
**Category:** flash
**Created:** [July 28, 2006, 5:43am UTC](https://forum.kirupa.com/t/dynamic-photo-gallery-preview-placement/195065 "2006-07-28T05:43:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![buginajar](https://avatars.discourse-cdn.com/v4/letter/b/f07891/32.png) [@buginajar](https://forum.kirupa.com/u/buginajar)
#### Post date: [July 28, 2006, 5:43am UTC](https://forum.kirupa.com/t/dynamic-photo-gallery-preview-placement/195065/1 "2006-07-28T05:43:41Z")

</div>

Ok, heres the deal.

I did this splash gallery about a year and a half ago. [http://www.tonysoileau.com](http://www.tonysoileau.com) Amazingly enough it was my first Actionscript experience. I didn’t even know what actionscript was, but I got the assignment, so I was forced to teach myself.

It took me about 16 continuous hours to complete, but it is completely static. I know much more about AS then I did at that time, and I would like to reprogram it automatically with XML for the hell of it.

No biggie,… right?

Wrong. My only forseen dilemma is easily determining and assigning the preview area. As it was then, I moved the picture in the preview area to where I wanted it and it was fine.

If the images are loaded in dynamically, I wouldn’t have any control of that unless I specified an x and y value in the XML which would be tedious if I decided to display a bunch of images.

Do you guys have any suggestions?
