A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [Resolved] XML Doc

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    24
    Hello, I have been working on the Menu_Dropdown templates that come with flash MX and I have a question regarding the XML document. Can I change the commands in the XML document to use more than just URL’s, its cool if all you want is a list of URL’s but I would like to link other swf into the same level and maybe used JavaScript to open some new windows. None of this can I do for if I deviate from the URL the list stops working, thanks for help, leo.

  2. #2
    Senior Member
    Join Date
    May 2002
    Location
    The Great Northwest
    Posts
    380

    Lightbulb make your own

    You could use the XML object to read in whatever type of xml file you wish. You can make your own xml structure and parse through it however you like. This is the beauty of xml. I know templates are nice, but if your needs exceed the template it is time to start creating

    xml like this maybe:
    < menu>
    < item>
    < label>First Item< /label>
    < link type="url">http://www.mysite.com< /link>
    < /item>
    < item>
    <label>Second Item< /label>
    < link type="movie">MCname< /link>
    < /item>
    < /menu>

    I would not set it up like this but this is just an idea for you.

    Another way to handle it is through the use of an fscommand. Or, Check out macromedia downloadable extentions. Maybe someone else has the same need as you and programed an xml menu with all the capabilities you require.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center