Hi
I'm using flashorb remoting to retrieve data from my .net middle
tier. My flashorb is configured to return an initial 10 records and
then retrieve the rest as needed.
This is fine and is exactly what i want when (for example) i am
populating a datagrid or any other UI.
However, if i am populating a non-visual variable, i want all the
records to be returned.
So I use setDeliveryMode("fetchall", 10) to get all records, but the
problem i have is i dont know when all the records have been
retrieved.
I read somewhere that the modelChanged() event would be fired when
more data is returned. However i have no idea where this event is
(or should be trapped) in my mxml/actionscript.
any advise welcomed
<mx:Script>
var myResult;
function dataRetrieval_Handler(result)
{
result.setDeliveryMode("fetchall", 10);
myResult = result;
}
</mx:Script>