Flex :: Finding Code Which Indicates A Progress Bar When There Is Activity On Microphone?

Dec 27, 2010

Any microphone action script code which indicates a progress bar when there is activity on microphone

View 1 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

Flex :: Detect Activity Level Of Microphone?

May 23, 2010

I have to detect avtivityLevel of microphone in Flex. I am using the activityLevel property of Microphone class but as I found out it always return -1 even if I have done Microphone.getMicrophone(). To detect activity level we have to set microphone.setLoopback = true;

how to do this without using loop back as I do not want to hear my sound back just monitor the activity level

View 1 Replies

Flex :: Detect The Microphone Activity Level

Apr 7, 2011

i am trying to detect the microphone activity level. In windows XP, it's returing the activity level. But in windows vista, even if the mic is not connected it's returning an activity level. has anyone come across like this.what is the problem?

View 1 Replies

Actionscript :: Get A Small Code For Testing A Microphone Which Is Written In Flex?

Dec 3, 2010

small code for testing a microphone which is written in flex/AS

View 1 Replies

ActionScript 3.0 :: Display Microphone Activity In A "cool" Way

Dec 16, 2008

I have a flash audio recorder in AS3 and I can detect the microphone activity level at anytime I want. I wanted to know if there are tutorials on producing "cool" ways to show microphone activity as users record/speak into the microphone? I wanted something simple!

I am hoping just to have one single line that moves up in a "squiggly" way to show sound, but I will try to attempt this after the tutorials, so I would be grateful for links since I couldn't yield anything from a 30min google fest!

View 3 Replies

ActionScript 3.0 :: Code To Toggle Button Activity?

May 13, 2009

I have a set of 5 button that change their opacity when clicked to a lower opacity. What I need to add is the ability to "toggle" the button to go back and forth from 100% opacity to 20% or whatever and then back to 100%. I would also like to add the ability to fade the opacity instead of it changing all at once. Her is the code as I have it so far.

Code:
ClickMe.addEventListener(MouseEvent.CLICK,f);
ClickMe.buttonMode = true;

[code].....

View 7 Replies

Flex :: User GetRepeaterItem To Set The Progress Of A Progress Bar?

Mar 2, 2011

I have a progress bar inside a repeater and therefore I will need to use getRepeaterItem to set it's progress as suggested in this question.

How can I do that such that the value of progress may be taken from repMonitor.currentItem.threatLevel?

<mx:Accordion id="monAccordian" includeIn="Monitoring" x="10" y="10" width="554" height="242" change="monAccordianChange()" >
<mx:Repeater id="repMonitor" dataProvider="{monitoringArray}">

[Code]....

View 1 Replies

ActionScript 3.0 :: Progress Bar On Slow Code?

Aug 1, 2011

I'm making a game, and while loading and saving levels the code can be quite slow, and at the moment that means the game just hangs while waiting for it. I was wondering if it's at all possible to set up some kind of way to track the progress of the code and display it visually as it happens. For example, to test this I set up a quick bit of dummy code that just fills an array with random numbers:

