Groups | Blog | Home
all groups > flash actionscript > june 2004 >

flash actionscript : url encoded


hemendras NO[at]SPAM mindfiresolutions.com
6/22/2004 11:39:17 PM
Hi,
Answer to your first quesry is
URLEncoded values can be converted back with unEscape() function in flash.

var normalURl = unEscape(EncodedURL);

Good Luck

Hemendra Singh Shaktawat

Mindfire Solutions
www.mindfiresolutions.com


[quoted text, click to view]
paulr1984
6/22/2004 11:59:22 PM
Hi! i'm using xmlsockets to send data between two remote flash applications. If
one of them sends a message containting apostrophes ('), <, >, etc, it becomes
URL Encoded. So the examples above become &apos;, &lt;, &gt; respectively. How
do I convert it back to its simple (non-url-encoded) form? Thanks!

Also, how do I change the color of an item in a listbox? Thanks!
Timothée_Groleau
6/23/2004 9:20:18 AM
How are you accessing your XML elements? By right, once you have reached
your node, using "theNode.nodeValue" should automatically convert back
the encoded character. If that's not it, please give us some code to
look at.

Dunno about the listbox, sorry.

Tim

[quoted text, click to view]
paulr1984
6/23/2004 10:22:58 AM
I used node.toString().

AddThis Social Bookmark Button