Help with Simple Slideshow

Hi, I am a newbie to Adobe flash. I need help with my script. I have added a next and back button in my slide show but I can’t figure for the life of me how to script my flash to automatically move to the next frame. Also I am having problem trying to add a play and pause button in my as3. The images are in movie content. I have a total of two frames and in each frame there is a small animation from the movie content. So my question is how do I get the animation to automatically move to the next frame once it is done with the animation in the first frame. As of right now I have to press the next button in order to view the next frame. If someone would please kindly guide me I would really appreciate your help. Thank you so much!!
Attach here is my file.