Develop and Download Open Source Software

Recent Changes

2012-04-17
2012-04-03
2012-02-11
2011-11-09

Wiki Guide

Side Bar

  • class SWFEditor function setHeaderInfo(mixed $header_info)

注) 0.35 で (x,y)_(min,max) のキーも対応予定。

説明

SWF のヘッダを書き換えます。以下のキーに対応します。

  • boolean compress,
  • int version
  • int x_min, y_min, x_max, y_max (0.35 から)

引数

  • int array();

戻り値

  • 今の所未定義

使用例

<?php
$swf 
= new SWFEditor();
$swf->input($swfdata);
$info = array('compress' => false);
$swf->setHeeaderInfo($info);
header('Content-type: application/x-shockwave-flash');
echo 
$swf->output();  // CWS を FWS に変換して出力

備考

  • frame_rate も要望があれば対応します。

参考

関連


SourceForge.JP is a Japanese version of SourceForge.net. For developments that are not related to Japan, we recommend you to use SourceForge.net.