# Target A Frame On A MC

**URL:** <https://forum.kirupa.com/t/target-a-frame-on-a-mc/231965>\
**Category:** Uncategorized\
**Created:** [July 10, 2007, 2:12am UTC](https://forum.kirupa.com/t/target-a-frame-on-a-mc/231965 "2007-07-10T02:12:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomyknoker](https://avatars.discourse-cdn.com/v4/letter/t/50afbb/32.png) [@tomyknoker](https://forum.kirupa.com/u/tomyknoker)\
**Post date:** [July 10, 2007, 2:12am UTC](https://forum.kirupa.com/t/target-a-frame-on-a-mc/231965/1 "2007-07-10T02:12:09Z")

</div>

my frame label contains a movie clip… when the playhead goes to the frame label “corporate”, i want it to play the movie clip sitting on the frame label, but starting at frame 20 of the movie clip…

i have the following code but doesn’t work and i can’t understand why… i attached an example of what i have made…

**Button Code**

```auto
on (release) {
	_root.gotoAndPlay("corporate");
	_root.playFromTwenty = true;
}

```

**Code on Frame Label**

```auto
if(playFromTwenty == true) myMC.gotoAndPlay(20);

```
