# AS3: getURL using xml doesnt launch properly

**URL:** <https://forum.kirupa.com/t/as3-geturl-using-xml-doesnt-launch-properly/274280>\
**Category:** flash\
**Created:** [October 27, 2008, 11:40pm UTC](https://forum.kirupa.com/t/as3-geturl-using-xml-doesnt-launch-properly/274280 "2008-10-27T23:40:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sonofjohn](https://avatars.discourse-cdn.com/v4/letter/s/4af34b/32.png) [@sonofjohn](https://forum.kirupa.com/u/sonofjohn)\
**Post date:** [October 27, 2008, 11:40pm UTC](https://forum.kirupa.com/t/as3-geturl-using-xml-doesnt-launch-properly/274280/1 "2008-10-27T23:40:52Z")

</div>

I have been converting everything to as3 and been having trouble using getURL in xml. I have a gallery that just has a previous and next area which loads a new image as well as new text. All this works fine. I just have one button that will get a specific URL in my xml. Bascially the button should function like the rest except it is static and I am just incrementing though the node.

Example:  
\<NODE\>  
\<linkOutURL\>[www.1.com](http://www.1.com)\</linkOutURL\>  
\<linkOutTarget\>\_blank\</linkOutTarget\>  
\</NODE\>  
\<NODE\>  
\<linkOutURL\>[www.2.com](http://www.2.com)\</linkOutURL\>  
\<linkOutTarget\>\_blank\</linkOutTarget\>  
\</NODE\>

I can get the URL to function but it wants to pull up the last URL that is in my xml node.

I have attached my working files if anyone one is willing to take a look. Apoligies if something could be written different. This is my 2nd week from migrating to AS3

[[SIZE=4][/SIZE]](http://jephjohnson.compost.zip)
