# XML & Actionscript 3 Gallery Problem

**URL:** <https://forum.kirupa.com/t/xml-actionscript-3-gallery-problem/307530>\
**Category:** flash\
**Created:** [April 5, 2010, 1:47pm UTC](https://forum.kirupa.com/t/xml-actionscript-3-gallery-problem/307530 "2010-04-05T13:47:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![richmond416](https://avatars.discourse-cdn.com/v4/letter/r/85e7bf/32.png) [@richmond416](https://forum.kirupa.com/u/richmond416)\
**Post date:** [April 5, 2010, 1:47pm UTC](https://forum.kirupa.com/t/xml-actionscript-3-gallery-problem/307530/1 "2010-04-05T13:47:56Z")

</div>

Hello,

Having some issues creating this piece of flash. I am new two AS3 and trying to live up to best practices by not designing on the timeline. I am most of the way there with this piece I have downloaded and modified to fit my specs.

**Here is my problem:**

I need the buttons on the bottom to stay on above the jpgs being sourced by in the XML, but every time I go past the first image in the rotation, the buttons fall back behind the selected jpg.

Also, I need the button to raise slightly up when selected. I had no problem doing this before, but again, I am trying to stick it out and stay off the timeline.

Attached are my files. Keep in mind, I am 99% AS3 illiterate and ahave tripping through the edits I have made thus far.

Please help and thank you in advance!
