Recording Sound Effects

I would like to make a flash app for users to bang on some drums and scratch some vinyl, then record it to a file, either to .wav or even a .mmf ringtone.:whistle:

Will I need to install flash com server or Red5 to record the sound sequence that the user makes? I’m also looking for the right tool to convert flv/wav to .mmf on server side.

I was thinking mencoder but I still can’t get it to encode to .mmf.

Thanks for your input,

–Hofuzz