How to pop filters using cs4 action script

Posted by druva | Flash, as3, utils | Wednesday 23 December 2009 8:01 am

CS4 condenseWhite in textField using action script

This code shows how to apply filters and how to pop filter using action script.


addChild(glowFilter);			   

var glow:GlowFilter = new GlowFilter(0x5C947C, 1, 20, 20);
var dropShadow:DropShadowFilter = new DropShadowFilter();

glowFilter.filters = [glow,dropShadow];

filters = glowFilter.filters;
filters.pop();
glowFilter.filters = filters;
 

CS4 glowfilter and dropshadow filter using action script

Posted by druva | Flash, as3, utils | Sunday 20 December 2009 7:37 am

addChild(glowFilter);			   

var glow:GlowFilter = new GlowFilter(0x5C947C, 1, 20, 20);
var dropShadow:DropShadowFilter = new DropShadowFilter(10,45);

glowFilter.filters = [glow,dropShadow];

This movie requires Flash Player 9

 

CS4 glow filter using action script

Posted by druva | Flash, as3, utils | Saturday 19 December 2009 7:45 am

addChild(glowFilter);			   

var glow:GlowFilter = new GlowFilter(0x5C947C, 1, 20, 20);

glowFilter.filters = [glow];

This movie requires Flash Player 9

 

CS4 dropshadow filter using action script

Posted by druva | Flash, as3, utils | Friday 18 December 2009 7:52 am

addChild(glowFilter);			   

var dropShadow:DropShadowFilter = new DropShadowFilter(10, 270, 0x5C947C, 1, 6, 6, 1, 1, false, false);

glowFilter.filters = [dropShadow];

This movie requires Flash Player 9