Slideshow stop

Hello …I am unexperienced in Flash so please bear with me

I followed Kirupa’s tutorial http://www.kirupa.com/developer/mx2004/xml_slideshow3.htm on how to create a slideshow XML .

I am trying to inseert a button into the movie so that on pressing that button the slideshow stops.

I tried to do this by adding:

slide_show.onRelease = function() {
slideshow().stop;
}
does that even make sense? How can one stop a function from executing itself?

slide_show.onRelease = function() {
   clearInterval(myInterval);
}

?

scotty(-:

Thank you !You are a life saver :))

you’re welcome=)