URL Decode in ActionScript?


I am passing values into my flash movie after doing urlencode() - a PHP function. Now how should I do the reverse i.e. url decode in actionscript. It looks as if there is no function in actionscript for this.

Please help.


are you talking about the process that changes some characters to stuff like “%20” etc ?

If so, that’s called escaping and unescaping.


Yes it worked. Thanks Rabies. I did try unescape before but I think i didn’t clear my browser’s history/cache that time and that’s why the changes didn’t appear. Anyways thanks for the help. Have a good day.