Ah, there it is, encode( str:String ) is what I needed. Keep
forgetting about those global function :-).

Thanks Marc!

Greg

On Fri, Jan 30, 2009 at 11:32 AM, hu22hugo <hu2h...@hotmail.com> wrote:
> You might look for the global ActionScript functions encodeURI() or
> encodeURIComponent()?
>
> http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/package.html#encodeURI()
>
> Marc
>
> --- In flexcoders@yahoogroups.com, Greg Hess <flexeff...@...> wrote:
>>
>> Hi All,
>>
>> Every service call to my server requires query params (POST and GET),
>> even some POST requests will send query params. I have found that with
>> HTTPService if I specify the Object with key value pairs in send(
>> queryParams) it does not send the xml I set as the data property.
>>
>> Some of my query params need encoding but I cant seem to find a
>> urlencode(str) in Flex 3 SDK like in JavaScript.
>>
>> Does anyone know how I can encode a string for a query param?
>>
>> Any help much appreciated.
>>
>> Greg
>>
>
> 

Reply via email to