# Question

**URL:** <https://forum.kirupa.com/t/question/17854>\
**Category:** Uncategorized\
**Created:** [April 10, 2003, 1:07am UTC](https://forum.kirupa.com/t/question/17854 "2003-04-10T01:07:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazygamer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@crazygamer](https://forum.kirupa.com/u/crazygamer)\
**Post date:** [April 10, 2003, 1:07am UTC](https://forum.kirupa.com/t/question/17854/1 "2003-04-10T01:07:59Z")

</div>

can you asign this:

introclip.gotoAndPlay(2);

action to a frame in the main movie?  
because it doesn’t seem to be doing anything.

---

<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:** [April 10, 2003, 1:33am UTC](https://forum.kirupa.com/t/question/17854/2 "2003-04-10T01:33:14Z")

</div>

Hello there.

Please explain what you want to do.  
To do action to the main timeline you have to use:

```
   _root.gotoAndPlay(2);
```

---

<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:** [April 10, 2003, 2:10am UTC](https://forum.kirupa.com/t/question/17854/3 "2003-04-10T02:10:42Z")

</div>

no no. I have a movie clip called introclip. I want it to play as soon as the main timeline gets to a certain frame(frame 5 if it’s of any importance). Also, if i replace the line of code i gave with:  
tellTarget(introclip) {  
gotoAndPlay(2);  
}  
which usually works, the script hangs up and aborts.

---

<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:** [April 10, 2003, 2:57am UTC](https://forum.kirupa.com/t/question/17854/4 "2003-04-10T02:57:12Z")

</div>

So , if you have your movie clip on the main timeline put on the desire frame this code:

```
   _root.introclip.gotoAndPlay(2);

```

This should work…
