# getUrl variable

**URL:** <https://forum.kirupa.com/t/geturl-variable/234024>\
**Category:** flash\
**Created:** [July 29, 2007, 6:31pm UTC](https://forum.kirupa.com/t/geturl-variable/234024 "2007-07-29T18:31:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluecarnumber9](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bluecarnumber9](https://forum.kirupa.com/u/bluecarnumber9)\
**Post date:** [July 29, 2007, 6:31pm UTC](https://forum.kirupa.com/t/geturl-variable/234024/1 "2007-07-29T18:31:17Z")

</div>

I’ve been playing around and still can’t get this to work. My thumbnail gallery is loaded dynamically using xml and I have a link included with each thumbnail but can’t seem to get it to work to load the link with each thumnail.

In xml I have:

```auto

<pic>
        <image>http://www.yoursite.com/images/image1.jpg</image>
        <caption>Your caption</caption>
        <thumbnail>http://www.yoursite.com/images/image1thn.jpg</thumbnail>
        <link>http://www.anothersite.com</link>
    </pic>

```

I’d like onRelease to open in another window so have tried this and variations of:

```auto

links* = xmlNode.childNodes*.childNodes[3].firstChild.nodeValue;

```

and also included:

```auto

clip.onRelease = function() {
   p = this.linkValue-1;
   getUrl(link,"_blank");
  };

```

Any help or a link to kirupa tutorial if it’s too complicated would be great. :sen:
