# AS 3.0 - Linking to a frame from a MovieClip

**URL:** <https://forum.kirupa.com/t/as-3-0-linking-to-a-frame-from-a-movieclip/283586>\
**Category:** flash\
**Created:** [March 8, 2009, 6:11pm UTC](https://forum.kirupa.com/t/as-3-0-linking-to-a-frame-from-a-movieclip/283586 "2009-03-08T18:11:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oblivion2010](https://avatars.discourse-cdn.com/v4/letter/o/bbe5ce/32.png) [@oblivion2010](https://forum.kirupa.com/u/oblivion2010)\
**Post date:** [March 8, 2009, 6:11pm UTC](https://forum.kirupa.com/t/as-3-0-linking-to-a-frame-from-a-movieclip/283586/1 "2009-03-08T18:11:59Z")

</div>

Hey guys, I’m trying to link from inside my movieclip to a frame on the main timeline.

The ActionScript is inside the MovieClip.

```auto

function gotoSite(e:MouseEvent):void{
gotoAndPlay("home");
}

```

This is the code I’m using, however I need to use the ‘root’ or the ‘parent’ properties to get to the main timeline, however I’m unsure on how to code this, any help is appreciated.
