Link to home
Start Free TrialLog in
Avatar of MatthewP
MatthewPFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Flash LoadVars - need to load in a string that contains an ampersand

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?

Thanks,
Matt
ASKER CERTIFIED SOLUTION
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Did that answer help???  It'd be nice if you could close this topic if you resolved the problem...  ;)

CyanBlue
Avatar of MatthewP

ASKER

Yes it did, I had to do a string replace in the PHP script that generated the source but fixed it up nicely, many thanks!

Matt
Cool...  :)

CyanBlue