Bringing in a URL from XML file

Hello. I am new to AC3 and I need to have my Flash movie read URL’s dynamically from an XML file.
I have used this code and applied it to my button(photo_link_btn):

photo_link_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);

function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest(“http://www.yahoo.ca”));
}

It works when I hardcode a URL into the URLRequest line highlighted above. But I am trying to bring in the URL through XML.

Here is an example of the XML data:
<?xml version=“1.0” encoding=“utf-8”?>
<photos>
<photo>
<filename>animals_400x260_01.jpg</filename>
<title>House</title>
<description>Description:</description>
<link>http://www.yahoo.ca</link>
</photo>

Does anyone have any suggestions for me for how I could go about doing this?
Thanks in advance. :slight_smile: