title: How to join multiple mp3s into one downloadable mp3 file in Flash AS3?
body: <p>I have a couple of short mp3 files that the user can reorganize on a timeline. After that, I want to save the result as one mp3 file, combining six short ones.
  In other projects I have done microphone recording, compressing to mp3 using the alchemy ShineMP3Encoder, and saving that as a file.</p>
  
  <p>I see at least two approaches:</p>
  
  <ol>
  <li>Extracting all ByteArray data from the loaded Sound objects,
  concatenating that in a new ByteArray and compressing that with
  Shine. However the ByteArray from Sound.extract doesn't seem to be
  compatible with the encoder, telling me "Error :  Input not a
  MS-RIFF file"</li>
  <li>Somehow combining the raw MP3 files without the need of decoding 
  and encoding. But that would mean having to strip off file header info
  and such.</li>
  </ol>
  
  <p>If impossible or very inefficient in Flash, I would consider a server side solution in PHP. So if that would be easy, please let me know.</p>
  
  <p>Thanks!</p>