# XML Slideshow/Previous and Next Button Combination

**URL:** <https://forum.kirupa.com/t/xml-slideshow-previous-and-next-button-combination/216377>\
**Category:** flash\
**Created:** [February 15, 2007, 11:17pm UTC](https://forum.kirupa.com/t/xml-slideshow-previous-and-next-button-combination/216377 "2007-02-15T23:17:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dcstagg](https://avatars.discourse-cdn.com/v4/letter/d/ea5d25/32.png) [@dcstagg](https://forum.kirupa.com/u/dcstagg)\
**Post date:** [February 15, 2007, 11:17pm UTC](https://forum.kirupa.com/t/xml-slideshow-previous-and-next-button-combination/216377/1 "2007-02-15T23:17:17Z")

</div>

I recently completed the tutorial on this site (which was awesome and very helpful) for the **Photo Gallery using XML and Flash** , as well as a very similar one that involves previous and next buttons. However, what I didn’t see (and can’t seem to figure out how to do) was combine the two.

I’d like to be able to have the flash movie automatically start up and begin cycling through the pictures, but also allow users to back track through the pictures using the buttons. Is this possible? There is something similar to what I’m looking for on [ESPN.com](http://ESPN.com), on the left-hand side, just below the spot for their main article.

Any help would be greatly appreciated; I am very much a newcomer to Flash. I’m hoping it’s just a simple tweak of the ActionScript (although I know the word ‘simple’ is relative 🙂 )

Thank you all in advance!
