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