Flex :: How To Reduce The Unwanted Noise

Jan 17, 2011

In the below code sometimes when microphone is not connected some noise is generated and the system just keeps on buzzing the same sound.Whats wrong with the code below and how to reduce the unwanted noise. Should i set myMic.setLoopBack(false) in the below code

[Code]...

View 1 Replies


Similar Posts:


Professional :: Create A Visual Noise Pattern Using BitmapData.noise

Oct 25, 2010

I have been trying to create a visual noise pattern using bitmapData.noise, and with help from Rothrock and Kglad have created a working version.I checked with a colleague who is expert on the use of these visual patterns, and he suggested that the change speed is too fast: that the dots (pixels) need to change at just under 400 dots per second for an 800 x 600 stage.With beginner skills in AS3, I am unsure if there is any way to change the script to slow the rate of dot change in the bitmapData.noise function?

View 2 Replies

ActionScript 3.0 :: Unwanted 20px Margin In Flex Application

Apr 21, 2009

how to remove what appears to be an invisible 20px margin within my actionscript 3 application, written using flex builder.  When I add movieclips and set x = 0, they appear about 20px over from the left hand side of the screen.  If I set their x = -20, then they appear flush with the left side of the app.  Is there any way to get around this/remove this margin?
 
In the attached picture, the green rectangle is at x = 0, yet it is not flush with the left hand side of the app.

View 1 Replies

Flex AdvancedDataGrid HierarchicalData XML Results In Unwanted Rows?

Mar 31, 2011

I guess the best way to explain my issue is to describe it in terms of the hierarchical XML data example on Livedocs.

Here, the XML is of the form

<Region Region="Arizona">
<Territory_Rep Territory_Rep="Barbara Jennings" Actual="38865" Estimate="40000"/>
<Territory_Rep Territory_Rep="Dana Binn" Actual="29885" Estimate="30000"/>
</Region>

However, the data I have is more like:

[Code]...

View 1 Replies

Flex :: Reduce The Time Request Between Producer (Java) And Consumer (Flex) With JMS Message?

Jul 12, 2010

I have implemented application client-server with spring blazeDs message services using JMS message destination. The idea is a producer declared in Java send message using activeMQ and consumer declared in Flex receives them. I have configured the AMFChannel with a polling interval 0, but I have seen when the consumer subscribes to the destination in Flex, the time request can be of up to 3 seconds.

[Code]....

View 1 Replies

Flex :: Reduce The Scrolling Speed Of The Flex Mobile SpinnerList Component?

Mar 26, 2012

I'm using the SpinnerList component in a flex mobile application, the spinner turn too fast for my need, is it any way to reduces its speed.

There is many answer regarding the speed of the mouse wheel but no answer concerning the spinner itself.

View 1 Replies

Flex :: Reduce Spacing Between Components?

May 4, 2010

How can I reduce the space between my linkButtons and inside each linkButton ?

I've set padding to 0 but it was already 0.I've been able to only change the height of the LinkButtons, but I cannot do that with the width because the text is dynamic.[code]...

View 2 Replies

Flex :: Reduce The Size Of .air File?

Aug 26, 2011

I am using Flex Builder 3. Even for a small project, my exported .air file's size is around 400k. Is it because of all the Flex libraries being compiled into my application. I wanted to know if it is possible to remove the libraries that I don't use.

What are libraries like "qtp.swc" and the "automation" libraries?

View 1 Replies

Flex :: 4 - HSlider And TileLayout - Reduce To A Certain Size

Sep 13, 2010

I have a simple application that consists of a HSlider and a list that contains a item renderer with a border container managed by a tile layout. For some reason when moving the slider to reduce the size of the item renderer it only reduce to a certain size and wont reduce any further. I use the same principle in flex 3 (with mx components it works fine).

[Code]....

View 1 Replies

Flex :: Reduce SWF Filesize By Optimizing The Code?

Jan 26, 2011

Considering we have already done the following actions:

Flex Framework as RSL
Compiling with debug=false
Loading most images at runtime
Drawing other simple images with flash draw features

[code].....

We believe we spent a lot of time into asset optimization and most of the work is remaining on the code.By analyzing our link-report, our guess is that the heavy part of the code is comming from Flex .mxml nested components. We don't think there is much to do on our pure AS classes.Is there any analysis or coding best practice in order to reduce the impact of the code on the swf filesize ?

View 3 Replies

Flex :: Reduce The Minimum Width Of A Button On A ButtonBar In 4?

Jan 18, 2011

