# AS3 HELP Movieclip inside of a Movieclip with code

**URL:** <https://forum.kirupa.com/t/as3-help-movieclip-inside-of-a-movieclip-with-code/257175>\
**Category:** flash\
**Created:** [April 10, 2008, 9:29pm UTC](https://forum.kirupa.com/t/as3-help-movieclip-inside-of-a-movieclip-with-code/257175 "2008-04-10T21:29:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fstekols\_gmail](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@fstekols\_gmail](https://forum.kirupa.com/u/fstekols_gmail)\
**Post date:** [April 10, 2008, 9:29pm UTC](https://forum.kirupa.com/t/as3-help-movieclip-inside-of-a-movieclip-with-code/257175/1 "2008-04-10T21:29:58Z")

</div>

So i’m trying to create an accordian menu that is xml driven. I’m only starting with the nav right now, and it’s pretty basic. I’m having trouble getting a movieclip inside of another movieclip with code. I’m getting this error (ReferenceError: Error #1069). I have two movieclips in the library, and both of them are linked for action script. I know that i need a main movieclip, and a sub movieclip that gets called and activated when the main movie clip is clicked on. I’m not sure how to activate it, or how to place a MC inside of another MC with code. If anyone would like to take a stab at it that would be awesome.
