# Can someone give me a quick help on my slideshow?

**URL:** <https://forum.kirupa.com/t/can-someone-give-me-a-quick-help-on-my-slideshow/275291>\
**Category:** flash\
**Created:** [November 12, 2008, 3:53am UTC](https://forum.kirupa.com/t/can-someone-give-me-a-quick-help-on-my-slideshow/275291 "2008-11-12T03:53:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rikaro](https://avatars.discourse-cdn.com/v4/letter/r/f14d63/32.png) [@rikaro](https://forum.kirupa.com/u/rikaro)\
**Post date:** [November 12, 2008, 3:53am UTC](https://forum.kirupa.com/t/can-someone-give-me-a-quick-help-on-my-slideshow/275291/1 "2008-11-12T03:53:48Z")

</div>

I’m doing an image slide show right now and I have the script set up like this:

image\_mc.stop();

forward\_btn.addEventListener(MouseEvent.CLICK, forward1);  
back\_btn.addEventListener(MouseEvent.CLICK, back1);

function forward1(event:MouseEvent):void {  
gotoAndStop(frame + 1);  
}

function back1(event:MouseEvent):void {  
gotoAndStop(frame - 1);  
}

I have the images inside a movieclip and my script is not working right now.  
What do I have to do so that when I press the button it will allow it to change frames?
