Using Flash 8;
Hello,
I am trying to add simple drop shadows to a few dynamically loaded images and it’s not working. If I create a plain box or rectangle, the drop shadow filter works fine, but not with loaded .jpg’s. Can anyone help!! Here’s my code:
import Flash.filters.DropShadowFilter;
_root.createEmptyMovieClip(“Window1”, _root.getNextHighestDepth());
Window1.loadMovie(“image1.jpg”);
Window1._x = 200;
Window1._y = 150;
var dropShadow:DropShadowFilter = new DropShadowFilter(10, 45, 0x000000, 0.4, 5, 5, 1, 2);
Window1.filters = [dropShadow];
//Note: image1.jpg resides in the same folder as .swf.
Thanks, Dave.