Really NEED HELP!

I’m Beginner in flash and I need HELP

I’m making XML image gallery and I have a trouble.

I need to greate a link to the images and i cant manage it

XML file is like that
<option photo=“image1”
<option photo=“image2”
<option photo=“image3”
to get images

but the main trouble is that i want to attach image name to url
exmpl:
when i press image 2: I get url
www.myurl.com/index.php=show&id=image2

ww.myurl.com/index.php=show&id=” part is constant

I hope u understand and can help me!

Really need this"!:d: