Ask a Question related to Macromedia Flex General Discussion, Design and Development.
-
blue444 #1
Referencing array results returned to Flex via a RemoteObject Call
Hi,
Here's the RO result using the NetConnection Debugger. I have a
function that can always read the first array element, but the others
aren't readable. I've tried every combination but can't reference
the other array elements. I would greatly appreciate any help?
Thanks,
Darius
--AS function--------------------
private function handleSearchResult(result:Array):Void{
/this works, displays 'Inactive'
var result:Array = result[0];
alert(result["CStatus"]);
//this doesn't work, blank value
var result:Array = result[1];
alert(result["CStatus"]);
--NetConnection Debugger----------
Result (object #2)
.....[0] (object #3)
..........AStatus: ""
..........CStatus: "Inactive"
..........PStatus: ""
..........BirthDate (object #4)
..............."Tue May 1 01:00:00 GMT-0700 2001"
.....[1] (object #5)
..........AStatus: ""
..........CStatus: "Active"
..........PStatus: ""
..........BirthDate (object #6)
..............."Sat May 7 01:00:00 GMT-0700 2000"
.....[2] (object #7)
..........AStatus: ""
..........CStatus: "Inactive"
..........PStatus: "Never"
..........BirthDate (object #8)
..............."Sun Feb 2 00:00:00 GMT-0800 1998"
.....[3] (object #9)
..........RecordCount: 1
blue444 Guest
-
problem getting a remoteobject to work in flex 2 mxml
What does The MessageAgent's destination must be set to send messages mean? Along with, 'faultCode="InvokeFailed" faultDetail="Couldn't establish a... -
array of CFCs and RemoteObject FB2B3
Ok, having some struggles here with ColdFusion CFCs, related AS VOs, and remoteobject. Say I have a CFC called Customer.cfc which is bean styled. ... -
Flex's RemoteObject serialization library in Flex 1.5
Hi, Flex mode requires Macromedia Flex's RemoteObject serialization library and performs deep serialization on fields with bean accessors for any... -
RemoteObject call to a CFC with an argument
I am working with a Flex app that calls a RemoteObject, specifically a CFC. I would like to limit returned results by passing an argument to a... -
Update Tree data source with RemoteObject results
I'm trying use a RemoteObject to dynamically populate a Tree Control, but when the data comes across the control is not updated with the results. ... -
oscarcs #2
Re: Referencing array results returned to Flex via aRemote Object Call
Try using the dot notation: result.CStatus
oscarcs Guest



Reply With Quote

