root/test/SoundStream/test02.php

/* [<][>][^][v][top][bottom][index][help] */
#!/usr/bin/php -c.

<? 

$srcdir = $argv[1];

$m = new SWFMovie(7);

$mc = new SWFMovieClip();
$mc->setSoundStream($srcdir . "/../Media/audio01.mp3", $m->getRate());
for($i =  0; $i < 200; $i++)
        $mc->nextFrame();

$m->add($mc);
$m->nextFrame();

$m->save("test02.swf");

?>

/* [<][>][^][v][top][bottom][index][help] */