I have created a spark ButtonBar which is dynamically populated with XML and skinned to look like a standard TabBar. When I used the TabBar in Flex 3, the width of each Tab would shrink or grow to the size of the Label, plus a little padding either side. When using the spark ButtonBar in Flex 4, I find that no matter how short the label (even an empty string), the Buttons will be at least 70 pixels wide, and will expand for longer labels. I have tried setting the minWidth to 20 in various places, including on my ButtonBarButton skin, but this has no effect.

View 1 Replies

Flex :: Reduce The Height Of The List Based On The State Of Its Item Renderer?

Jan 20, 2010

We have a requirement to show a list of appointment slots. So every hour of a schedule has a set of 10 min slots. The requirement is that if we click on a arrow button at the 8:00, 9:00 hour slot, the layout of the hour slots should change from a vertical list to a horizontal list.For this we modeled the system as follows:ScheduleComponent ->(contains) -> List (Hours of schedule)The HourViewComponent is an Item Renderer, that displays the 10 mins slots based on the available appointments by using a Slots List (list of slots in the 8:00 hour). For the Slots List we have a Slot View Component as an Item Renderer.Now the issue is that when we click on the 8:00 slot we are able to change the HourViewSlot from a VerticalState to a Horizontal state. But The container height is not collapsing in the minimized state. It occupies the same size as the vertical layout! We tried using variableRowHeight attribute.

View 1 Replies

Actionscript 3 :: Add Noise To A Video In It?

May 25, 2011

I was trying out Lee Brimelow's tutorial on creating a simple AR scene using [url]...

It worked out pretty well, considering I have never created something out of Adobe Flex Builder before.[code]...

View 1 Replies

IDE :: Making Perlin Noise Less CPU Intensive?

Feb 5, 2009

Lately I have been trying to animate the water surface giving it more natural look by use of Perlin noise. But it seems it is very CPU intensive operation. And if I use it along with other animations on the stage which involve lot of movements then it become really difficult for the machine to render the entire scene.

View 2 Replies

ActionScript 3.0 :: Can't Make Perlin Noise Example Work?

May 24, 2009

I have an example that I copied out of a book "Actionscript 3.0 Cookbook"here's the error message:TypeError: Error #1009: Cannot access a property or method of a null object reference.    at jim.bitmap::Clouds()[C:AS3projectsclassesjimitmapClouds.as:13]    at clouds_fla::MainTimeline/frame1()[clouds_fla.MainTimeline::frame1:2]

[Code]...

View 11 Replies

ActionScript 3.0 :: Operator In Channels For Perlin Noise?

Jul 9, 2009

got this code from herehttp:

[Code]...

View 1 Replies

Professional :: Pixel Colors In BitmapData.noise?

Oct 5, 2010

I am wondering if there is any way to set the pixel colors exclusively to black and white (instead of gray) in a bitmapData.noise animation. The previous related thread is: [URL]..For the function:
 
function makeNoise():void { _bitmapData.noise(getTimer(), 100, 255, 7, true);
 
Is there any way to set the noise color pattern to black and white? In the scripting reference, it seems the choices are R||G||B||Alpha channels, so I am not sure if there is any way to combine these to get black and white only.

View 16 Replies

ActionScript 3.0 :: Making Textures With Noise Functions?

Apr 11, 2012

This question was posted in response to the following article: [URL]

View 2 Replies

ActionScript :: Flash FLVplayback SeekBar Noise

Oct 7, 2011

my issue is with flash FLVplakback control with a seekBar attached to it. example can be found here. for some unknown reason when i try to rewind using the seekbar, it produces a loud noise at the start. whereas if i let it play out the entire movie (mp4) and then play again using the play button it does not produce such noise. in case i rewind using the seebBar after playback has completed even then it does not produce the noise.

View 1 Replies

ActionScript 3.0 :: Removing Noise From An Array Of Numbers?

Nov 13, 2010

I'm trying to implement the face recognition api from [URL] Everything is working fine other than the fact that the x y position of the face returns a lot of noise, meaning that when I'm sitting still instead of the x y to be constant it jumps up and down. Is there a way to apply a filter to the returned x y values to prevent this from happening?

View 4 Replies

ActionScript 3.0 :: Adding Chime Noise To Clock

Dec 14, 2010

What is the easiest way to add a chime noise on the hour or every 15 minutes to my AS3 clock? I have the code all written for my date/time calendar and I thought it would be neat to add a sound. This is my AS3 code:
import flash.events.Event;
import fl.events.ColorPickerEvent;
import flash.geom.ColorTransform;
theTime.addEventListener(Event.ENTER_FRAME,showTime);
seconds.addEventListener (Event.ENTER_FRAME,showSeconds);
[Code] .....

View 3 Replies

ActionScript 2.0 :: (FMX) - Put A Sound On The Rollover, So When It Ran Away, It Would Make A Noise?

Sep 5, 2004

im having a bit of trouble with something,if you look at the attached file, there are 2 circles(movie clips), they have an AS code on them :

onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse,_root._ymouse,true)) {
this._x = int(Math.random()*550);
this._y = int(Math.random()*400);
}
}

