説明

SWF バイナリデータを SWFEditor クラス中のデータから構築した SWF データを取得します。

引数

  • (無し)

戻り値

  • string $swfdata (SWFバイナリデータ、エラー時は FALSE が返ります)

使用例

  1. <?php
  2. $swfdata = file_get_contents("test.swf");
  3. $swf = new SWFEditor();
  4. $swf->input($swfdata);
  5. // (やりたい事) //
  6. header('Content-type: application/x-shockwave-flash');
  7. echo $swf->output();

関連