XML Flash Menu ...HELP Please

Hi There:

I’m familiar with flash and have used it quite alot… but just for animations and what not. I have never gotton into an understanding of Action Script too well.

I want to use a XML based flash menu just like the found on this site here:

http://www.ultrashock.com/flas/Detailed/196.html
Ultrashock FLA’s > Back End Integration > Flash > XML menu
BY: Jonas Galvez.

or something to that same effect.

-How do I have more than one Main section come up? I understand the basics of the xml part, but not in the AC.

  • Also, how to place targets in the links

I would like to make this all horizontal and hopefully I’ll be able to insert movieclips as the mouse on and off states. This is the first part of many questions I’ll probably have trying to figure this out…

The source file with this done would be a great help, if possible, thanks!

Cheers,
Shelby.

Great little thread. I am working with a horizontal menu very similar to the ones shown here. My problem is that I am not working with a visible background. Is there a way to scale the background so that is, let’s say, the width of the menu name + 10 pixels?

Right now, the menu duplicates the mc’s and spaces them with curr_item._x = x+ i*curr_item._width; this works fine except when I want it to size to the name as I have menu items that are only 30px wide, and others that come in at 80px.

I’d still like to use a background so that the rollover state changes the tint of it to indicate rollover or selection. Thanks!

Hi there,
I also want to have a horizontal navigation with a vertical drop-down. And I’ve tried all the ActionScript on this page. But can’t seem to make it work.
The best thing is that I’m using the MX version, so can’t use all the zip’s or rar’s you guys/gals left on this site.

The next link shows a example of how it’s supposed to be:
http://http://members.home.nl/twinsen/flash_menu/example.html

As you can see (if you look at the example).

  • first link is static, but it would be nice if the information is read from the XML-file.
  • the background is fading from light blue to blue.
  • and MultiLine links are required.
  • If you are not on a menu the menu should go away.

I know some of you will write the script in 5 min, but I’m still learning and I want to know, what/how and why you use a method to get it to work.

thanks.