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.

Get Flash Remoting: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.