# Got stuck creating an interactive slideshow

**URL:** https://forum.kirupa.com/t/got-stuck-creating-an-interactive-slideshow/288778
**Category:** flash
**Created:** [May 20, 2009, 8:54pm UTC](https://forum.kirupa.com/t/got-stuck-creating-an-interactive-slideshow/288778 "2009-05-20T20:54:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![JonnyJ](https://avatars.discourse-cdn.com/v4/letter/j/df705f/32.png) [@JonnyJ](https://forum.kirupa.com/u/JonnyJ)
#### Post date: [May 20, 2009, 8:54pm UTC](https://forum.kirupa.com/t/got-stuck-creating-an-interactive-slideshow/288778/1 "2009-05-20T20:54:01Z")

</div>

Hi Everyone

I’m a bit stuck trying to get a slideshow to work for a website.  
I have buttons that I want to play different frames of a movie clip. the movie clip is called “slideshow”

heres the code I have for one of the buttons(t1 is the instance of the button)

t1.buttonMode = true;  
t1.addEventListener(MouseEvent.ROLL\_OVER, t1Over);  
t1.addEventListener(MouseEvent.MOUSE\_OUT, t1Out);  
t1.addEventListener(MouseEvent.CLICK, t1Click);

function t1Over(event:MouseEvent):void{  
t1.gotoAndPlay(“Over”);  
}

function t1Out(event:MouseEvent):void{  
t1.gotoAndPlay(“out”);  
}

function t1Click(event:MouseEvent):void{  
slideshow.play();  
}

What i would like is for the function “t1click” to start playing at a particular frame in the movieclip “slideshow”

my intention is to have each button play a different part of the movie clip.

it seems like it must be simple, can anyone help me out?

thanks a lot

thank you
