# Xml target question

**URL:** <https://forum.kirupa.com/t/xml-target-question/162957>\
**Category:** Uncategorized\
**Created:** [September 18, 2005, 2:44am UTC](https://forum.kirupa.com/t/xml-target-question/162957 "2005-09-18T02:44:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![liquify](https://avatars.discourse-cdn.com/v4/letter/l/e95f7d/32.png) [@liquify](https://forum.kirupa.com/u/liquify)\
**Post date:** [September 18, 2005, 2:44am UTC](https://forum.kirupa.com/t/xml-target-question/162957/1 "2005-09-18T02:44:04Z")

</div>

Hi all

Im trying to open a popup using dynamic links (xml image gallery)

when the button is inside the same movie clip as the actionscript that load xml i’m using:

```auto
on (release) {
	getURL("javascript:openWin('"+link[p]+"', '450', '320')");
}

```

and it works.

my question is how do i make it work if the button is inside a different movie clip… something like:

```auto
on (release) {
	getURL("javascript:openWin('"+_root.movie1.link[p]+"', '450', '320')");
}

```

any ideas?

thanks!
