Save sounds ( not mic sound ) as - AS3

Hi guys,

It is not that hard to find examples and tutorials of recording mic sound and save it as.

But what I am looking for is , lets say we have a few buttons on the scene and each of them has their own sound when its clicked…

The user press these buttons randomly and gets those sounds.

What I would like to have is to be able to save those sounds as … just like making music with a virtual piano, and the last result.

Any idea how to do that? I can do saving the actions by using array and timer, and I can play it but I cant save it.

Thank you.