Fetching URL from xml file

Hey there,an easy peasy question for you all I managed to do this before in flash 8, but the was to go about it in CS3 seems to have changed.

This is what I have at the moment:

var request:URLRequest = new URLRequest("http://www.google.com");
try {
  navigateToURL(request, '_blank'); // second argument is target
} catch (e:Error) {
  trace("Error occurred!");

Which obviously opens up google in a new tab. What I want instead is instead of opening up google, to open up the url between the <url> tags in the xml file.

I’ve tried to read up and figure it out but to no avail…

Can anyone help?