Flash LoadVars - need to load in a string that contains an ampersand
Posted on 2009-05-17
I've got loadvars working fine in flash, but I need to load in a string that contains URLS which contain the ampersand character (&). Problem is flash sees these as separators for the name=value pairs and is loading stuff into all kinds of different variables.
Is there some way I can excape these in the source file? I tried backslashes before them which didnt work. Or if I swapped them for something else - say | - is it possible to replace these with the & character with acxtionscript once I have the variable loaded somewhow? Or any other ideas how I can do this?