Audio playing and recording component based on Flash with intuitive Javascript API