Xml target question

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:

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:

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

any ideas?

thanks!