# Microphone input/store

**URL:** <https://forum.kirupa.com/t/microphone-input-store/226613>\
**Category:** flash\
**Created:** [May 22, 2007, 5:54pm UTC](https://forum.kirupa.com/t/microphone-input-store/226613 "2007-05-22T17:54:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![EvangelosRoxxor](https://avatars.discourse-cdn.com/v4/letter/e/a88e57/32.png) [@EvangelosRoxxor](https://forum.kirupa.com/u/EvangelosRoxxor)\
**Post date:** [May 22, 2007, 5:54pm UTC](https://forum.kirupa.com/t/microphone-input-store/226613/1 "2007-05-22T17:54:59Z")

</div>

Right now I am using the following code:

```auto
this.createEmptyMovieClip("sound_mc", this.getNextHighestDepth());
var active_mic:Microphone = Microphone.get();
sound_mc.attachAudio(active_mic);

```

This works great for playing back instantly what is input into the mic. Is there a way to store the sound input into the mic, in a variable of some form, and then play it back when a button is pressed at a later time? Or do I need the Flash Media Server to be able to do this?

Eg:  
record\_btn on press =\> record the sound  
play\_btn on press =\> play the sound