ActionScript Code:
public function init(e:Event):void {
var storageArray:Array = new Array();

[code]........

View 6 Replies

Professional :: Finding A Snippet Of Code?

Oct 7, 2010

I am trying to find a snippet of code for my website.I am building a  website using Serif Webplus X4. I am also creating 2-4 animation shorts to play as an introduction to the website that I created with Toom Boom Studio 5. I would like to have one of them randomly play at the beginning of the website so that every time someone logs on to our website, a different one plays. My question is that someone said that if I go to Adobe that I could get a snippet of code to make these 2-4 animation shorts play randomly.

View 3 Replies

Flex :: Create Some Text On The Stage That Does Not Respond To Mouse Activity?

Jan 14, 2010

I would like to create some text on the stage that does not respond to mouse activity. I've found that after adding a piece of text to a class I am using to draw, it covers up some of the mousing area of my class and disables the user from being able to roll over the other graphical elements...

Is there something like:

var t:TextField = new TextField();
t.text = "hello";
t.active = false; //

i know that this is wrong, but I haven't found an equivalent method

View 1 Replies

Static Analysis - Finding A Source Code Quality Tool For Adobe Flash?

Sep 16, 2011

Possible Duplicate: Lint tool for actionscript? I'm looking for source code quality tool (others call it "static analysis" tools) for Adobe Flash. Something like JSLint for JavaScript or JLint for Java.

View 1 Replies

Flex :: Audio - Recording From Microphone From Within The Browser Using Flex Or Processing?

Jul 24, 2009

A groups of friends are working on a little game that would listen to the microphone as part of the interaction. We've tinkered with processing and flex. What we'd like to know is if anyone has succeeded in:

recording from the microphone using a web app

performing an FFT on this microphone data

In the case of flex, according to the docs "Because sound data from a microphone...do not pass through the global SoundMixer object, the SoundMixer.computeSpectrum() method will not return data from those sources."[1]

View 2 Replies

Flex :: Controlling Volume Of Microphone With Slider?

Apr 24, 2010

How to control the volume of the microphone with a slider?

View 1 Replies

Flex :: Audio - Draw Waveform For Microphone?

Oct 8, 2010

I'm making a audio recorder with Adobe Flex (Microphone, NetStream), I want to get the current audio wave from Microphone to display in the visualization area, how can i get the data?

View 1 Replies

Flex :: Red5: Send The Microphone Stream?

Dec 22, 2011

i am using red5 and flex. Actually my objective is to send microphone stream from the server to the client and play it on the client side. Similarly send microphone stream from client to server and play it on the server side. No need to store the live stream.

View 1 Replies

Flash :: Enable Speex Codec On Microphone Object In Flex 4?

Nov 23, 2010

From what I have read, using Speek over Nellymoser is advantageous, but I can't figure out how to use it with a Flex 4 Microphone object. For instance, the last code line:

[Code]...

View 1 Replies

Actionscript 3 :: Short "progress Code" Algorithm?

Apr 21, 2011

Does anyone have ideas to securely encode a small amount of data into approximately 8 characters? I have a project (Flash and Flex (AS3) not that it really matters) that must be deployed on CD/DVD-ROM (no local storage nor network access) but with a requirement to allow people to come back where they left off. Therefore there will need to be a code that is human-friendly to print (on dead-tree or PDF) or write down and to enter back into an input field, as well as being secure to stop cheating between different students.

There are 14 assessment items that can be completed in any order. At the moment I CRC32 their "login name" and take 16 bits from that result, and combine them with the 14 assessment bits into 30 bits that is then encoded using a form of Base32, giving 6 characters, then adding a check character, then using a character replacement for encryption. Upon return to the program and entering the 7 character progress code, after decryption and extraction, if there is a match in the name hash parts, it is assumed the completion bits are correct.

One problem identified was that only two characters change when completing each item. Is there some algorithm that would completely change the entire string if any one bit changes? Or is there a completely better way? I'd also like to store more data (dates, more bits for the hash to reduce collisions, location within the course, etc) but don't want to go above 8 or 10 characters.

View 2 Replies

Create A Progress Bar (248px Wide) With A Slider That Moves According To The Movie Progress

Jun 4, 2010

I have an SWF movie (1375 frames) and created a progress bar (248px wide) with a slider that moves according to the movie progress. I'm doing that next way:Calculating the distance for the slider to be moved each frame (248 / 1375) On each ENTER_FRAME moving the slider for the calculated distance The problem is - the movie ends far before the slider reaches the end of the progress bar.

I'm thinking that the distance (Step 1) is is somehow ends floored by Flash and the actual distance it moves the slider is smaller than required. That's why the movie ends, but the timeline control just passed the 2/3 of its way. My question is - is there any solution for the problem? Or any other way to go, if it's a wrong one?

View 2 Replies

Flex Progress Bar Setup

Jul 15, 2010

I am trying to make a progress bar to show the my application loading status. I google a lot but it only shows how to use progress bar for elements (ex: images, datagrid). I need to know the progress bar setup for the entire application.

View 1 Replies

Flex :: Create Progress Bar On Top Of Google Map?

Oct 26, 2009

How do I create a progress bar on top of google map in flex/as3? I tried to ask google maps API for flash, but no answer... May be some of you have done this already.

View 1 Replies

Flex :: Reset/reuse Progress Bar?

Dec 29, 2009

I'm using a progress bar to let a user know how much more live streaming video data is to be buffered before it starts playing.Have that much working fine.Problem is, if the buffer gets used up, and I need to rebuffer, I can't seem to get the progress bar reset and visible again. Seems once it hits 100% on app start up it can't be reused.I'm catching the proper NetStream.netStatus events.The hook for the empty buffer is there and is executing.I'm just not seeing how I might redisplay and start a fresh bar there?

I've tried bar.visible = true and nothing appears.Also tried making a new one and setting visible each time the buffer is empty but no dice.Seems to just be ignored.

View 2 Replies

Flex :: Progress Bar Move On Mic Activitylevel?

Jan 3, 2011

Can any one indicata me a small piece of code for making this progress bar move on mic activitylevel. When spoken on the microphone the progressbar should indicate it.Also which works on internet explorer

[Code]...

View 1 Replies

Flex :: Error While Setting Value Of Progress Bar

Mar 1, 2011

I want to set value of a progress bar in an accordion but I am encountering 'setProgress is not a function' error. If I move the progress bar out of the Accordion then the error goes away and the progress bar appears fine. I want to set the progress bar eventually to {repMonitor.currentItem.threatLevel} but for now I am just testing with hypothetical threat value i.e 60

<mx:Accordion id="monAccordian" includeIn="Monitoring" x="10" y="10" width="554" height="242" change="monAccordianChange()" >
<mx:Repeater id="repMonitor" dataProvider="{monitoringArray}">
<mx:Canvas width="100%" height="100%" label="{repMonitor.currentItem.firstName+' '+ repMonitor.currentItem.lastName}" >
<mx:Image x="10" y="10" source="{repMonitor.currentItem.imageName}" width="175" height="118"/>
<s:Label x="200" y="14" text="Threat Level:"/>
<mx:ProgressBar x="200" y="30" mode="manual" label="" id="bar" width="200" creationComplete="bar.setProgress(60,100);" />
</mx:Canvas></mx:Repeater></mx:Accordion>

View 1 Replies

Flex :: Make A Circular Progress Bar?

Jul 12, 2011

I am a beginner in Flex. For my appln, I wanted to have the progress bar, but not the default that Flex Framework provides.

I wanted to have a circular loading "progressbar" that would move in circular fashion before completing one complete revolution to 100%.

Can I do that in Flex 3 ? If yes, how ?

View 5 Replies

Flex :: Loading Module With Progress Bar?

Aug 16, 2011

My application has a couple of modules which am loading as thus in my application.

<local:moduleloader url="Module1.swf" id="modulel" />
<local:moduleloader url="Module2.swf" id="module2" />

Then while loading each module I am showing the progress bar. The progress bar shows but does not go away. It remains above the whole frame of the application. The module loader is as follows:(Also note that in Flex 3 the same works, but am using Flex 4 and in Fx 4 it does not)

<mx:ModuleLoader xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"

[code].....

View 2 Replies

Finding The State Of An Item In Flex?

Jul 27, 2009

How would i know the item state, whether its open or closed through programming in flex.

I am using Accordian...

View 1 Replies

Flex :: Finding Component's X,y Location?

Jun 23, 2010

I have a component that changes its location based on other elements. I'm trying to find its x and y position at different intervals, so I tried compname.x and compname.y.

The x position seems to be working, but the y position is always 0. I need to play with localToGlobal or contentToGlobal or one of those conversions.

View 2 Replies

Flex :: Finding Out Where TypeErrors Are Thrown?

Aug 9, 2011

Recently I configured my BlazeDS to use Array instead of ArrayCollection for performance reasons. Additionally I adjusted my templates to generate Array properties.Everything wen't fine. All except one function that causes TypeError: Error #1034. These are being thrown before the result callback is called. It claims to have problems casting an ArrayCollection to Array. I removed the generated types to make Flex use Objects instead, but these did not contain any ArrayCollections. My question now is: How can I get the stack-traces of errors thrown in event-handlers? I allready added handlers for unhandledExceptions in all of my modules and they are called if errors occur in code triggered from user-interaction, but they don't seem to be able to catch stuff thrown by event-handlers.How can I track these Errors?

PS: The classes are:
package de.upw.ps.ucg.model.ucg.scheduler {
[Bindable]

[code]......

View 2 Replies

Flex :: Progress Bar Controlled By Forum Entry

Jul 9, 2009

I have five text boxes and a dropdown box in my flex application, how can I make the progress bar fill up when there is text in each box, and the dropdown selected. For example, if there is input in three out of five of the boxes and there is a selection in the dropdown, then the progress bar would be 4/6 full.

View 1 Replies







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