[flexcoders] Re: Help !!! How to decode URL encoding

2007-04-10 Thread Doug Lowder
There's a top-level decodeURI() function:

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


--- In flexcoders@yahoogroups.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





[flexcoders] Re: Help !!! How to decode URL encoding

2007-04-10 Thread mgrayfmr
Perfect - thanks !!!
I knew I must be looking in the wrong place.
It seemed like a use for this wouldn't be too uncommon.

--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] 
wrote:

 There's a top-level decodeURI() function:
 
 http://livedocs.adobe.com/flex/201/langref/package.html#decodeURI()
 
 
 --- In flexcoders@yahoogroups.com, mgrayfmr mgrayfmr@ 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
 





Re: [flexcoders] Re: Help !!! How to decode URL encoding

2007-04-10 Thread dorkie dork from dorktown

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=dorkiedorktown=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 flexcoders@yahoogroups.com 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