# Movie clip Buttons Within a Movie Clip

**URL:** <https://forum.kirupa.com/t/movie-clip-buttons-within-a-movie-clip/252420>\
**Category:** Uncategorized\
**Created:** [February 20, 2008, 12:20am UTC](https://forum.kirupa.com/t/movie-clip-buttons-within-a-movie-clip/252420 "2008-02-20T00:20:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![djfoxx](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@djfoxx](https://forum.kirupa.com/u/djfoxx)\
**Post date:** [February 20, 2008, 12:20am UTC](https://forum.kirupa.com/t/movie-clip-buttons-within-a-movie-clip/252420/1 "2008-02-20T00:20:39Z")

</div>

Hey everyone.

I used the Kirupa Tutorial for Advanced Rollovers to create my navigation menu and within one of the movie clips I have additional buttons that show up on the roll over.

I know that you need to place the onPress code on the frame that the buttons actually live. I have a _trace("mix\_btn: "+mix\_btn);_ to find out if the button is being found.

My problem is that I dont know how to get the code below to actually dynamically load and external SWF into a container on the main timeline. A friend of mine suggested a MovieClipLoader or onLoadInit Handler but I have no idea how to use those. (I’m a noob and proud of it!).

Any suggestions?!!! Ill give someone a prize if they know how to make this happen!!

(this is my latest version of a onPress.)

```auto
mix_btn.onRelease = function() {
    _root.createEmptyMovieClip("container", getNextHighestDepth())
    loadMovie("musicMixes.swf", container);
    container._x = 0 ;
    container._y = 0 ;

```

Here is a link to my source files.  
[http://www.djlukasz.com/portfolio.zip](http://www.djlukasz.com/portfolio.zip)
