I'm not sure if this is a FlashDevelop or a general ActionScript3 question, however, I am trying to figure out the best way to add sound files to my flashdevelop project.
For example, I've found that if I place .mp3 files within the my project's bin folder I can load/play them with the following lines of code
var sndreq:URLRequest = new URLRequest("foo.mp3");
var sound:Sound = new Sound();
sound.load(sndreq);
sound.play();
It seems like kindof a pain to move all my sound files to my project's bin directory (but if that's what it takes so be it). I see that there's an "add to library" option when I right click on my media files, but I'm not sure what the effect of that is (I was hoping that meant it would be automatically copied to the project's bin directory, but no such luck).
So, my question is: supposing I only have flashdevelop and not Flash CS3/4, is this the recommended way for loading local sound files?