# Need help in XML

**URL:** <https://forum.kirupa.com/t/need-help-in-xml/298404>\
**Category:** Uncategorized\
**Created:** [October 18, 2009, 11:25am UTC](https://forum.kirupa.com/t/need-help-in-xml/298404 "2009-10-18T11:25:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![janaskhal](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@janaskhal](https://forum.kirupa.com/u/janaskhal)\
**Post date:** [October 18, 2009, 11:25am UTC](https://forum.kirupa.com/t/need-help-in-xml/298404/1 "2009-10-18T11:25:42Z")

</div>

Hello every body, I have a xml photo gallery and on the release event of each image I need to load swf rather than geturl blank page. Kindly help me to sorted out …

* * *

XML code :  
\<xml\>  
\<folder\>

\<image img=‘lost\_01.jpg’ w=‘948’ h=‘400’ link=‘images/lost\_01.jpg’ /\>  
\<image img=‘alias\_02.jpg’ w=‘948’ h=‘400’ link=‘images/alias\_02.jpg’ /\>  
\<image img=‘alias\_03.jpg’ w=‘948’ h=‘400’ link=‘images/alias\_03.jpg’ /\>  
\</folder\>  
\</xml\>

* * *

FLA code

_root.container\_mc["th_"+nextImg].onRelease = function() {  
this.link = \_root.images\_xml.firstChild.firstChild.childNodes[this.i].attributes.link;  
//getURL(this.link,"\_blank");

getURL(“javascript:flashLightbox(’”+this.link+"’); ");

// end else if  
};

* * *

waiting a postive reply… thanks
