Search  

XML DROPDOWN LIST/MENU

HomeBrowse CategoriesFlashMenus & ButtonsVertical MenusXML dropdown list/menu

It’s a fully dynamic dropdown list, which reads in buttons from an xml, puts them in a dropdown and when a dropdown item is pressed it loads the url, specified in the xml file. Great for “quick navigation” on websites.

Posted 10 months ago

@ vred – If you open the fla file, click on the actions layer, at the top of the timeline and open your “actions” dialog box. Scroll down to the bottom, and one of the very last lines say;

getURL (this.linkContainer, “_self”;);

Simply replace that line with;

yourMovieClipInstanceName.loadMovie(this.linkContainer);

Posted 8 months ago

I tryed several times and nothing I have this action in my first frame of my movie and it is loading just fine what i wan to load.

OK here is my scenary:

I have the Main Movie wich is loading a Submovie inside a container That submovie is in a 1 level folder from the main movie. Now the submovie has the drop menu inside and the drop menu has the xml file where the main movie is located in the root of the main movie.

Now I have another movie in the same folder where submovie is located. I need the drop menu to unload if there is another movie in container inside the submenu movie and inmediatly load other sub sub movie in the sub movie that is inside the main movie.

this.Galleries_C.loadMovie(“art/g0.swf”;); stop();

Now What I’m trying to do is to unload any movie in “Galleries_C” container and load new movie into that container using the dorp menu.

Now here is the tricky part all this is loaded into a Main Movie.

:| I know it sounds freaky hehe :( ?

You sent me yourMovieClipInstanceName.loadMovie(this.linkContainer);

yourMovieClipInstanceName ( Iguess you mean the movie clip tha will contain the new loaded movie? movie container?

if that my movie container name is Galleries_C

Now (this.linkContainer); this? why? linkContainer = ?

and then what shoul i place in the XML document?

I’m so sorry for all those questions !

Posted 8 months ago

I’M SORRY FORGET ABOUT THE LONG TEXT I HAD PLACED

IT WORKED NOW FOR ME LIKE THIS

_root.Gallery_MC.loadMovie(this.link, _root);

NOW MY PROBLEM IS : that if I want to call another movie in the same Movie Container “Gallery_MC” from one of the selections of the drop menu it just wont load any beacuse it needs to unload it first.

How can I solve that problem :|

Posted 8 months ago

@ vred – it’s late here, and I didn’t follow all of your questions entirely, but it sounds like you have check on it. If you need to empty “Gallery_MC” before loading a new movie into it, try just adding this _root.Gallery_MC.unloadMovie(this) right before _root.Gallery_MC.loadMovie(this.link, _root);

Posted 8 months ago

Ok great it just gets really tricky because I have several Xml elementns interacting with each other but I have it under control

GREAT SUPPORT Lulc GREAT FILE i REALLY RECOMEND IT .

Posted 8 months ago

@ vred – Great, I’m happy you got it working. Remember to drop me a link if what you’re creating is online. I love seeing how people use my stuff. Thanks.

Posted 8 months ago

sure I will

Posted 8 months ago

What we are trying to do is implement this menu item within a flash header having six buttons. If we use one instance of the movie clip then it works fines but as we add another instance the thing stop working. Can we know where to change code within the flash file so for each six buttons we could have six drop down menus reading from six different xml files.

Posted 8 months ago

Kpatel2000 – what you want to do, is to embed 6 different examples of the flash file. So, you would have 6 individual .swf’s instead of having them all in one flash file. Then inside each individual flash file, you correct the path for the xml-file to whatever you want and you just create 6 different xml’s. Send me a mail if you need further/deeper explanation, or an alternative solution.

Posted 8 months ago

Hey Lulc, thanks I sent you a message.

Posted 8 months ago

Just what I was looking for! Genious, man! :D

Posted 6 months ago

Hi, I am interested in loading swfs into a clip using this menu instead of urls but I can’t find this line of code. Please help. It does not seem to be in the actions.

getURL (this.linkContainer, “_self”

Posted 6 months ago

nevermind, I figured it out, thanks for a great file.

Posted 6 months ago

I’m sorry if it wasn’t commented in the code properly. As far as I remember, the actions for loading either a swf or a html file is at the bottom of the actions layer. I’m glad you figured it out.

Posted 6 months ago

Hi There!

Is it possible to use more than one copy of the drop down on the stage?

I am trying to have 3 different lists, and have duplicated the movie and changed the xml link inside each, but the drop down button doesnt seem to function ?

Otherwise this is great!

Posted 6 months ago

found it! it was on the button actions on the time line…

now I am very happy!

Posted 6 months ago

Thank You!

Posted 29 days ago

I should probably ask before buying but Its possible to configurate this to load movies from a main movie? more clear, I want to use this to load different pages (swf) to a main movie, actually I have a swf with many buttons and I have to set to each of them the properties “LoadMovie” and “Unloadmovie”, can be this drop menu list more efficient? I do not know If I explained well.

Posted 29 days ago

@ doumeki – are you the one I recently talked with via email or no?

Posted 25 days ago