Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

making a menu with xml

Posted on 2004-03-26
3
196 Views
Last Modified: 2010-04-03
hey all, i want to make a navigation menu in flash using xml. I have flashMX2004 Pro, if that helps. I would like to have a nice navigation with some cool tweens. How do i do this? This is what i would like my nav to look like

About us       Products       Services        Contact Us


and when you roll over, sub navs appear


About Us       Products       Services        Contact Us
  History
  Who We Are
  Personnel

Etc...

How do I do this? Say the XML File looks like this

<navigation>
     <mainLink>
        <name>About Us</name>
        <url>about.asp</url>
              <subLinks>
                   <subName>History</subName>
                   <subUrl>history.asp</subUrl>

                   <subName>Who we are</subName>
                   <subUrl>who.asp</subUrl>

               </subLinks>

          <name>Products</name>
          <url>products.asp</name>
     </mainLink>
</navigation>

I didn't put all the links, but you get the idea. How do i go about doing this????

thanx all in advance.
0
Comment
Question by:engineroom
3 Comments
 
LVL 2

Expert Comment

by:SandyCooke
ID: 10690627
0
 
LVL 22

Accepted Solution

by:
rascalpants earned 500 total points
ID: 10706257
first of all, why an XML file?  are you planning on using the same data in multiple menu designs/layouts?  if not, then there really is no need...    

or are you just wanting to use a dynamic solution?

rp
0
 
LVL 3

Author Comment

by:engineroom
ID: 10706768
multiple menus in the design/layouts, and the dynamic aspect of it, cause menus will be added constantly.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question