If you absolutely must use AMF to deliver sound, you have 2 options. The first is to wrap the MP3 in swf, send it back as ByteArray, and use the loadBytes method on Loader to load it back. The second option is to convert it to wav, send it as a ByteArray, and then parse the audio file and feed the data using the sampleData event (Flash Player 10 only). I would probably recommend the first option, since it is much simpler and faster than the second, but both of them are not particularly easy.
If I had to authenticate through AMF to download the sound, I would return some kind of session cookie and set up a simple PHP service that will serve MP3 files with the appropriate cookie session.
source share