passing
Posted: 14 Jun 2011, 09:04
Hello the expert!.
i'm using pro version & flash 10.0
i'm new in this, especially in java, but good in actionscript
why i got nothing(empty values) when i pass the array of objects??
ex: myArrayObj=[Person1,Person2,Person3]
//------------client side-------------------------
var obj:Object = {}
obj.myArrayObj = myArrayObj;
obj.test=new Array(1,2,3);
sfs.sendXtMessage(extensionName, "enter", obj)
//--------------server side-----------------------
ActionscriptObject arr1 = prms.getObj("myArrayObj");
ActionscriptObject arr2 = prms.getObj("test");
res.put("myArrayObj",arr1);
res.put("test",arr2);
//--------------return to flash(client side)-----------
i've got the right value for test>>>1,2,3
BUT,
i've got nothing for myArrayObj>>>got empty value
can anyone show me the right way how to do this...
any help!...TQ
i'm using pro version & flash 10.0
i'm new in this, especially in java, but good in actionscript
why i got nothing(empty values) when i pass the array of objects??
ex: myArrayObj=[Person1,Person2,Person3]
//------------client side-------------------------
var obj:Object = {}
obj.myArrayObj = myArrayObj;
obj.test=new Array(1,2,3);
sfs.sendXtMessage(extensionName, "enter", obj)
//--------------server side-----------------------
ActionscriptObject arr1 = prms.getObj("myArrayObj");
ActionscriptObject arr2 = prms.getObj("test");
res.put("myArrayObj",arr1);
res.put("test",arr2);
//--------------return to flash(client side)-----------
i've got the right value for test>>>1,2,3
BUT,
i've got nothing for myArrayObj>>>got empty value
can anyone show me the right way how to do this...
any help!...TQ