# Symbols are killing my flash

**URL:** <https://forum.kirupa.com/t/symbols-are-killing-my-flash/244676>\
**Category:** flash\
**Created:** [November 20, 2007, 8:03pm UTC](https://forum.kirupa.com/t/symbols-are-killing-my-flash/244676 "2007-11-20T20:03:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mike\_Dachuk](https://avatars.discourse-cdn.com/v4/letter/m/4af34b/32.png) [@Mike\_Dachuk](https://forum.kirupa.com/u/Mike_Dachuk)\
**Post date:** [November 20, 2007, 8:03pm UTC](https://forum.kirupa.com/t/symbols-are-killing-my-flash/244676/1 "2007-11-20T20:03:01Z")

</div>

I have a problem with a form that I’ve built.

I have an input text box with var = strAddress.

When a button is pressed, strAddress is uploaded into my database and then the scene is changed…

```auto

strqual = Random(1000000000);
loadVariablesNum("[http://www4.yontrack.com/hospice/test.asp","0","POST](http://www4.yontrack.com/hospice/test.asp)");
gotoAndPlay("confirm","confirmthis");

```

In the new scene I use a loadVariables to get some info from the database.

```auto
loadVariables("http://www4.yontrack.com/hospice/getdetails4.asp?theQual=" + strQual,"_root");
//loadVariables("[http://www4.yontrack.com/hospice/getdetails4.asp?theQual=847823273","_root](http://www4.yontrack.com/hospice/getdetails4.asp?theQual=847823273)");
stop();
if (EOF=="true") {
  gotoAndPlay("confirm","nextOne");
} else {gotoAndPlay("confirm","confirmThis");
}

```

My problem is if I put a ’ in my address box eg O’Malley street. My loadvariables will not work. If there is no ’ , then it works fine. I’ve tried to add…

```auto
strAddress = strAddress.split("'").join("-");CODE]
 
but nothing seems to work.
 
Any advice?
```
