hii,
is it possible to record voice using headphone in AS3, i hv heard about FMS and cookies but didnt get any proper tutorial pls help if u hv any source link.
...
..
one more que.
i am totally fail to implement ExternalInterface in AS3 for both call and callback methods. so pls put the source/source link or cool tips.
Thanks a lot in advance. ![]()
i m beginer in AS..hope this forum will help me a lot ![]()
I would use a microphone to record a sound, but yes you can use headphones too, since they are essentially the same thing. Just plug in your headphones into a microphone socket and speak into an ear pad.
If you want to record sound locally with AS3 have a look at: http://www.bytearray.org/?p=1858
In Flash I have a Button called "button" and a TextField called "textfield".
import flash.events.MouseEvent;
import flash.external.ExternalInterface;
button.addEventListener(MouseEvent.CLICK, buttonClick);
// on button click call Javascript
function buttonClick(e:MouseEvent):void
{
ExternalInterface.call("callFromFlash", "Hello from Flash");
}
// register call from Javascript
ExternalInterface.addCallback("callFromJS", callFromJS);
// display the message from Javascript
function callFromJS(s:String):void
{
textfield.text = s;
}
In Javascript I use jQuery. If you want to use Javascript you'd better use it (or any other framework) or you won't have any hair left after fighting with certain Microsoft browsers
In HTML I have a button with the ID "button".
// display the message from Flash
function callFromFlash(arg){
alert(arg);
}
jQuery(function($){init()});
function init(){
$("#button").click(buttonClick);
}
// on button click send a message to Flash
function buttonClick(e){
e.preventDefault();
$("#flash")[0].callFromJS("Hello from JS");
}
Hi,
It is possible to record voice using headphone and microphone. If you want to learn more about how to record voice to CD or save voice as audio file, you might go to search for tutorials on the websites. As it is said that you need to plugin your headphone onto USB socket and speak it. To start to record, you need to click buttons.
>is it possible to record voice using headphone in AS3, i hv heard about FMS and cookies but didnt get any proper tutorial pls help if u hv any source link.
Yes it is possible without the need for a media server like FMS:
record wav proof of concept:http://www.bytearray.org/?p=1858
record mp3 proof of concept: http://www.jordansthings.com/blog/?p=5
record mp3 commercial , supported product: http://audior.ec
North America
Europe, Middle East and Africa
Asia Pacific