Asp to flash integration help

I am working with my asp developer and we are trying to load in the variables from asp to flash. What am I missing in my flash code?

The asp query string looks like this:
index.aspx?page=locations&loc=Wooster

my shockwave html code has this:
(for simplisities sake I am not showing all the code for the html here)


[FONT='Courier New'][COLOR=blue]<[/COLOR][COLOR=#a31515]param[/COLOR] [COLOR=red]name[/COLOR][COLOR=blue]="movie"[/COLOR] [COLOR=red]value[/COLOR][COLOR=blue]="swf/locations.swf?page=locations&loc="[/COLOR] [COLOR=blue]/>[/COLOR][/FONT]

and in my flash I have this:


//loc = "Wooster";
trace("loc = "+loc);
if (loc != "") {
 _global.pagetemp = loc;
 //teststring = loc.substr(0, 4)
 teststring = loc;
 trace(teststring);
 if (teststring == "Orville") {
  gotoAndStop("orville");
 } else if (teststring == "Wooster") {
  gotoAndStop("wooster");
 } else if (teststring == "Massillon") {
  gotoAndStop("massillon");
 } else if (teststring == "Dalton") {
  gotoAndStop("dalton1");
 } else if (teststring == "Kidron") {
  gotoAndStop("kidron1");
 } else if (teststring == "Lodi") {
  gotoAndStop("lodi1");
 } else if (teststring == "Midway") {
  gotoAndStop("midway1");
 } else if (teststring == "MtEaton") {
  gotoAndStop("mteaton1");
 } else if (teststring == "Seville") {
  gotoAndStop("seville1");
 } else if (teststring == "Smithville") {
  gotoAndStop("smithville1");
 } else {
  gotoAndStop("home");
 }
}