# How can I load XML in flash with Dynamic ID?

**URL:** <https://forum.kirupa.com/t/how-can-i-load-xml-in-flash-with-dynamic-id/211545>\
**Category:** Uncategorized\
**Created:** [January 2, 2007, 10:25pm UTC](https://forum.kirupa.com/t/how-can-i-load-xml-in-flash-with-dynamic-id/211545 "2007-01-02T22:25:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ronnie482](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@ronnie482](https://forum.kirupa.com/u/ronnie482)\
**Post date:** [January 2, 2007, 10:25pm UTC](https://forum.kirupa.com/t/how-can-i-load-xml-in-flash-with-dynamic-id/211545/1 "2007-01-02T22:25:26Z")

</div>

I’ve a simple PHP file which creates XML based on the id passed to the url like gallery.php?id=5 id can be anything based on what user has selected. I want to load it in Flash something like loaded\_xml.load(“gallery.php?id=$id”); (where loaded\_xml is new XML() object). I was wondering how can I get id from url and pass it on to flash action script. thanks in advance.
