---
title: "AMF通信协议"
author: "bluelzx"
date: "2008-06-10T18:03:09Z"
tags: ["ActionScript", "Exchange"]
slug: "amf"
draft: false
lastmod: "2008-06-10T18:03:09Z"
id: 201888
url: "https://bluelzx.iteye.com/blog/201888"
---

Action Message Format (AMF) is a compact binary format that is used to serialize  
ActionScript object graphs. Once serialized an AMF encoded object graph may be used  
to persist and retrieve the public state of an application across sessions or allow two  
endpoints to communicate through the exchange of strongly typed data.  
A new version of AMF, referred to as AMF 3 to coincide with the release of ActionScript 3.0, improves on AMF 0 by sending object traits and strings by reference in addition to object instances. AMF 3 also supports some new data types introduced in ActionScript 3.0.