# Need a little help

**URL:** <https://forum.kirupa.com/t/need-a-little-help/19094>\
**Category:** Uncategorized\
**Created:** [April 24, 2003, 6:48am UTC](https://forum.kirupa.com/t/need-a-little-help/19094 "2003-04-24T06:48:30Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Flugufrelsarinn](https://avatars.discourse-cdn.com/v4/letter/f/58956e/32.png) [@Flugufrelsarinn](https://forum.kirupa.com/u/Flugufrelsarinn)\
**Post date:** [April 24, 2003, 6:48am UTC](https://forum.kirupa.com/t/need-a-little-help/19094/1 "2003-04-24T06:48:30Z")

</div>

hey guys, i’ve made a drop down menu, but now the buttons doesn’t seem to work. al the menu contents are in a movie clip, so they can’t operate over the primary stage. I want to tell the buttons that

on (release) {  
loadMovie(“star.swf”, “movies”);  
}  
// but the “movies” object is in the primary stage,  
// and it doesn’t seem to work!

which command did i missed? or which one would help me in this code?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 6:56am UTC](https://forum.kirupa.com/t/need-a-little-help/19094/2 "2003-04-24T06:56:08Z")

</div>

\_root.movies.loadMovie(“star.swf”)

Try that.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 7:11am UTC](https://forum.kirupa.com/t/need-a-little-help/19094/3 "2003-04-24T07:11:04Z")

</div>

no, it doesn’t work… i tryed…

I’ll send the files, try exporting both as swf to a folder.  
and go and click in the ENFOQUE button…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 8:18am UTC](https://forum.kirupa.com/t/need-a-little-help/19094/4 "2003-04-24T08:18:24Z")

</div>

That code that lost gave is correct.

on (release) {  
\_root.movies.loadMovie(“star.swf”);  
}

double check the instance name of “movies”

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 8:22am UTC](https://forum.kirupa.com/t/need-a-little-help/19094/5 "2003-04-24T08:22:38Z")

</div>

on (release) {  
\_root.–movies–.loadMovie(“star.swf”);  
}

instead of --movies-- i have to put the movieclip target instance name? it still don’t work…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 8:28am UTC](https://forum.kirupa.com/t/need-a-little-help/19094/6 "2003-04-24T08:28:42Z")

</div>

i tried to make a drop menu. Maybe i’m having something wrong… which is the best way to make one? or to make the code you are gaving me, work…

i never thougth that to make a drop menu, it would be so hard… - sob - 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 8:30am UTC](https://forum.kirupa.com/t/need-a-little-help/19094/7 "2003-04-24T08:30:48Z")

</div>

post your fla im sure someone will be able to fix the code

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 4:29pm UTC](https://forum.kirupa.com/t/need-a-little-help/19094/8 "2003-04-24T16:29:59Z")

</div>

Hello again!..

I’m still gettin problems with this thing to work…  
check the attachment, it speaks for itself 😉

if you can help me i’ll be gratefull

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 4:34pm UTC](https://forum.kirupa.com/t/need-a-little-help/19094/9 "2003-04-24T16:34:26Z")

</div>

and the files.:evil:  
help meeee:beam:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 4:45pm UTC](https://forum.kirupa.com/t/need-a-little-help/19094/10 "2003-04-24T16:45:01Z")

</div>

Don’t crosspost Flug. You didn’t need to create a new thread to attach the files with, you could have done it in here. I merged the threads since the other one contained your files.

And your error is in the targeting.

The container clip you are loading to has the instance name of “target” (no quotes).

So why are you targetting it as \_root.movies?

And…

[AS]on (release) {  
\_root.movies.loadMovie(“button2.swf”, “target”);  
}[/AS]

That syntax doesn’t really make sense. You don’t need the “target” at the end if you are putting the target before the load movie code. There are two ways to write loadMovie code…

Method 1) movieClip.loadMovie(“file”)  
Method 2) loadMovie(“file”, “movieClip”)

I prefer method one, its easier.

So your code would become something like…

[AS]on (release) {  
\_root.target.loadMovie(“button2.swf”);  
}[/AS]

Now… onto problem 2. Your buttons aren’t actually clickable. Given the setup of the menu you have here, You have a main invisible button over the content, this button takes all the attention off of the buttons underneith it, so actually your menu items are unclickable.

Syko wrote a tutorial on drop down menus, perhaps you should check that out.

[http://www.kirupa.com/developer/mx/dropdownmenu.htm](http://www.kirupa.com/developer/mx/dropdownmenu.htm)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 4:49pm UTC](https://forum.kirupa.com/t/need-a-little-help/19094/11 "2003-04-24T16:49:22Z")

</div>

I really thank you, and i’m sorry about the THREAD thing… i don’t really know much about forums, i’m a newbie… but i discovered how to post files, and that sort of things, more than easy… ill check what you are saying, and if it works… I’LL BE REALLY HAPPY!!! :d
