Skip to Content
Nov 18, 2008 at 04:13 PM

Setting "sap-client" parameter in <mx:HTTPService> object


Hi there,

I am having problems setting the "sap-client" parameter on a HTTPService object due to the "-" in the parameter name.

If I do it like...

<mx:HTTPService id="vmsplan" url="">

... I get the compile time error

"1084: Syntax error: expecting colon before minus"

If I do it in ActionScript like this...

				var parameters:Object = new Object; = "410";
				vmsplan.request = parameters;

...the compile time error is...

"1050: Cannot assign to a non-reference value."

Can anyone help me with this one?


Graham Robbo