Flex has the SoundMixer.computeSpectrum function that lets you compute an FFT from the currently playing sound. What I'd like to do is compute an FFT without playing the sound. Since Flash 10.1 lets us access the microphone bytes directly, it seems like we should be able to compute the FFT directly off of what the user is speaking.
Flex has the SoundMixer.computeSpectrum function that lets you compute an FFT from the currently playing sound. What I'd like to do is compute an FFT without playing the sound. Since Flash 10.1 lets us access the microphone bytes directly, it seems like we should be able to compute the FFT directly off of what the user is speaking.
I have a set of data (in ArrayCollection) and I need to fit a power function { f(x)= B + x^alpha } to it, before display in LineChart.
As result I need the alpha and B paremeter.
How to do this with Flex?
hi,
i am working on an aplication using flex,adobe air...i have a datagrid with a XML as my dataprovider...during the execution of program my XML is updated....after XMl is updated and saved my datagrid should also get update ......I have used
Dataprovidername.refresh() method but it is not working.......please help me in this
Thanks to every one............
I'm trying to make this SVG shape (ignore the color background, just the X shape)
Close SVG Path
but don't have Illustrator and wouldn't know how to use it.
Can someone help out with the general idea, or point me to alternatives. I'm using it in flex.
Is there a way to take a compiled SWF file and figure out how much of it's size is used by code and how much is assets (images, etc)? I'd like to see if I can get my Flex SWF smaller but I'm unsure what's taking up the most space.
In a Flex / Java app stack using remoting (via BlazeDS), classes to hold data passed back and forth between client and server need to be maintained in both the client (in ActionScript) and server (in Java).
I want a way to maintain theses classes in Java only, and have the corresponding ActionScript value object classes generated by the build process.
Question for Flex guys.
How can I use multiple item renderers in mx:Tree depending on item's depth/level in tree?
For example. For the first level items I want to use label with button and for second level items combobox.
Is this somehow possible?
I'm developing a web based game application using flex. I'm placing images dynamically inside a canvas . Whenever i place an image it should change it state after a period of time. For example after 2 mins it should change it state. The time has to be calculated for each image after i place the image. How shall i handle this.
I'm looking for a flex 4 compatible way of adding a sprite generated with graphics library to a skin.
If I generate the sprite like this:
private function drawShape():void {
theshape = new Sprite();
theshape.graphics.beginFill(0x666666);
theshape.graphics.drawCircle(3,5,10);
theshape.graphics.endFill();
}
What would be the best way to add it such that I can control its presence by state
i want to develop an application using flex 4 sdk with eclipse and action script. i need to draw the hierarchy chart dynamically and save it. should be able to label all the nodes at runtime, should able to view all charts created previously saved chart.
i need source code for this
sample application
http://live.yworks.com/graphity/
thanks in advance
Hey guys,
I have a page with some html content and my Flex app. At one point, the Adobe Flash Player Settings popup appears, but for some reason I can only just see the top of it, the rest is off screen towards the bottom. Does anyone know how I can fix this so that the user can interact with the popup? Thanks for reading.
Does anyone know of a way to use the mxmlc task of the Flex Ant tasks with a user-definable list of source path or library paths? The idea is that the user can define an arbitrary list of source paths and/or library (swc) paths into an Ant properties file and the build file takes these values and evaluates them for use in the mxmlc task. Just wondering if there are any tricks (maybe utilizing filtering/string replacing) to get this working?
If I have a pure as3 project that I have been compiling with flex3 from mxmlc, is there any reason to switch to using the mxmlc with flex4?
I can use all of the flash 10 language features like Vector, 3D, etc., so that is not a reason to switch (or is there something I can't do?).
But maybe there is a performance boost? Or is the exact same compiling tool and the flex code base is the only difference?
I am trying to code a shopping cart using Flex 4. I am at the design process and I need to figure out which design pattern to use. I am thinking of using the Singleton pattern. I will have a Product Value Object where I'll save each product's values and the I'll push each product to an array variable in my Singleton class.
Is my logic OK? Is there a better way?
Thanks in advance
Hi ppl, I participate in a important project right now and I have to implement a class that manages music and sound.
The project that I'm making is developed in AS3 using the Flex enviroment.
Is there a "best approach" or only different ones?...
Thx.
I don't have eclipse on my system at all, but I have on my hands an eclipse project (flex) that I would like to compile and I was wondering if there was any way to do it with minimal to no changes having to be made. Is this possible?
I wish to develop a software for mesh simplification (3D object compression) in flex using papervision 3D. Which algorithm will be the best one to implement?
Let's say I had an ArrayCollection like this:
public var ac:ArrayCollection= new ArrayCollection([
{item:"dog", group:"Animal"},
{item:"orange", group:"Fruits"},
{item:"cat", group:"Animal"},
{item:"apple", group:"Fruits"}
]);
How would I create a Tree component in Flex 3 that uses the groups as nodes, with the appropriate items listed under each node?
Hi,
I have a flex application that downloads a set of information each time the user logs into the site. I was wondering if there was a way to cache that information as it hardly changes. If anyone knows a way of doing so any help would be greatly appreciated.
Regards,
Iam new to flex.
in my work I have a problem.
in my program i have to use three lists and one button.
one is employees list,2nd is managers list and third is details list.
depending on the selected items in the 2 lists i have display the items in detailed list
can any one help me?
thanks in advance.
Is there a way to connect the RichText controls (without the textbox) to a TextFlow in Flex 4 and to be able to add the controls seperate from the TextFlow?
I am using TextArea to display some text information in rows in flex gui, it automatically restricts the number of lines to display to 100 lines. But I want more than 100 lines in the text area.
How can I increase number of lines to display?