# \[FL8\]Basic Movie Clip AS Problem

**URL:** https://forum.kirupa.com/t/fl8-basic-movie-clip-as-problem/192800
**Category:** flash
**Created:** [July 1, 2006, 6:40am UTC](https://forum.kirupa.com/t/fl8-basic-movie-clip-as-problem/192800 "2006-07-01T06:40:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![TOOL](https://avatars.discourse-cdn.com/v4/letter/t/df705f/32.png) [@TOOL](https://forum.kirupa.com/u/TOOL)
#### Post date: [July 1, 2006, 6:40am UTC](https://forum.kirupa.com/t/fl8-basic-movie-clip-as-problem/192800/1 "2006-07-01T06:40:53Z")

</div>

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:

```auto

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
