XML activating Movie Clips?

I have checked out the excellent XML overview at:


And I am very new to loading XML and manipulating MCs in Flash - and could use some help.

I am attempting to load various XML files into Flash Pro 8. On the stage, I have a map of the USA with three possible colors: white = off, blue = on, yellow = my selection

The idea is that the user wants to find a sports camp in his state (hockey, baseball etc)

If I am trying to find a hockey camp in California, I somehow need the XML files to instruct Flash to indicate the California MC turns to yellow (my selection). Then, if hockey is available in 10 other states, those state’s MCs need to turn blue. Finally, the other 39 states that don’t offer hockey need to turn to white (not available).

Lastly, when I click on California’s yellow MC, it needs to getURL.

Here is a simplified sample of the XML, using just three U.S. States:

<camps sport="Hockey">
	<state name="California" campcount="3" url="http://en.wikipedia.org/wiki/California"/>
	<state name="Oregon" campcount="13" url="http://en.wikipedia.org/wiki/Oregon"/>
	<state name="Washington" campcount="0" url="http://en.wikipedia.org/wiki/Washington"/>

I have successfully traced “example1.xml” in Flash like so:

//ignore whitespace
XML.prototype.ignoreWhite = true;

//create variable and new XML Object
var external_xml:XML = new XML();

//variable loads external XML file

//trace if loaded, or not
external_xml.onLoad = function(success:Boolean) {
   if (success) {
     trace("xml loaded successfully.");
     trace("number of children:"+ this.firstChild.childNodes.length);
   } else {
     trace("xml failed to load.");

** I realize this is a tall order, and a tough project for a newbie. If anyone has any XML/ActionScript suggestions to pull this off, I would be overjoyed!