Table of Contents
Data Type Map
The following is a guide to the ActionScript™ to Python type mappings.
Basic Types
The following types are available in Adobe Flash Player 6 and newer:
| ActionScript™ Type | Python Type |
| null | None |
| undefined, void | pyamf.Undefined |
| String | unicode |
| Boolean | bool |
| Number | float |
| Date | datetime.datetime |
| XML | ElementTree.Element |
| Array | list, tuple |
| Object | dict |
| RecordSet | pyamf.amf0.RecordSet |
| Typed Object (other than the above) | class instance (registered via pyamf.register_class) |
AMF3
The following types are available in the Adobe Flash Player 9 and newer:
| ActionScript™ Type | Python Type |
| int, uint | int |
| ByteArray | pyamf.amf3.ByteArray |
| DataInput | pyamf.amf3.DataInput |
| DataOutput | pyamf.amf3.DataOutput |
Flex (AMF3)
The following types are available in Flex 2 or newer:
