# Refering to URL:s in XML

**URL:** <https://forum.kirupa.com/t/refering-to-url-s-in-xml/210758>\
**Category:** flash\
**Created:** [December 21, 2006, 7:59pm UTC](https://forum.kirupa.com/t/refering-to-url-s-in-xml/210758 "2006-12-21T19:59:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Johnsson](https://avatars.discourse-cdn.com/v4/letter/j/74df32/32.png) [@Johnsson](https://forum.kirupa.com/u/Johnsson)\
**Post date:** [December 21, 2006, 7:59pm UTC](https://forum.kirupa.com/t/refering-to-url-s-in-xml/210758/1 "2006-12-21T19:59:25Z")

</div>

This is my problem: I’ve got a couple of movieclips, when I click on them I want them to open the URL that I’ve typed in my XML-file.

(The photos are thumbnails stored inside of the movieclips)

Here’s my XML:

```auto

<?xml version="1.0"?>
<select name="photos">
<option photo="film14" [COLOR=red]url ="[/COLOR][URL="http://sjl-v48.sjl.youtube.com/get_video?video_id=1Vb_FY_mDNI"][COLOR=black]>[/COLOR][COLOR=red][/COLOR]
 <option photo="film13"/>
 <option photo="film12"/>
 <option photo="film11"/>
 <option photo="film10"/>
 <option photo="film09"/>
 <option photo="film08"/>
 <option photo="film07"/>
 <option photo="film06"/>
 <option photo="film05"/>
 <option photo="film04"/>
 <option photo="film03"/>
 <option photo="film02"/>
 <option photo="film01"/>
 </select>

```

How do I refer to the url-code in the actionsscript?:red:

Please help me out, I just can’t get this to work!  
Thanx:thumb2:
