Groups | Blog | Home
all groups > macromedia flash flash remoting > september 2004 >

macromedia flash flash remoting : problem with ResultSet -> RecordSet !!


mofet
9/5/2004 12:02:04 PM
I return ResultSet object from Java. In AS i try to show my records value but it's doesn't work.
AS :
function getData_Result(result){
field.text = result.getItemAt(0).name;
}
maliko50
9/5/2004 4:48:58 PM
mofet
9/5/2004 8:49:48 PM
Debugger says:
Connect - ''gateway address''
Call - start.detData();

that's all;
maliko50
9/5/2004 9:20:58 PM
Your code looks correct. Just for kicks, try to split this line up:
field.text = result.getItemAt(0).name;

Instead use,
records = result.getItemAt(0);
field.text = records.name;

AS is wierd sometimes. Otherwise you could catch any errors to find out whats
going on:

function getData_Status(error)
{trace(error.description)}

jameslyon
9/8/2004 3:36:04 PM
AddThis Social Bookmark Button