The table below shows the type conversions from the received ActionScript type to .NET type
| ActionScript Type | .NET Type |
|---|---|
undefined/null |
null |
Number |
Any numeric type, as appropriate |
int |
Any numeric type, as appropriate |
Boolean |
System.Boolean |
System.DateTime |
|
String |
System.String |
XML |
System.Xml.XmlDocument |
Array |
object array |
Associative Array |
System.Collections.Hashtable |
Object |
com.TheSilentGroup.Fluorine.ASObject (Hashtable) |
mx.collections.ArrayCollection |
com.TheSilentGroup.Fluorine.AMF3.ArrayCollection |
flash.utils.ByteArray |
byte[] |
Note: additionally if a TypeConverter is available it can further adapt the received value
The table below shows the type conversions .NET application data types to ActionScript
| .NET Type | ActionScript Type |
|---|---|
null |
null |
byte/sbyte |
int |
long/ulong |
Number |
System.Enum |
int |
System.Boolean |
Boolean |
System.DateTime |
|
System.String |
String |
System.Guid |
String |
System.Xml.XmlDocument |
XML |
System.Array |
Array |
System.Collections.IList |
Array (with "useLegacyCollection" set) |
System.Collections.Hashtable |
Associative Array |
System.Data.DataTable |
DataTable Object(ASObject) |
Sytem.Data.DataSet |
Associative array of DataTable objects(ASObject) |
com.TheSilentGroup.Fluorine.ASObject |
Object |
com.TheSilentGroup.Fluorine.AMF3.IExternalizable |
|
com.TheSilentGroup.Fluorine.ASObject with Type property set |
|
byte[] |
flash.utils.ByteArray |