AnsweredAssumed Answered

addAspect(type, props) from flex

Question asked by gokceng on Dec 20, 2009
Latest reply on Jan 4, 2010 by gokceng
hi all,
when i execute parameters in the webscript side one-by-one then there is not any problem. I mean

document.addAspect("myAspect");
document.properties["myType:anything"] = args["anything"];
document.properties["myType:something"] = args["something"];
document.save();

it works. But I want to add these 'something' and 'anything' to an associative array and so that I would be able to use

document.addAspect("myAspect", args["parameters"]);

I've used


var params:Object = new Object();
args[anything] = anyValue;
args[something] = someValue;
params.args = args;
var token:AsyncToken = service.send(params);
token.addResponder(this);

from the flex side but it didn't work out.

Outcomes