# Asp to flash integration help

**URL:** <https://forum.kirupa.com/t/asp-to-flash-integration-help/242112>\
**Category:** Uncategorized\
**Created:** [October 22, 2007, 4:15pm UTC](https://forum.kirupa.com/t/asp-to-flash-integration-help/242112 "2007-10-22T16:15:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Navarone](https://avatars.discourse-cdn.com/v4/letter/n/f9ae1b/32.png) [@Navarone](https://forum.kirupa.com/u/Navarone)\
**Post date:** [October 22, 2007, 4:15pm UTC](https://forum.kirupa.com/t/asp-to-flash-integration-help/242112/1 "2007-10-22T16:15:04Z")

</div>

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)

```auto

[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:

```auto

//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");
 }
}
 

```
