RecordSet.isLocal( )

RecordSet.isLocal( ) Method Flash 6

determines whether a recordset was created locally
   myRecordSet   .isLocal( ) 


The Boolean value true if the RecordSet did not come from a remote method; false if it did.


The isLocal( ) method allows you to test a given recordset to determine if it came from an application server as the result of a Flash Remoting call or if it was created locally.


The following code displays true because it is a locally created recordset:

 #include "" var myRecordset_rs = new RecordSet(["First", "Last", "Email"]); myRecordset_rs.addItem({First:"Tom",Last:"Muck",Email:""}); trace(myRecordset_rs.isLocal( )); 

See Also

RecordSet.getNumberAvailable( ) , RecordSet.isFullyPopulated( )

Flash Remoting
Flash Remoting: The Definitive Guide
ISBN: 059600401X
EAN: 2147483647
Year: 2003
Pages: 239
Authors: Tom Muck © 2008-2017.
If you may any questions please contact us: