Ejemplo n.º 1
0
 public function parse($swfdata)
 {
     $reader = new Media_SWF_Parser();
     $reader->input($swfdata);
     /* SWF Header */
     $this->_headers = $reader->getSWFHeader();
     /* SWF Tags */
     while (true) {
         $tag = $reader->getTag();
         $this->_tags[] = $tag;
         if ($tag['Code'] == 0) {
             // END Tag
             break;
         }
     }
     return true;
 }