Data translation

The following table lists the ColdFusion data types and the corresponding Adobe Flash or ActionScript data type:

ColdFusion data type

Flash data type

String

String

Array

[] = Array

Struct

{} = untyped Object

Query

ArrayCollection

CFC

Class = typed Object (if a matching ActionScript class exists, otherwise the CFC becomes a generic untyped Object (map) in ActionScript)

CFC Date

ActionScript Date

CFC String

ActionScript String

CFC Numeric

ActionScript Numeric

ColdFusion XML Object

ActionScript XML Object