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 replaceMLDData($sound_id, $mlddata)

説明

SWF バイナリ中の音声を MLD/SMAF データで差し替えます。

引数

  • int $sound_id (SWF 内のコンテンツ毎にふられた ID)
  • string $mlddata (MLD ファイルのデータ、SMAF も可)

戻り値

  • boolean $result (true:成功, false:失敗)

使用例

<?php
$swf 
= new SWFEditor();
$swf->input($swfdata);
$swf->replaceMLDData($sound_id$mlddata);
header('Content-type: application/x-shockwave-flash');
echo 
$swf->output();

参考


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