# SlideShow Problems

**URL:** <https://forum.kirupa.com/t/slideshow-problems/200820>\
**Category:** flash\
**Created:** [September 15, 2006, 1:33pm UTC](https://forum.kirupa.com/t/slideshow-problems/200820 "2006-09-15T13:33:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ollie1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ollie1/32/2180_2.png) [@ollie1](https://forum.kirupa.com/u/ollie1)\
**Post date:** [September 15, 2006, 1:33pm UTC](https://forum.kirupa.com/t/slideshow-problems/200820/1 "2006-09-15T13:33:12Z")

</div>

I’m making a simple slideshow, with both back and forward buttons as well as numbered slide buttons for navigation.

For the back and forward buttons I am using the following code:

```auto

var frameNext:Number = 0;
frameNext = _root._currentframe + 1;

var frameBack:Number = 0;
frameBack = _root._currentframe - 1;

////////////////

this.back_btn.onRelease = function() {
	gotoAndStop(frameNext);
}
//
this.next_btn.onRelease = function() {
	gotoAndStop(frameBack);
}

```

But for some reason this doesn’t want to work. Is it my AS at fault? or is it something in the .fla?

[www.bambambam.co.uk/testing/autonomy\_slide.fla](http://www.bambambam.co.uk/testing/autonomy_slide.fla)

I would be grateful of any advice you can offer.

-ollie :pope:
