Solved

making a menu with xml

Posted on 2004-03-26
3
209 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
[X]
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
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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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…
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.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

696 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