# Problem using clickTAG with dynamic links from XML

**URL:** <https://forum.kirupa.com/t/problem-using-clicktag-with-dynamic-links-from-xml/326930>\
**Category:** flash\
**Created:** [January 23, 2012, 11:07am UTC](https://forum.kirupa.com/t/problem-using-clicktag-with-dynamic-links-from-xml/326930 "2012-01-23T11:07:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![theMonitor](https://avatars.discourse-cdn.com/v4/letter/t/ecb155/32.png) [@theMonitor](https://forum.kirupa.com/u/theMonitor)\
**Post date:** [January 23, 2012, 11:07am UTC](https://forum.kirupa.com/t/problem-using-clicktag-with-dynamic-links-from-xml/326930/1 "2012-01-23T11:07:13Z")

</div>

Hi, hope someone can help with this one…

I’m putting together a banner that has multiple buttons each calling a getURL function, with the links being loaded from an XML file. So for example, the current operation is

button.onRelease = function() {  
getURL(linkArray[currentLink], “\_self”);  
}

Where ‘linkArray’ contains a series of URLs taken from an XML file. How do I integrate this with with clickTAG functionality?
