FlashDevelop, how to properly embed sounds

3 posts

Flag Post

IIRC with Adobe Flash you add an mp3 to a library, give it class name, then do static var BGM:Sound=new EmbeddedMP3();, that’s all. I wonder, does it still take place with FD, or I have to employ loading from a ByteArray.

 
Flag Post

You can embed it in the swf with the Embed metadata tag.

Something like this guy says

If you have the sound in the lib folder of your FD project, I think you can right-click it and choose ‘Generate Embed Code’

 
Flag Post

As simple as bitmaps, it seems. Okay :) Thanks.