Load external link and jpeg from txt

[FONT=Arial]I am developing a template for a website and I need help.[/FONT]

[FONT=Arial]I am trying to load an image into a movieclip and a link for a button from a text file. How would I do this?[/FONT]

[FONT=Arial]The text file looks like this:[/FONT]


&imageURL=http://www.domain.com/images/picture.jpg
&linkURL=http://www.domain.com/link.jpg

With a code like this or something?:

var photo:LoadVars = new LoadVars();
photo.load("photo_text.txt");
loadMovie("&image", carousel.photo.empty);

and

 
on (release) {
 getURL("&linkURL", "_blank");
}

but this didnt work. Please help :pac: