# \[MX2004\] Help Needed with next / previous btns

**URL:** https://forum.kirupa.com/t/mx2004-help-needed-with-next-previous-btns/129920
**Category:** Uncategorized
**Created:** [November 29, 2004, 11:49pm UTC](https://forum.kirupa.com/t/mx2004-help-needed-with-next-previous-btns/129920 "2004-11-29T23:49:05Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![chrisdm](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@chrisdm](https://forum.kirupa.com/u/chrisdm)
#### Post date: [November 29, 2004, 11:49pm UTC](https://forum.kirupa.com/t/mx2004-help-needed-with-next-previous-btns/129920/1 "2004-11-29T23:49:05Z")

</div>

I’m a beginning flash student and I’ve started out trying to create a photo gallery with thumbnails using xml. So far I’ve got the basics down but I can’t seem to code the variables right for the next / previous buttons. I’m in a little over my head with the actionscript as I’ve only really been coding for a few days. If anyone knows how to fix this it’d help me out a ton.

Also is there any way to simplify the thumbnail rows? I couldn’t figure out the proper way so I just made many “for” statements using different parameters for ‘i’. It looks like there should be a simpler way.

bear of [www.bigevilrobot.com](http://www.bigevilrobot.com)
