6.4 Datatype Conversions


Most datatypes in SSAS are interchangeable with client-side ActionScript datatypes. The notable exception is the client-side Object type, which is actually an object of type ASObject on the server (an extension of the Java class java.util.HashMap ). For that reason, when you access properties of an ActionScript object that you have passed to the server, you have to use the get( ) and put( ) methods of the object, as you saw earlier in Example 6-3.

A resultset created with a CF.query( ) method on the server is automatically transformed into a RecordSet object in Flash. This is taken care of behind the scenes by the Flash Remoting adapter on the server and the RecordSet class on the client.



Flash Remoting
Flash Remoting: The Definitive Guide
ISBN: 059600401X
EAN: 2147483647
Year: 2003
Pages: 239
Authors: Tom Muck

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net