# Unbelievably stupid question

**URL:** https://forum.kirupa.com/t/unbelievably-stupid-question/9423
**Category:** Uncategorized
**Created:** [December 11, 2002, 3:19pm UTC](https://forum.kirupa.com/t/unbelievably-stupid-question/9423 "2002-12-11T15:19:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bfrench](https://avatars.discourse-cdn.com/v4/letter/b/cdc98d/32.png) [@bfrench](https://forum.kirupa.com/u/bfrench)
#### Post date: [December 11, 2002, 3:19pm UTC](https://forum.kirupa.com/t/unbelievably-stupid-question/9423/1 "2002-12-11T15:19:32Z")

</div>

Okay, I’m really embarrassed to ask this question, but I’ve been away from Flash for a while and my brain seems to be in a dead zone today.

I have a movie clip, call it myMovieClip. Inside this movieclip are two frames. All I’m trying to do is on the main timeline dictate which frame of the movie clip displays.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 11, 2002, 3:25pm UTC](https://forum.kirupa.com/t/unbelievably-stupid-question/9423/2 "2002-12-11T15:25:43Z")

</div>

im not sure what you exactly want:beam:😛  
this?:sigh:

```php

myMovieClip.gotoAndPlay(frame)

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 11, 2002, 3:42pm UTC](https://forum.kirupa.com/t/unbelievably-stupid-question/9423/3 "2002-12-11T15:42:39Z")

</div>

Well, like I said, my brain is in a dead zone today. You were absolutely right and that worked perfectly. (I could have sworn that I tried that before posting my question.)

I do have a second question, though. I am building a component that contains the movieclip just mentioned. The first function in my component is an initializing function with the following code:

myComponentClass.prototype.initial = function() {  
this.myMovieClip.gotoAndStop(“secondFrame”);  
}

Any ideas why this is not working?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 11, 2002, 6:10pm UTC](https://forum.kirupa.com/t/unbelievably-stupid-question/9423/4 "2002-12-11T18:10:32Z")

</div>

secondFrame is it a frame label or what is this… :q:  
if you want to gotoAndStop next frame you can use this

```php

gotoAndStop(_currentframe+1);

```

i can’t understand what you mean exactly :\*(
