# loadMovie? Levels? PLEASE PLEASE HELP

**URL:** <https://forum.kirupa.com/t/loadmovie-levels-please-please-help/319208>\
**Category:** Uncategorized\
**Created:** [February 12, 2011, 10:28am UTC](https://forum.kirupa.com/t/loadmovie-levels-please-please-help/319208 "2011-02-12T10:28:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ylevasseur](https://avatars.discourse-cdn.com/v4/letter/y/4491bb/32.png) [@ylevasseur](https://forum.kirupa.com/u/ylevasseur)\
**Post date:** [February 12, 2011, 10:28am UTC](https://forum.kirupa.com/t/loadmovie-levels-please-please-help/319208/1 "2011-02-12T10:28:07Z")

</div>

Hi there,

In short i’m creating a website… I have created a simple navigation bar that has 6 buttons. the bar was created using movie clips then by putting an “invisible” button underneath.

as for the action script:

on the main stage in an actions layer i have:

\_root.home\_mc.onEnterFrame = function(){  
if(mouse\_over\_home\_mc){  
\_root.home\_mc.nextFrame();  
}else{  
\_root.home\_mc.prevFrame();  
}  
};

I have this code for every button, except the names of the movie clips change. All the movie clips do for now is have a graphic go from black to red.

The action script for the buttons are as follows:

on (rollOver){  
\_root.mouse\_over\_home\_mc = true;  
}  
on (rollOut){  
\_root.mouse\_over\_home\_mc = false;  
}  
on (release){  
getURL(“[blah.com](http://blah.com)”);  
}

Now when i play the clip everything works like i want it to work…The problem arrises once i load the bar into my header

What I have done is created a new file which contains my header… I added a layer called load with a blank movie clip with the instance name of load\_mc in another layer called actions I added the following action scripts:

this.onLoad + function(){  
load\_mc.loadMovie(“button\_ar.swf”);  
}  
stop();

When I play this file, my button\_bar.swf load but the graphic keeps playing over and over again instead of only playing on mouse over. I know this is a simple thing to fix, but I just can’t see it…

Thank you for any advice as to what to try next
