English 中文(简体)
• 如何为参与者开发10.1条灯塔?
原标题:How to develop for player 10.1 beta?

我正等待着闪电能获得原始音频数据的那一天。 那一天,我不敢肯定如何在欧安会4工作10.1。 我已经安装了10.1个装置,并配备了“SampleDataEvent”号。 SAMPLE_DATA”,但我的“mic SampleData”职能没有被称作。

var mic = Microphone.getMicrophone();
Security.showSettings(SecurityPanel.MICROPHONE);
mic.setUseEchoSuppression(true);
mic.setLoopBack(true);
mic.rate = 44;

function micActivity(event:ActivityEvent):void
{
 trace("micActivity: " + event);
}

function micStatus(event:StatusEvent):void
{
 trace("micStatus: " + event);
}

function micSampleData(event:SampleDataEvent):void
{
 trace("micSampleData: " + event);
}

mic.addEventListener(ActivityEvent.ACTIVITY, micActivity);
mic.addEventListener(StatusEvent.STATUS, micStatus);
mic.addEventListener(SampleDataEvent.SAMPLE_DATA, micSampleData);
问题回答

在释放10.1名独立参与者之前,你必须测试你的浏览器。 目前的信条仅用于浏览器粉碎物。





相关问题
Mysql trigger/events vs Cronjob

I have an auction website which let my users place an unlimited amount of autobiddings. To monitor these autobiddings something has to check the database every second. My question is if it is ...

Can an event be used as an event listener?

I m trying to expose some events from a private object which is contained inside the object I am creating and it looks like the compiler is happy with this: private WindowUpdateServer ...

鸡奸

由于将javascript DOM方法放在第html页底部(在<有人>之后)远比利用“j Query”准备活动要快得多,因此我们不得不这样做:

Attaching a property to an event in Flex/AS3

I have a parameter that needs to be passed along with an event. After unsuccessful attempts to place it on the type by extending the class, I ve been advised in another SO question to write a custom ...

jQuery bind on ajax load() event

I have a page which displays multiple blocks with results details. Inside each block I have some <a> tags with thickbox jQuery plugin attached: class="thickbox" Here is an example of one kind ...

HTML text input event

I have a form, and want to disable/enable its submit button depending on whether the form s input text fields are empty or have had text entered into them. I think this means having an event handler ...

IE doesn t run Javascript when you click back button

I ve built a shop with tons of JS running. One of the pieces of the cart, is a zip code field which is required to calculate shipping cost. This works fine going through the cart. Now clicking ...

热门标签