# AMF Format

The AMF format is used the LocalConnection and SharedObject ActionScript classes. This is a means of binary data interchange between Flash movies.

There are two sets of data types to consider. One set is used by the AfMF format, the other is an ActionScript data type tag used to denote which type of object is being transferred.

These data types are used to exchange data between Flash movies. The data part of a message is one of the ActionScript data types.

Byte

  A single byte.

Int

  Two bytes (a short).

MediumInt

  Three bytes.

Long

  Four bytes (an int).

Double

UTF8

LongUTF8

Number

Boolean

String

Object

MovieClip

Null

Undefined

Reference

ECMAArray

ObjectEnd

StrictArray

Date

LongString

Unsupported

Recordset

XMLObject

TypedObject