# \[FMX\] xml.load from URL

**URL:** <https://forum.kirupa.com/t/fmx-xml-load-from-url/67179>\
**Category:** flash\
**Created:** [October 13, 2004, 9:57am UTC](https://forum.kirupa.com/t/fmx-xml-load-from-url/67179 "2004-10-13T09:57:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FLOW](https://avatars.discourse-cdn.com/v4/letter/f/8edcca/32.png) [@FLOW](https://forum.kirupa.com/u/FLOW)\
**Post date:** [October 13, 2004, 9:57am UTC](https://forum.kirupa.com/t/fmx-xml-load-from-url/67179/1 "2004-10-13T09:57:01Z")

</div>

Hi There,  
First of all, i think that the [kirupa.com](http://kirupa.com) is a great place to learn. i haven’t seen any other site with nice structured tutorial content like [kirupa.com](http://kirupa.com)

My question:

I’m building a flashmenu from xml. it all works fine. but i have a question about the menu\_xml.load(“menu.xml”); line at the end of my script.  
This way all works fine. menu is perfectly generated.

But i want more. I have a php url that generates the xml. it’s from a content management-system. so i thought, wouldn’t it be beautiful if the menu loads from the pagstructure in the cms.

The xml strucutre is generated with the url: “index.php?&type=3”  
i tried to use this url in to my actionscript like:

menu\_xml.load(“index.php?&type=3”);

but it didn’t work.

Does somebody have suggestions how to solve this. Or is the url in the xml.load() function always \*.xml

Thanx in advance (sorry for my english)

Greetz FLOW

--------------------------------------Solved------------------------------

Just use the whole URL  
menu\_xml.load(“[http://www.blablabla.com/bla/bla/index.php?&type=3](http://www.blablabla.com/bla/bla/index.php?&type=3)”);

Greetz FLOW
