I have a movieclip called “menu0”. It simply moves up and down. I’ve just added a drop shadow effect to it with AS and now it refuses to move up and down. What’s going on and how do I fix that? If I apply the drop shadow to it manually using the filter tab on the properties panel it works fine, but when applied with AS it doesn’t.
I know. You’re probably thinking why don’t I do that. I need to apply it dynamically because I will have to take it off specifically for the Safari browser. Safari doesn’t support drop shadows over html or text - it breaks the flash.
Any ways, even without Safari and just in the swf file itself, it’s not working. Here’s my code:
import flash.filters.DropShadowFilter;
var dropShadow:DropShadowFilter = new DropShadowFilter(5, 45, 0x000000, .2, 5, 5, 2, 3);
_root.right_mc.section0.menu0.filters = [dropShadow];
The only thing that I can think of is that on the timeline where menu0 is located, it has three key frames: the “up” state, “down” state, and back to “up state” . It’s a simple tween animation between these states. Maybe somehow the AS is only reaching the first keyframe - but why wouldn’t it animate?
Pleas help!