Type Map¶
Overview
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 |
miniamf.Undefined |
String |
unicode |
Boolean |
bool |
Number |
float |
Date |
datetime.datetime |
XML |
xml.etree.ElementTree.Element |
Array |
list, tuple |
Object |
dict |
RecordSet |
miniamf.amf0.RecordSet |
| Typed Object (other than the above) | class instance (registered via
miniamf.register_class()) |
AMF3¶
The following types are available in the Adobe Flash Player 9 and newer:
| ActionScript Type | Python Type |
|---|---|
int, uint |
int |
ByteArray |
miniamf.amf3.ByteArray |
DataInput |
miniamf.amf3.DataInput |
DataOutput |
miniamf.amf3.DataOutput |