Groups | Blog | Home
all groups > macromedia flash flash remoting > july 2005 >

macromedia flash flash remoting : how to return more than one value in the result?


kboddapati
7/14/2005 12:00:00 AM
I am new to Flash Remoting.. Finally got a the Basic HelloWorldApplication to
work..

Now I would like to get the remote server to return an arrayList.

function serviceName_result(result) {

// !!!! How do I get the flash file to read the arrayList in the
result?????????

}


Yas_007
7/25/2005 12:00:00 AM
try this on the remoting side
//create your array
var my_array:Array = new Array();
//inside ur callback function put this
my_array=result;
///////////////////////////////
on the java side
bind the array to the result
flash1.result = ur_array;
AddThis Social Bookmark Button