Solved

making a menu with xml

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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): …
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now