# Trouble with drop shadow filter

**URL:** <https://forum.kirupa.com/t/trouble-with-drop-shadow-filter/259190>\
**Category:** Uncategorized\
**Created:** [May 1, 2008, 9:08pm UTC](https://forum.kirupa.com/t/trouble-with-drop-shadow-filter/259190 "2008-05-01T21:08:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GrndMasterFlash](https://avatars.discourse-cdn.com/v4/letter/g/71c47a/32.png) [@GrndMasterFlash](https://forum.kirupa.com/u/GrndMasterFlash)\
**Post date:** [May 1, 2008, 9:08pm UTC](https://forum.kirupa.com/t/trouble-with-drop-shadow-filter/259190/1 "2008-05-01T21:08:14Z")

</div>

hello

i am working with a drop shadow filter class and for some reason i am un able to adjust the params of the DS after i set it up

this works

protected var commonDS:DropShadowFilter = new DropShadowFilter(2,45,4,.3,4,4,1,1);

but this doesn’t

protected var commonDS:DropShadowFilter = new DropShadowFilter();  
commonDS.distance=2;  
commonDS.alpha=.3  
commonDS.angle=45;  
commonDS.quality=1;

any ideas what im doing wrong?  
:puzzle:
