# Xml sliding gallery

**URL:** <https://forum.kirupa.com/t/xml-sliding-gallery/279308>\
**Category:** Uncategorized\
**Created:** [January 13, 2009, 9:17am UTC](https://forum.kirupa.com/t/xml-sliding-gallery/279308 "2009-01-13T09:17:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dojjjan](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@Dojjjan](https://forum.kirupa.com/u/Dojjjan)\
**Post date:** [January 13, 2009, 9:17am UTC](https://forum.kirupa.com/t/xml-sliding-gallery/279308/1 "2009-01-13T09:17:36Z")

</div>

Hi,

i would like to learn how to do an xml sliding gallery! like this one: [http://www.flashden.net/files/21970/index.html](http://www.flashden.net/files/21970/index.html)

I know how to import the pictures from xml and position them on the stage but i cant figure out how to make the thumbs tween the picturecontainer mc to the right position. how can i reference the tween to an x position which keep changing depending on how many picturs in the gallery?

hope you understand what i mean…

(as3 btw)

any help appreciated!
