flash effects with bitmapdata

Posted by druva | Flash, Flex, as3 | Sunday 7 February 2010 11:11 pm

Flash is great!!

This movie requires Flash Player 9

 

Create Color Picker like Photoshop Color Picker using Flex and Actionscript 3 (AS3)

Posted by druva | Flash, Flex, MXML, as3, utils | Friday 15 January 2010 12:30 pm

Recently started making a color picker which is similar to photoshop color picker

 

create gradientbox and how to fill gradientbox using action script

Posted by druva | Flash, as3, utils | Wednesday 2 December 2009 11:09 am

var gradientColors:Array = [0xFF00FF,0x33CCCC];
var gradientAlphas:Array = [1,1];
var gradientRatios:Array = [0,255];

var matrix:Matrix = new Matrix();
matrix.createGradientBox(120, 120, 45);
graphics.beginGradientFill(GradientType.RADIAL, gradientColors, gradientAlphas, gradientRatios, matrix);
graphics.drawCircle(60, 60, 60);