示例#1
0
 public function build()
 {
     $writer = new Media_SWF_Parser();
     $writer->putUI16LE($this->_fields['CharacterId']);
     $writer->putRect($this->_fields['ImageData']);
     return $writer->output();
 }
示例#2
0
 public function build()
 {
     $writer = new Media_SWF_Parser();
     $writer->putUI16LE($this->_fields['CharacterId']);
     $writer->putRect($this->_fields['ShapeBounds']);
     $this->putShapeWithStyle($this->_fields['Shapes'], $writer);
     return $writer->output();
 }