?
Solved

making a menu with xml

Posted on 2004-03-26
3
Medium Priority
?
210 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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 what frame rate is, how to control it and what effect it has on the video.
Suggested Courses
Course of the Month9 days, 22 hours left to enroll

762 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