Xml links

Any ideas or examples are greatly welcome.
I’m making an illustration of an amusement park. I’m going to animate it in flash so if you rollover a certain part of it (go carts) there will be a little animation of a go kart rolling or something. Anyway, it’s just going to be a bunch of separate movie clips with on(release) handlers on them to go to different parts of an html site. The client needs to be able to edit the links for the flash piece through an xml file. What’s the way to go about this? Anyone make an easy example?
i need xml to replace whatever link would be in the code.


on(release){
getURL("link from xml file here");
}

I’m pretty familiar with XML and how to use it in loops, but for individual buttons like this, I’m a little confused.

Thanks

as you’re familiar with XML, just assign a variable, LINKY for instance, to hold the node value of the link stored on your xml…
then,


on(release){
getURL(LINKY);
}

hope that helps :slight_smile:

Thanks, I’ll give that a shot.

Just out of curiousity… how would the XML file look? And is there something extra that would need to go into the actionscript?