[FL8]Basic Movie Clip AS Problem

Hi everyone,

Been a while since I’ve posted here and since I’ve played around with Flash but I’m trying to help my girlfriend mock up a site for uni. I’ve been trying to get it so that when a certain button is pressed, it goes and plays from a certain frame number in a movie clip.

In scene 1, there are 3 buttons and a movie clip. The movie clip has the tweens to the next strip in a comic. Initially strip 1 from the comic can be seen and when button 2 is pressed, it plays the tween in the movie clip and strip 2 can be seen. When button 1 is pressed, it should go back to strip 1.

Button 1 code:


on (release) {
	if (movie1._currentframe == 10) {
		movie1.gotoAndPlay(40);
	}
}

I’d upload the .fla but it’s too big. In the movieclip there are stop() actions to stop the movie from going to strip 3 if you only want strip 2 displayed. Would appreciate any help and if anything needs to be cleared up then please say so.

Thanks

TOB