# Menu problem

**URL:** <https://forum.kirupa.com/t/menu-problem/14397>\
**Category:** flash\
**Created:** [February 25, 2003, 8:46pm UTC](https://forum.kirupa.com/t/menu-problem/14397 "2003-02-25T20:46:23Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alex](https://avatars.discourse-cdn.com/v4/letter/a/db5fbb/32.png) [@Alex](https://forum.kirupa.com/u/Alex)\
**Post date:** [February 25, 2003, 8:46pm UTC](https://forum.kirupa.com/t/menu-problem/14397/1 "2003-02-25T20:46:23Z")

</div>

Hello,

i am having a problem with my menu. i am creating a new flash site and i decited to make my own menu, instead of getting it from Flash Kit. the problem is, i put in this script, after i selected the button.

```php
on (release) {
	_root.contents.loadMovie("locations.swf");
}

```

and i add the link. but when i go to test out my web site it doesnt work, nothing happens.

i made a seperate page in MX and i uploaded it to my server.

please help. this is probally a really stupid question but i am stuck.  
:-\  
thanks

---

<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:** [February 25, 2003, 8:55pm UTC](https://forum.kirupa.com/t/menu-problem/14397/2 "2003-02-25T20:55:15Z")

</div>

Did you remember to create a empty movieclip with an instance name of “content”? That script above is loadeing it into a movieclip with an instance called “content” so if you didn’t make it then it wont have nothing to load to.

---

<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:** [February 25, 2003, 9:02pm UTC](https://forum.kirupa.com/t/menu-problem/14397/3 "2003-02-25T21:02:02Z")

</div>

Where ever you want your locations.swf to appear is where the empty movieclip should be. Just think of it this way, the locations.swf will replace the empty movieclip once it’s loaded.

So create the empty movieclip on your main movie and place it wherever you want, but make sure it’s sitting on the main timeline of course. =)

---

<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:** [February 25, 2003, 10:03pm UTC](https://forum.kirupa.com/t/menu-problem/14397/4 "2003-02-25T22:03:40Z")

</div>

i didnt know how to make a movie clip so i tried to use this method

```php
on (release) {
    gotoAndStop(11);
}

```

and it just opens up a new window.

i cant beleve nothing is working out for me.☹

---

<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:** [February 25, 2003, 10:08pm UTC](https://forum.kirupa.com/t/menu-problem/14397/5 "2003-02-25T22:08:23Z")

</div>

Come on Alex, work with me here, I’m sure you know how to make movieclips.

Just go to insert \> New symbol and select movieclip, that should create a new blank movieclip for you. Now give it a name.

Next open your library and drag out an instance of that same movieclip you just made and place it on the stage on the main timeline

Click on it to select it then open your properties panel and give it an instance name of something like “blahMC” for example and that should be it.

Now that you’ve made the empty movieclip, the loadMovie script I posted should work for you.

---

<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:** [February 25, 2003, 10:57pm UTC](https://forum.kirupa.com/t/menu-problem/14397/6 "2003-02-25T22:57:50Z")

</div>

![](http://www.geocities.com/alex4332/site.txt)

that is what i have so far. i am not sure if i did it correctly.=)

---

<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:** [February 25, 2003, 10:58pm UTC](https://forum.kirupa.com/t/menu-problem/14397/7 "2003-02-25T22:58:46Z")

</div>

I can’t really tell what you did so far by that pic, did you get it to work or not?

---

<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:** [February 25, 2003, 11:00pm UTC](https://forum.kirupa.com/t/menu-problem/14397/8 "2003-02-25T23:00:47Z")

</div>

the link didnt work:hair:

but when i did that, a little circle showed up with a cross.

P.S

congrats about becoming a mod.  
i’m jelous:bad: (-:

---

<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:** [February 25, 2003, 11:34pm UTC](https://forum.kirupa.com/t/menu-problem/14397/9 "2003-02-25T23:34:03Z")

</div>

![](http://www.geocities.com/alex4332/picture.txt)

that is what you said to do, if i followed it correctly. but i probally didnt because its not working.☹

---

<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:** [February 25, 2003, 11:45pm UTC](https://forum.kirupa.com/t/menu-problem/14397/10 "2003-02-25T23:45:23Z")

</div>

Thanks Alex, there’s no need to be jealous, I’m still the same as everyone here, we’re all here to learn and help out each other. =)

As for the image you just posted, that circle with a cross in the center is the registration point of the new movieclip you created. And judging by the properties panel in that pic, you gave that movieclip an instance name of main which would be wrong since the script you posted targets an movieclip with an instance name of content.

So change main to content or vice versa and it should 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:** [February 25, 2003, 11:49pm UTC](https://forum.kirupa.com/t/menu-problem/14397/11 "2003-02-25T23:49:15Z")

</div>

wooohoo it worked, but is there any way i can controll where it pops up. because it loaded at the bottom of the web site.😛

---

<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:** [February 25, 2003, 11:51pm UTC](https://forum.kirupa.com/t/menu-problem/14397/12 "2003-02-25T23:51:39Z")

</div>

Yeah just move the movieclip to whever you want because like what I’ve said above, the movieclip is basically where the external movie is going to be.

I’m glad it worked for you. =)

---

<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:** [February 25, 2003, 11:52pm UTC](https://forum.kirupa.com/t/menu-problem/14397/13 "2003-02-25T23:52:41Z")

</div>

so i just move the little circle with the cross? to where i want the contents to load.

thanks for all of you help: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:** [February 25, 2003, 11:54pm UTC](https://forum.kirupa.com/t/menu-problem/14397/14 "2003-02-25T23:54:43Z")

</div>

By clicking on the lil cross, you’re basically selecting the whole movieclip so yes, you can do that. Just move that lil cross, but keep in mind that lil cross represents the center of the movieclip so it will also be the center of your external movie.

Just play around and move it to different spots until you get it right. =)

---

<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:** [February 26, 2003, 1:13am UTC](https://forum.kirupa.com/t/menu-problem/14397/15 "2003-02-26T01:13:28Z")

</div>

ok…i had trouble with the load from an external .swf with placement before…so you are saying…if i move the little cross to the center of the blank mc, it will center the movieclip? because whenever i try to load an external .swf…it places it somewhere really weird…

:+) hmm…i think i’ll try this…

---

<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:** [February 26, 2003, 1:32am UTC](https://forum.kirupa.com/t/menu-problem/14397/16 "2003-02-26T01:32:47Z")

</div>

i had to play around with it to get it close into the center  
\<:}
