Yeah in CS3 that's the case - regardless of whether you are using AS2 or
AS3. But to my knowledge, in Flash 8, it is still 0 to 100. 

- Hal




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alan
MacDougall
Sent: Friday, August 24, 2007 9:19 AM
To: flashcoders@chattyfig.figleaf.com
Subject: Re: [Flashcoders] DropShadowFilter rendering issue: SOLVED

Alan MacDougall wrote:
> After I create a clip with attachMovieClip, I attempt to write a 
> DropShadowFilter to it using the following code:
>
> var shadow:DropShadowFilter = new DropShadowFilter(
>                5,            // distance
>                45,            // angle
>                0x666666,    // color
>                75,            // alpha
>                10,            // blurX
>                10,            // blurY
>                100            // strength
>            );
> myClip.filters = new Array(shadow);
>
Myth: the strength property of DropShadowFilter takes a value from 0 to 100.

Fact: It's actually 0.0 to 1.0. I was trying to apply a 10,000% strength 
drop shadow.

MYTH BUSTED.

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to