PabloS
08-06-2003, 04:03 PM
I have a server-side actionscript function with one argument. The data type I'm sending it is a simple actionscript object:
// in flash
foo = {x: 1};
netService.test(foo);
// should return 1
// returns undefined
// on remoting server
function test(arg) {
return arg.x;
}
Theoretically this should work; flash passes whole actionscript objects to the remoting server. However, in practice, test returns undefined!
Has anyone else had this problem?
// in flash
foo = {x: 1};
netService.test(foo);
// should return 1
// returns undefined
// on remoting server
function test(arg) {
return arg.x;
}
Theoretically this should work; flash passes whole actionscript objects to the remoting server. However, in practice, test returns undefined!
Has anyone else had this problem?