# Link Movie Clip inside Movie Clip AS2

**URL:** <https://forum.kirupa.com/t/link-movie-clip-inside-movie-clip-as2/318292>\
**Category:** flash\
**Created:** [January 15, 2011, 7:30pm UTC](https://forum.kirupa.com/t/link-movie-clip-inside-movie-clip-as2/318292 "2011-01-15T19:30:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![demetrisv](https://avatars.discourse-cdn.com/v4/letter/d/e495f1/32.png) [@demetrisv](https://forum.kirupa.com/u/demetrisv)\
**Post date:** [January 15, 2011, 7:30pm UTC](https://forum.kirupa.com/t/link-movie-clip-inside-movie-clip-as2/318292/1 "2011-01-15T19:30:12Z")

</div>

Im am creating a website in Flash CS5 and Im having trouble with linking a button inside a movie clip inside another movie clip. In theory it should work as ive tried but doesn’t.

I have a movieclip called **content** for the main/top level pages but then i have sub pages which i have created another movie clip **content2**

this is code i have (an example):

[COLOR=Blue]about.onRelease = function(){  
**content**.gotoAndStop(“About”);  
}[/COLOR]

this code works in the top level pages. My porblem is linking from here to a sub level page (movieclip in movieclip).

[COLOR=Blue]info.onRelease = function(){  
[/COLOR][COLOR=Blue] content. **content2**.gotoAndStop(“Info”);  
[/COLOR][COLOR=Blue]}[/COLOR]

Does this not work? i’ve done exactly the same as i would have for top level pages.

How can this be fixed? Can it be done in AS2 if not can it be done in AS3 and what is a SIMPLE method in AS3 to link pages etc

If you need more info let me know

I want to keep the pages/frames organised using movie clips to layer them. I want a good structure.

:thumb:
