Drop shadow filter - embed cutting off edges?

ironchefmoto
Mon, 18 Jun 2007 13:20:58 +0000

I’ve dynamically drawn a gradient background on a little widget I’ve built (pulls in EPA/National Allergy Bureau climate data from a vendor, if you’re curious), and I have applied an AS 2.0 drop shadow filter to the background. Standard stuff…except…

…I embedded the SWF using SWFObject and matching the dimensions of the widget stage exactly. And the left/right edges are cutting off. Are there any guidelines for using a background AS 2.0 drop shadow filter and accommodating the filter with the embed? It’s a 10px (5px depth, 5px blur) 90-degree filter, and I left room on the stage for the 10px below the background. But the “edge” I expect to see on the embed isn’t showing up.

Here’s the filter code, BTW:

outlineShadow = new DropShadowFilter(5,90,0x000000,0.33,5,5,1,2,false,false,false);

Any suggestions?

Thanks,
IronChefMorimoto

Read full topic