[osflash] Escaping the +
vcordaro
vcordaro at echostorm.net
Mon May 14 15:08:57 EDT 2007
Guys I am having trouble with the plus symbol here. It seems like i need to escape it cause I get this when I print it out on a string:
<server value="Alterac+Mountains">Alterac Mountains</server>
Output
www.test.xml?name=itsover&r=Alterac%BMountains
What do I need to do to get the output to be the
server = canvas.ccv.newchar.server;
Debug.write(server);
url = "www.test.com.xml?";
var p=new LzParam();
p.addValue("r", server, true);
p.addValue("name", name, true);
url += p;
Debug.write(url);
Now when I just Debug.write the server variable it shows me the right string. So how can I just escape this string?
Vince
More information about the osflash
mailing list