Stopping actionscript

Basically i have followed a tutorial which I succesfully created a carousel. I have created button which take me to different pages. What I want to know is, how to stop my carousel playing through my whole flash file because I want it to appear and play on my first page not throughout my whole flash file. i have put stop(); but it still continues to play. The carousel is controlled by the mouse cursor if that makes any difference. I have tried all sorts, anyone know what to do please? I am using Flash CS5.Thank You