[swfmill] Using DefineSound tag
daniel fischer
dan at f3c.com
Wed Aug 2 09:59:28 EDT 2006
Cory <cory at cumgrano.com> (on Mon, 31 Jul 2006 22:33:52 -0400):
> If that is not possible, could someone explain the best way to get sound
> working or point to a fairly clear tutorial, I'm fairly new to this.
MP3 import has only just been added to 0.2.11.16. You would put a
<sound id="myID" import="blah.mp3"/> into the <library> tag, then use the sound
from actionscript like JJ described:
var snd:Sound = new Sound();
snd.attachSound("myID");
snd.start();
Having the DefineSound (and friends) tag described ("understood") was only the first step to sound support- and JJs patch enabling MP3 import is also just another step. Sound support in swfmill is far from "complete", to be so, it'd at least need support for some more codecs and "framed" import. But this has near-to-no priority for me, sorry.
-dan
--
http://0xDF.com/
http://iterative.org/
More information about the swfmill
mailing list