[swfmill] additional basic tags

JJ S jjsil2 at gmail.com
Tue Jul 11 08:23:19 EDT 2006


Hi!

I've been doing some tests with MP3s. So far I have managed to encode
a short MP3 in base64 and copy-pasted it into a data block inside of a
DefineSound tag. I can later use that sound inside a StartSoundTag to
make a simple SWF which plays the MP3.
Now I would like to add an "encode" tag to swfml (basic or simple) to
automate the encoding-copy-pasting part, but I have no idea of how to
do it. Any help would be greatly appreciated.
I've been working with the source code that's posted on the main page,
can you tell where I can find the SVN/CVS repository?

Thanks,
JJ


On 7/1/06, daniel fischer <dan at f3c.com> wrote:
> "JJ S" <jjsil2 at gmail.com> (on Fri, 30 Jun 2006 19:52:40 -0300):
>
>   > We are considering adding "proper" support for sound (importing sound
>   > from WAVs or MP3s) in swfmill, but I don't know how hard that would be
>   > or what I would need to implement. Could you guide me on this?
>
> oh- thinking a little more about it, it might get a little harder. i guess the sound has to be split up into frames and thus individual SoundStreamHead/SoundData(orso) tags. If you import it like i handle jpegs, you'd end up with a single tag for all the sound, which will likely not work.
>
> hmm. not *quite* easy.
>
> -dan
>
> --
> http://0xDF.com/
> http://iterative.org/
>
> _______________________________________________
> swfmill mailing list
> swfmill at osflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>



More information about the swfmill mailing list