On Sat, Sep 20, 2008 at 3:42 AM, <[EMAIL PROTECTED]> wrote:
> Date: Sat, 20 Sep 2008 09:41:47 +0200
> From: Pablo Rodr?guez <[EMAIL PROTECTED]>
> Subject: Re: [Swftools-common] Mp3 SWF
> To: [email protected]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Jan,
>
> Jan Snyder wrote:
>> Is there a command manual for SWFTOOLS available?
>>
>> I used wav2swf to convert a wav to swf file and it played the wav
>> perfectly. I've tried a number of things including just using a raw
>> MP3, but I can't figure out the command. Is it just:
>>
>> .sound
>>
>> I mean, the tutorial only lists a few commands like ".font" and
>> ".outline". Where are the rest? How does one learn them.
>
> Here you have a small script:
>
> .flash filename="presentation.swf" version=6 fps=30
>
> .sound audio "/path/to/sound-archive.mp3"
> .swf slides "/path/to/slides.swf"
>
> .frame 1
> .put slides
> .stop slides
> .play audio
> .end
>
> I hope it helps,
>
>
> Pablo
Thanks a lot to many helpful people. Finally did get this to work but
it needed actionscript as well for the audio. like this at bottom of
file:
# actionscript
# ------------
.action:
_root.play();
.end
-Jan