# Dynamic Menu + loadMovie

**URL:** https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938
**Category:** flash
**Created:** [December 1, 2002, 4:20pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938 "2002-12-01T16:20:27Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![Markus\_Steffen](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@Markus\_Steffen](https://forum.kirupa.com/u/Markus_Steffen)
#### Post date: [December 1, 2002, 4:20pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/1 "2002-12-01T16:20:27Z")

</div>

Hi there, I’m reletively new to AS. I am trying to load a Dynamic Menu (which was posted at Flashkit) into a container MC using the follwing:

on (release) {  
\_root.contents.loadMovie(“dinamic\_menu.swf”);  
}

Nothing happens (while the script seems to be correct).  
You can look at the files by follwing these links:

[http://www.calamusrecords.de/actionscript/buttons.fla](http://www.calamusrecords.de/actionscript/buttons.fla)  
[http://www.calamusrecords.de/actionscript/buttons.swf](http://www.calamusrecords.de/actionscript/buttons.swf)  
[http://www.calamusrecords.de/actionscript/dinamic\_menu.fla](http://www.calamusrecords.de/actionscript/dinamic_menu.fla)  
[http://www.calamusrecords.de/actionscript/dinamic\_menu.swf](http://www.calamusrecords.de/actionscript/dinamic_menu.swf)

Thanks for your help in advance,  
Markus

---

<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: [December 1, 2002, 5:22pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/2 "2002-12-01T17:22:26Z")

</div>

Nice to see new faces around! 🙂

Your code is wrong, try this:

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

```

=)

---

<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: [December 1, 2002, 7:45pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/3 "2002-12-01T19:45:27Z")

</div>

Hi and thanks for your quick reply. I tried your code but it is still not working. Is it possible that something’s wrong with the dynamic menu itself?

Thanks anyways, Markus

---

<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: [December 2, 2002, 12:28pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/4 "2002-12-02T12:28:12Z")

</div>

I´ve tested your code and there is nothing wrong with it, so my last post only shows another way of doing that 🙂

If you create another movieclip and try to load in the same way it will load. So the problem is really with the dinamic\_menu.swf, dunno why though.

Sorry, I´ve must confused you more than helped.:-\

[EDIT] Ummm, new Idea… perhaps if you try to load on levels instead of target. Let me try…  
…yeah it works:P , is there any problem for you to load this way?[/EDIT]

=)

---

<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: [December 2, 2002, 8:12pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/5 "2002-12-02T20:12:20Z")

</div>

Hi there,

thanks for your help so far. Your comments are -of course- highly appreciated!!  
Well, the code is working. Only problem is, that I cannot position the dynamic menu. It always loads at x=0 and y=0. Is there a line of code that I have to additonally insert?  
Well, I hope my questions won’t bother you.

Thanks again, Markus

---

<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: [December 2, 2002, 10:15pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/6 "2002-12-02T22:15:13Z")

</div>

Hey man You´re no bothering me at all, I have a ball helping you.

Try opening the dinamic\_menu.fla and set the dimensions as the same as the button.fla, and then position the menu wher you want the to be loaded on button.fla. That should work (I can say for sure cause I´m at home right now and I´m re-installing all my programs) 🙂

=)

---

<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: [December 3, 2002, 8:18am UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/7 "2002-12-03T08:18:42Z")

</div>

Hi GuigO,

ok, that works fine! I’ll get back to you if I have further questions. Thanks again…

Markus

---

<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: [December 10, 2002, 7:39am UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/8 "2002-12-10T07:39:43Z")

</div>

hey guys,  
where did you see the tutorial on Flash kit??..  
could you post the file so I can have loot at it…

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: [December 10, 2002, 10:29am UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/9 "2002-12-10T10:29:31Z")

</div>

I´ve noticed that you´re new here, so, WELCOME To kirupaville!🙂

I´m sure you will like to be here as much as I do.

Maybe you want to introduce yourself at the  
[kirupaforum.com \> Talk \> Random \> Tell us About Yourself: (name, aspirations, interests, etc.)](http://www.kirupaforum.com/showthread.php?s=&threadid=128)  
thread.

* * *

About the tutorial, I don´t see this tut, but the file you can get in the first post in this thread.

Cheers =)

---

<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: [December 10, 2002, 5:33pm UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/10 "2002-12-10T17:33:41Z")

</div>

guigO,

thanks for your welcome…I’m still too busy to spend enough time with you guys…but I will…  
anyway could you please have look at the file I posted on the forum. regarding a dynamic menu…  
thanks for your help…

sub0

---

<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: [December 13, 2002, 11:13am UTC](https://forum.kirupa.com/t/dynamic-menu-loadmovie/8938/11 "2002-12-13T11:13:02Z")

</div>

Hi there,

sorry for the delay. Here is the link to the dynamic menu at Flashkit:

[http://www.flashkit.com/movies/Interfaces/Menus/hierarch-Falcao-8032/index.php](http://www.flashkit.com/movies/Interfaces/Menus/hierarch-Falcao-8032/index.php)

Take care, Markus
