Jump to content
GreenSock

Wiplash

dropShadowFilter - Really basic question

Moderator Tag

Recommended Posts

Hi there,

 

I am having an absolute nightmare trying to get the dropShadowFilter working. I have no idea why it isn't as every other filter works on the same object. Do I need to add a filter first with code before I can animate it?

I have the following

 

import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;

TweenPlugin.activate([DropShadowFilterPlugin]);

TweenMax.to(mc, 1, {dropShadowFilter:{color:0xff0000, alpha:1, blurX:12, blurY:12, distance:12}});

 

I have a movieclip named mc and all the setting are the defaults from the plug-in explorer. dropShadowplugin is definately inside my greensock folder. Using greensock 12.

P.s. Everything is AS2.


Please help. 

Will

Link to comment
Share on other sites

Does anyone have a basic fla with this working .. as2 flash 8 so I can see what I'm doing wrong?

Thanks for your help

Link to comment
Share on other sites

Ah yes, thanks for pointing that out - the AS2 flavor of DropShadowPlugin was missing an underscore on a method name. I'm so sorry for the hassle/confusion. It's fixed now (and attached).

DropShadowFilterPlugin.as.zip

Link to comment
Share on other sites

Wow .. thanks so much. Nice to know i'm not going crazy. All working fine now.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×