Another variation of Sound Spectrum 1. Used bitmap data and applied some blur.
Here is the code
PLAIN TEXT
Actionscript:
package
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import flash.display.Shape;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.events.MouseEvent;
import flash.filters.BitmapFilterQuality;
import flash.filters.BlurFilter;
[...]
Another variation of Sound Spectrum.
code:
PLAIN TEXT
Actionscript:
package
{
import flash.display.Shape;
import flash.display.Sprite;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.IOErrorEvent;
import flash.events.MouseEvent;
import flash.geom.ColorTransform;
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundLoaderContext;
import flash.media.SoundMixer;
import flash.net.URLRequest;
import flash.text.TextField;
import [...]
After a long time I had some time to experiment. I played with SoundMixer computeSpectrum. following is a very basic sound spectrum. click to play. it may will take some time to load the sound. enjoy!
Sound is downloaded from http://incompetech.com
here is the code.
PLAIN TEXT
Actionscript:
package
{
import flash.display.Shape;
import flash.display.Sprite;
[...]
Today I came across a very unusual problem. While compiling an old Flash CS3 project in Flash CS4, Compiler thew an error saying "1044: Interface method {Methodname} in namespace {InterfaceName} not implemented by class {ClassName}." while in CS3 the same project complied without any problem. Class was implementing an Interface and an internal Class was [...]
Yesterday when I posted about Flash in Gmail I didn't mentioned what the problem was. Here is my assumption on what the problem was and what could have caused that problem.
On the help page, it was mentioned that attachment functionality required Flash player 8 or greater, and if you have Flash player 10 installed then [...]
Today I was attaching a file in Gmail and it was failing. I was wondering what the problem is when I saw a help button next to the attach button. I clicked it and it lead me to help page which said you need Flash Player to upload and you can change this advanced option [...]
Have you already switched to AS3 ? Are you still working with XML in AS2?
Look at this tutorial about XML and AS3 and see what you are missing.
There was a requirement for a text editor in one of our current Flex 2 project. But after too much of efforts we came to conclusion that to develop a decent text editor without any bug is next to impossible. As most of you might be aware of a few bugs with <img> tag in [...]
Just downloaded Bee, an Air application, and posting this post from Bee. I'm really excited about the Air. Lets see If I can come up within next few days.