Dynamic Menu + loadMovie

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.swf
http://www.calamusrecords.de/actionscript/dinamic_menu.fla
http://www.calamusrecords.de/actionscript/dinamic_menu.swf

Thanks for your help in advance,
Markus

Nice to see new faces around! :slight_smile:

Your code is wrong, try this:

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

=)

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

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

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]

=)

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

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) :slight_smile:

=)

Hi GuigO,

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

Markus

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

thanks.

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

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.)
thread.


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

Cheers =)

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

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

Take care, Markus