Title: Mercury Email Signature

Well, it does, just not all in the same place!

 

Tracy

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi Cohen
Sent: Wednesday, November 30, 2005 4:03 AM
To: '[email protected]'
Subject: RE: [flexcoders] HTTPService: how to dynamically add params.

 

Thanks Matt and Tracy , works like a charm

 

BUT - why the hell the documentation does not talk about this.

 

 

Shlomi

 

 

 

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt
Sent: Tuesday, November 29, 2005 20:50
To: [email protected]
Subject: RE: [flexcoders] HTTPService: how to dynamically add params.

Use bracket notation. Try:

var oRequest:Object = new Object()

oRequest[paramName] = value;

 

Tracy

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shlomi Cohen
Sent: Tuesday, November 29, 2005 12:23 PM
To: '[email protected]'
Subject: [flexcoders] HTTPService: how to dynamically add params.

 

Hi

 

 

I have an application that gets a callback URL and a callback Parameter name.

now after user do something i need to send the info to that URL and use the given external Parameter name -

 

remember i don't know its name so an object cannot be constructed to pass to the http service. for example

 

var paramName:String = "result"; // this one changes upon request

 

var oRequest:Object = new Object({paramName ??? : value}) - what do i put there ? it takes the paramName as a string not as its value.

srv.send(oRequest)

 

even tried using eval to evaluate a dynamic _expression_ on oRequest - didn't help.

 

even tried using the oRequest.addProperty(paramName); then evaluate and assign  - didn't help .

 

any ideas ?

 

Shlomi

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to