i didnt see it but is there a function that decodes that url encoded string
into an object with name value pairs?

for example,
http://www.mysite.com/mypage.php?name=dorkiedork&town=dorktown

into:
trace(myRequest.name) // dorkiedork
trace(myRequest.town) //dorktown



On 10 Apr 2007 13:23:41 -0700, Doug Lowder <[EMAIL PROTECTED]> wrote:

  There's a top-level decodeURI() function:

http://livedocs.adobe.com/flex/201/langref/package.html#decodeURI()

--- In [email protected] <flexcoders%40yahoogroups.com>,
"mgrayfmr" <[EMAIL PROTECTED]> wrote:
>
> Hi Guys:
>
> I am trying to parse a string that is URL encoded, and I want to
> remove, or decode it.
> I was surprised that there wasn't something available in a utility
> class already in AS3.
> Anyone ever run into this ?
>
> I saw a post that had a link to some code that sounds like it would
> solve my problem:
> http://tech.groups.yahoo.com/group/flexcoders/message/55312
> But the post is missing any code snippets.
>
> If anyone has any ideas, please let me know !!!
> Thanks,
> Mike
>

Reply via email to