How can I record audio using Action script then upload it to server?
First is there any technique for using Action Script for recording sound from microphone? If yes. How? Then one he record I'll upload it to server.
flash.media.Microphone is the class you're looking for.
The static function Microphone.getMicrophone() returns a reference to a Microphone object for capturing audio. To begin capturing the audio, you must attach the Microphoneobject to a NetStream object (see NetStream.attachAudio()).
There's at least one example in the LiveDocs. Start at flash.media.Microphone.