# Animated Movie Clip with Drop Shadow?

**URL:** <https://forum.kirupa.com/t/animated-movie-clip-with-drop-shadow/232877>\
**Category:** flash\
**Created:** [July 18, 2007, 1:26pm UTC](https://forum.kirupa.com/t/animated-movie-clip-with-drop-shadow/232877 "2007-07-18T13:26:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbstanley](https://avatars.discourse-cdn.com/v4/letter/b/977dab/32.png) [@bigbstanley](https://forum.kirupa.com/u/bigbstanley)\
**Post date:** [July 18, 2007, 1:26pm UTC](https://forum.kirupa.com/t/animated-movie-clip-with-drop-shadow/232877/1 "2007-07-18T13:26:23Z")

</div>

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:

```auto

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!
