Home > AMFPHP, Flash Platform, Zend_Amf > calling all AMF parser coders

calling all AMF parser coders

September 1st, 2008

The first byte of an AMF envelope actually does have a meaning. I was able to email with Peter Farland from Adobe tonight as I was finishing up some code rework for Zend_AMF and he explained that the first two bytes are actually one value and read as an unsigned short integer. I have updated the documentation on OSFlash. Lets see how long it takes for every opensource AMF implementation to not have code that says something like this in AMFPHP:

$topByte = $this->readByte(); // ignore the first two bytes --  version or something
$secondByte = $this->readByte(); //0 for Flash 8, 1 for FlashComm, 3 for flash player 9

AMFPHP, Flash Platform, Zend_Amf

  1. No comments yet.
  1. September 27th, 2008 at 06:30 | #1