ActionScript 3.0 :: Runtime Microphone Check?

Aug 29, 2011

it's possible to check at runtime the default microphone used by application without use the manager panel? I have tried  to make a timer but doesn't work without open the manager panel.

View 3 Replies


Similar Posts:


Media Server :: Microphone Activity Level At -1 Even Though Microphone.getMicrophone() Is Called, Why?

Oct 7, 2009

I'm setting up an application where I need to record users' voice every so often during the course of the users' interaction with the application.  Recording is fine, and the quality is fine, but now my issue is understandng how Flash handles the microphone when it gets attached to a stream for publishing.Basically, the problem is that when I "publish" my stream, the voice gets cut off (clipped) at the beginning.  So, I initially thought this may have to do with buffer settings on the FMS server side, but it wasn't. Then I investigated client side stuff.  For some reason, my internal mic .activityLevel property is -1 even though I have called Microphone.getMicrophone().  According to Flash's documentation, this shouldn't be the case:
 
activityLevel    propertyactivityLevel:Number  [read-only]Language Version :     ActionScript 3.0Player Version :     Flash Player 9The amount of sound the microphone is detecting. Values range from 0 (no sound is detected) to 100 (very loud sound is detected). The value of this property can help you determine a good value to pass to the Microphone.setSilenceLevel() method.If the microphone is available but is not yet being used because Microphone.getMicrophone() has not been called, this property is set to -1.I am using a timer to investigate the microphone .activityLevel property every 50 milliseconds:
 
