Solved

making a menu with xml

Posted on 2004-03-26
3
190 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

770 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