Now, i wanted to put a sound on the rollover, so when it ran away, it would make a noise, so i put an invisible button on the top in each movie-clip.and put a sound on the over state, but, this makes the MC's not run away!So i thought that i could add a on (rollOver), but i dont know the code to load a sound from the library.

View 4 Replies

ActionScript 2.0 :: Get A Loop Repeating As Background Noise?

Mar 13, 2007

I am trying to get a loop repeating as background noise I have implemented this within an MC on maintime line.

Code:

myLoop = new Sound;
myLoop.setVolume(80);
myLoop.attachSound("final");
myLoop.start(0 ,99);
var pos:Number;/////user interface below

By me starting loop at 0, playing back 99 shouldnt that loop it endlessly? However it stops after first play.

View 2 Replies

ActionScript 2.0 :: Pre Rendering A Perlin Noise Animation

Aug 14, 2007

Is there a way to pre-render a BitmapData.perlinNoise moving animation into a seamless loop of 10-12 frames from which copypixels could be used on the resultant sprite strip to produce fast resuilts?

View 1 Replies

ActionScript 3.0 :: Noise Reduction Or Denoise An Image?

Jan 26, 2010

anyone know of a way to deniose / Noise Reduction or anyway to do this at runtime on a image in as3. I'm creating a image editor

View 1 Replies

ActionScript 3.0 :: BitmapData.noise: Control Speed Of Change?

Oct 25, 2010

Moved from Newbie section I have beginner skills using AS3 and have been trying to improve a basic movie that generates a visual noise pattern. I need it for an eLearning lesson. A while back, I got some help pulling this script together. It uses bitmapData.noise to generate a visual noise pattern. It can be viewed here: [URL]

I checked with a colleague who is expert on the use of these visual patterns, and he suggested that the change speed is too fast: that the dots (pixels) need to change at just under 400 dots per second for an 800 x 600 stage. I tried changing the "seed" parameter, but while this slowed down the pixel-dot change, it did not run smoothly. I'm not sure what else can be scripted to accomplish slowing down the change rate

[Code]...

View 21 Replies

ActionScript 2.0 :: Perlin Noise Wave Effect Reverse

Aug 22, 2011

how to get the Perlin Flag Wave shown at

Senocular[dot]com/flash/source/?entry=761

to go from right to left?

Reversing the gradient of the displacement does not work. It simply reverses the amount of the effect on the left side so the waves are bigger on the left end, but the waves still move from left to right.

View 3 Replies

ActionScript 3.0 :: Moving Sprite Based On Perlin Noise?

Jan 26, 2012

affect the position of a sprite using perlin noise? Looking at this flag example:

[URL]

If you imagined a sprite with say just a circle drawn in it positioned on the top right corner of the flag, is there a way to calculate the change in position to keep it in-sync with the flag corner as that animates? What I'm after is the fluid motion but not the distortion.

View 1 Replies

ActionScript 3.0 :: Control Sound Of The Player - Crackling Noise

Mar 13, 2012

I want that my spaceship gets louder when my mouse moves away from it (and vice versa). Problem is that my function produces an annoying crackling sound I can't get rid of when I move my mouse away from it (and vice versa). The sound file is ok so far.

Code:
shipSpeed = (abs(player.x - playerPrevPt.x) + abs(player.y - playerPrevPt.y)) / 2;//the ship's speed gets calculated
//this is used to determine whether the ship's volume of its sound shall be increased or decreased

[Code]....

View 2 Replies

IDE :: Strange Noise When Importing An FLV File With Alpha Channel?

May 14, 2009

I have a strange issue with the FLV files i imported to my site.These FLVs were imported with Alpha channels.In my site there is a button, that when its pressed for each FLV it starts playing.The Problem is after its been playing for awhile there is a strange Noise at the background that starts appearing slowly. (Please see attached file)The only code i have on each FLV is for transparety and a Loop (Plaese see below):

onClipEvent (load) {
this._alpha = 0;
this.dir = -1;

[code].....

View 1 Replies







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