package
{
import fl.controls.Button;
import fl.controls.TextInput;[code].....

View 1 Replies

ActionScript 3.0 :: Runtime Armature Manipulation - Check For A HitTestObject For Anything On The Stage

Dec 25, 2010

I have a bunch of movieclips linked with bones, with the last bone named chainEnd, and the following code on the stage.

import fl.ik.*;
var tree:IKArmature=IKManager.getArmatureByName("chain Link");
var bone:IKBone = tree.getBoneByName("chainEnd");
var tailJnt:IKJoint = bone.tailJoint;
var chainPos:Point=tailJnt.position;
var chainMover:IKMover=new IKMover(tailJnt,chainPos);

If I set an enter frame event to change the chainPos and then use chainMover.moveTo(chainPos) the chain will wiggle about and generally act like a proper chain. (I use this so that if the cursor touches the chain it will react to it) It works perfectly. So I saved it, exported it and then used a loader to get it into a different file that I'm working with. I figured I could load it in as a movieclip titled "chain" and access the variables through chain.chainPos etc.

This works if I want to for instance trace(chain.chainPos), but if I want to do what was previously possible (react to the mouse) it just won't work. I can check for a hitTestObject for anything on the stage, and I can check for a hitTestPoint against the mouse coordinates, they trace fine, but when I want to actually have the chain move the chainPos and chainMover.moveTo don't seem to do anything. (Interestingly enough chainPos still updates it's coordinates, so if I do chain.chainPos.x += (put number here) and trace that, it will actually change) Anyway, I was wondering if anyone knew why this wasn't working, or could help me get this functional. It's a massive pain to have the bones/movieclips on the stage rather than loaded in as a movieclip, so if possible I'd like to avoid that.

View 0 Replies

Load-time Weaving Of Pointcuts Into Existing Binary Code At Runtime With The AVM2 Runtime?

Feb 23, 2010

I've seen the Loom project, but are there any alternatives that are more mature (and actively developed)? I am looking for something that would allow load-time weaving of pointcuts into existing binary code at runtime with the AVM2 runtime.

Has any work been done in this area?

View 3 Replies

Difference Between The Flash Player Runtime And Adobe AIR Runtime?

Nov 16, 2009

I've been into coding for about 5 years now, but I'm a recent convert to Flash development. One of the questions I have at the moment is, considering that SWF files can be run by either Adobe Flash Player OR Adobe AIR, what's the real difference between the two runtime environments? What API's and Objects exist in one environment, but not the other?

Basically what I'm more or less trying to establish is, when would I want to develop an SWF for AIR, and when would I want to develop for Flash Player, considering that Flash Player can also execute locally (providing support for creating "desktop applications")

View 1 Replies

ActionScript 3.0 :: BoneArmature Runtime Error "Runtime Symbols With Skewed Matrices Should Be Wrapped In A Movie Clip"?

Oct 9, 2009

Whenever I link a set of movieclips together with the bone tool which are inside a containing movieclip, and also set the type to "runtime" instead of "authortime", I get this error when published.

"Runtime symbols with skewed matrices should be wrapped in a movie clip" What does it mean? I need the type to be set to runtime so I can use scripting with it..

View 2 Replies

ActionScript 3.0 :: 1180: Call To A Possibly Undefined Method Check -> Var RightCheck = New Check();

Oct 2, 2009

See [URL] Now there is a button called Answera, which when clicked should have a symbol (movie clip) called Check appear at the cordinated specified. Check exists in the libary (but does not have an instance name) and no where else on the stage. when I run this code I get: 1180: Call to a possibly undefined method Check. -> var rightCheck = new Check(); How is it undefinded if it exists in the libary?

View 7 Replies

Actionscript 3 :: Check The User Selections On Dynamically Generated Radio Buttons And Check Boxes In Flex?

Jan 27, 2011

The following is my codes. This is still work in progress; so, you will see some functions with empty contents. Plus, this is my first Flex application; please bear with me. This is a quiz application that gets the questions and answers to each questions from a ColdFusion web service. There are three types of questions, True or False, Multiple Choice with single selection, and Multiple Choice with multiple selections. So, based upon the question type, the application would dynamically generate the appropriate amount of radio buttons or check boxes for the users to select. I got these working. The problem that I am having is, I am not sure how to check what the users have actually selected. In some other forums and posts on other web site, it said that I can use event.currentTarget.selectedValue to get the user selection. But when I actually do it, I got a run-time error saying, "Property selectedValue not found on mx.controls.FormItem and there is no default value." My question is, what do I need to do to capture the user selections?

[Code]...

View 1 Replies

Flash :: Detect If A New Microphone Is Available?

Jun 1, 2011

It appears that if one has a mic available, then one can add an event listener for the StatusEvent. However, this only tells you if the mic has been allowed or disallowed.

What I'd really like to do is detect if the static Microphone.names property changes. I would have expected this property to be bindable.

If I right click and select "settings" immediately after plugging in a mic, I can see that flash has updated their list of available microphones. However, there seems to be no way in code for me to receive the same update.

The docs say "Calling Microphone.names requires an extensive examination of the hardware, and it may take several seconds to build the array." So I think polling this every few seconds is not a feasible option.

View 3 Replies

ActionScript 3.0 :: Microphone Without LoopBack?

Oct 10, 2008

Works, but if i set LoopBack to false it doesnt work!!!i dont want to listen to me, i only want to know when the mic hear something.

import flash,events.ActivityEvent;
import flash,events.StatusEvent;
import flash.media.Microphone;

[code]......

View 2 Replies

ActionScript 3.0 :: Get Bytes For Microphone Sound?

May 20, 2008

I was wondering if there is any way to get the sound bytes froma microphone and apply it to lee brimelow's tutorial on sond spectrum?[url]...

View 4 Replies

Media Server :: Mute Microphone Using AS3?

May 28, 2009

how can i mute microphone using AS3?

View 2 Replies

ActionScript 3.0 :: Can Mute MICROPHONE Sound

May 30, 2009

can i mute MICROPHONE sound using AS3?

View 1 Replies

Professional :: Record The Sound Through Microphone

Dec 5, 2010

We are working on a project to record a sound a we need to play back in flash 8 (as 2.0). we have 3 buttons like play /pause, record, stop, When we clik on record button we can record the sound through microphone and when we clik on paly /pause button the recorded sound should be played. so can we record and can we play back in flash 8.

View 2 Replies

ActionScript 2.0 :: On Disconnection Of Camera Or Microphone?

Dec 11, 2010

i am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between recording, i want to give him a warning.

View 12 Replies

ActionScript 3.0 :: Microphone Bytearray Mix And Replay?

Sep 20, 2011

I have an application with microphone record and i mix another sound from song. For this step is ok i can save to my desktop and the mix is good.But i would like to play my mix from bytearray.The sound is very slow....... and not same that my file save,My code:

var epos:Number=0
//ByteArray in which the microphone sound data is stored
var soundBytes:ByteArray = new ByteArray();[code].......

View 2 Replies

ActionScript 3.0 :: Detect Connection Of Microphone?

Jan 2, 2012

I want to check whether the microphone is connected to the system or not. If not, it should display a warning message and not allowed to record anything. All this should be done through actionscript3.0.

View 3 Replies

Actionscript 3 :: Converting Microphone Data Into AMR?

Jan 1, 2010

It is possible to convert microphone data into AMR based data?

View 1 Replies

Java :: Internal Microphone Call?

Jan 18, 2011

How do you call the microphone built into a computer to turn on when a user visits a site? I've heard that there a number of different ways to do so, but I'd like some advice on the best way.

To provide a meta-level view, I'm planning on having the mic pick up noise and display it as a graphic equalizer (of sorts) but not record it.

View 3 Replies

Javascript :: Access The Microphone Without Flash?

Oct 17, 2011

Is there a possible way to access the computer microphone from a web document (open in a browser) without have to go through Adobe Flash ?

View 1 Replies

Flash :: Using Microphone To Interact With Webpage?

Dec 8, 2011

I am looking for advice how to set web pages where user can interact with it using microphone. The aim would be that user can say word and the word would be recorder and the file compared on server with another sound (word) and then the result (the searched word) would be displayed. It would be a spoken dictionary.

View 2 Replies

Android :: Microphone Class Supported?

Mar 28, 2012

I saw a lot of issues about using Microphone in Flash on Android on the Internet. But my own flash applet does not work, saying "mic not detected". Also there is a note in AS3 reference, that Microphone class is not supported on any mobile device.

View 1 Replies

ActionScript 3.0 :: How To Capture Audio Via Microphone

Sep 25, 2008

I am a newbie to this Flash Segment. Though for my recent project i am diving into it. I want to make "A Flash app which will Capture user voice from microphone. It can be appended if paused. After recording done i want to upload the file to the server. so that i can play it back when required." I tried this with java applet but the UI is too bad so i am thinking in respect to flash. What i found till now is for this i have to go for Flash Media Server which is not possible in my project. I want a simple player. You guys rocks that i can easily understand after some wondering in this forum but did not get my solution so thought of posting it.

View 1 Replies

ActionScript 3.0 :: Stop A Microphone That Is Already Active?

Nov 23, 2009

I have a simple question: how do you stop a microphone that is already active?

View 1 Replies

ActionScript 3.0 :: Mix A Mp3 File With Microphone Sound?

Nov 29, 2011

i dont know that how mix a mp3 files with microphone in as3 and where should I start.

View 1 Replies

ActionScript 2.0 :: Disconnection Of Camera Or Microphone?

Aug 14, 2007

i am working on a video recording project in ActionScript-2, i want to add a script with my code to detect camera or microphone disconnection. it means if user disconnect camera or microphone in between recording, i want to give him a warning.

View 1 Replies

ActionScript 3.0 :: Find The Microphone Connection?

Jan 11, 2012

I want to find out whether the microphone is connected to the computer or not. If not ..should display a warning message.. How to do that

View 2 Replies

ActionScript 2.0 :: Microphone Level Changing Frame?

Aug 14, 2009

I dont know the first thing about Actionscript, so I dont know if this goes in Newbies or not because I'm not a newbie to Flash, just the programming aspect.I originally found this online.URL...Basically what I'm looking for is this script:[code]Can someone please plug this idea into this code? I would REALLY be grateful! I need this for a school project and don't know anyone who knows actionscript! I believe to someone who knows AS this should be fairly simple. Once I have the finished code, I can edit the frames to suit my puropse.

View 7 Replies

Access To The Camera And/or Microphone Available On User Computer?

Sep 29, 2009

I am developing an application running in Flash Player. The applicatiosn requestes access to the camera and/or microphone available on user computer.Is there a way in the application I prevent users from seeing this question? i.e. without having user to change his/her Adobe Flash Player setting?

View 1 Replies

Post Microphone Input From Flash To Server

Apr 5, 2010

We're trying to get microphone input in a Flash movie and the post it to the server so it can be saved in a file.

Currently, we're using PHP in the server, but I guess the key thing here is: How to post the audio to the server?

After a post is made, then I guess it'd be a matter of handling the encoding and saving to a file, which can be done with pretty much any server-side language.

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved