svnno****@sourc*****
svnno****@sourc*****
2011年 3月 28日 (月) 23:14:25 JST
Revision: 485 http://sourceforge.jp/projects/swfed/svn/view?view=rev&revision=485 Author: yoya Date: 2011-03-28 23:14:25 +0900 (Mon, 28 Mar 2011) Log Message: ----------- ネストしたシンボル内のインスタンス名を探す処理のテストスクリプト Added Paths: ----------- trunk/src/tests/negimiku003.phpt trunk/src/tests/negimiku2_mcnest.swf -------------- next part -------------- Added: trunk/src/tests/negimiku003.phpt =================================================================== --- trunk/src/tests/negimiku003.phpt (rev 0) +++ trunk/src/tests/negimiku003.phpt 2011-03-28 14:14:25 UTC (rev 485) @@ -0,0 +1,21 @@ +--TEST-- +replaceMovieClip instancename search from nested symbol +--FILE-- +<?php + +$swf_filename = 'tests/negimiku2_mcnest.swf'; +$swf_filename2 = 'tests/saitama3.swf'; + +$swfdata = file_get_contents($swf_filename); +$swfdata2 = file_get_contents($swf_filename2); +$obj = new SWFEditor(); + +$obj->input($swfdata); + +$obj->replaceMovieClip('negi', $swfdata2); +echo md5($obj->output())."\n"; +?> +===DONE=== +--EXPECTF-- +285f0f4c92a6785fce51e03c74b3bb3b +===DONE=== Added: trunk/src/tests/negimiku2_mcnest.swf =================================================================== (Binary files differ) Property changes on: trunk/src/tests/negimiku2_mcnest.swf ___________________________________________________________________ Added: svn:executable + * Added: svn:mime-type + application/octet-stream