# loadMovie

**URL:** https://forum.kirupa.com/t/loadmovie/68854
**Category:** Uncategorized
**Created:** [October 29, 2004, 2:52pm UTC](https://forum.kirupa.com/t/loadmovie/68854 "2004-10-29T14:52:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sergevc](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@sergevc](https://forum.kirupa.com/u/sergevc)
#### Post date: [October 29, 2004, 2:52pm UTC](https://forum.kirupa.com/t/loadmovie/68854/1 "2004-10-29T14:52:54Z")

</div>

I have this problem… I made a sub navigation in a movieclip, this all seems to work very well, but once I load this movieclip into my main page, the sub navigation stops working.

I’m using the Loadmovie script, with the createEmtyMovieClip, that you can find here on the site!

++++++++++++++++++++++++++  
this is the script of main main navigation  
++++++++++++++++++++++++++

[FONT=Verdana][COLOR=Sienna]on (rollOver) {

// slider - Movie Clip’s Instance Name. button\_1 - Button’s Instance Name.  
slider.xMove = button\_1.\_x;

}

on (release) {  
//setProperty(glow1,\_alpha,80);  
//this makes movieclips glow1,2,3,4 light up  
this.glow1.\_alpha=300;  
this.glow2.\_alpha=100;  
this.glow3.\_alpha=100;  
this.glow4.\_alpha=100;  
//here we load the sub nav  
\_root.createEmptyMovieClip(“container”,1);  
//typo\_MC.swf is the sub navigation  
container.loadMovie(“typo\_MC.swf”);  
container.\_x = 6, container.\_y = 122 ;

\_root.onMouseDown = function () {  
startDrag (“container”,false) ;  
}  
\_root.onMouseUp = function () {  
stopDrag () ;  
}  
}

+++++++++++++++++++++++  
this is the script for my sub navigation  
+++++++++++++++++++++++  
on (rollOver) {  
\_parent.createEmptyMovieClip(“preview\_t”,2);  
preview\_t.loadMovie(“img/img\_t/s/001.jpg”);  
preview\_t.\_x = 0, preview\_t.\_y = 0 ;

\_parent.onMouseDown = function () {  
startDrag (“preview\_t”,false) ;  
}  
\_parent.onMouseUp = function () {  
stopDrag () ;  
}

}

on (release) {  
}

[/FONT][/COLOR]
