View Full Version : Dynamic Menu + loadMovie
Markus Steffen
December 1st, 2002, 11:20 AM
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
Guig0
December 1st, 2002, 12:22 PM
Nice to see new faces around! :)
Your code is wrong, try this:
on (release) {
loadMovie("dinamic_menu.swf", "_root.contents");
}
=)
Markus Steffen
December 1st, 2002, 02:45 PM
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
Guig0
December 2nd, 2002, 07:28 AM
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.:-\
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?
=)
Markus Steffen
December 2nd, 2002, 03:12 PM
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
Guig0
December 2nd, 2002, 05:15 PM
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) :)
=)
Markus Steffen
December 3rd, 2002, 03:18 AM
Hi GuigO,
ok, that works fine! I'll get back to you if I have further questions. Thanks again...
Markus
sub0
December 10th, 2002, 02:39 AM
hey guys,
where did you see the tutorial on Flash kit??....
could you post the file so I can have loot at it..
thanks.
Guig0
December 10th, 2002, 05:29 AM
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 =)
sub0
December 10th, 2002, 12:33 PM
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
Markus Steffen
December 13th, 2002, 06:13 AM
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
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.