# HELP! Passing Variable from Flash to XML doc

**URL:** <https://forum.kirupa.com/t/help-passing-variable-from-flash-to-xml-doc/173790>\
**Category:** Uncategorized\
**Created:** [December 29, 2005, 7:20pm UTC](https://forum.kirupa.com/t/help-passing-variable-from-flash-to-xml-doc/173790 "2005-12-29T19:20:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thebutterfly](https://avatars.discourse-cdn.com/v4/letter/t/51bf81/32.png) [@thebutterfly](https://forum.kirupa.com/u/thebutterfly)\
**Post date:** [December 29, 2005, 7:20pm UTC](https://forum.kirupa.com/t/help-passing-variable-from-flash-to-xml-doc/173790/1 "2005-12-29T19:20:28Z")

</div>

Hey there,

I’ve been pulling my hair out & hope I’m just missing something simple. Being rather new at actionscripting I bought a gallery that is loaded by an xml file. Great! Now I need click on a link w/ http:www.url.com?id=## and have the id=## go to my swf doc and pass that info to the xml doc so that the correct image load. Has someone done this? Im in a real bind here - any help would be appreciated.

Thanks!!!

Bellow is some of the code… this is copywrighted material so I dont think I can put it all up there

imageXML.ignoreWhite = true;  
if(\_root.xmlFile==undefined){  
\_root.xmlFile=(“info.cfm”)  
[COLOR=dimgray] //\_root.xmlFile=(“info.cfm?=”+url.id) is one thing I tried but it didnt work[/COLOR]

};
