Jump to content
GreenSock

lazarsto

TweenMax Problem - Error

Recommended Posts

HI,

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

it throws me an error Type 1020: Method marked override must override another method. TweenMax.as?

Link to comment
Share on other sites

It sounds like you've got a mis-matched set of files, like maybe an old version of TweenLite and a newer version of TweenMax. Or maybe you're subloading an swf with a stale version of the tweening platform into the same ApplicationDomain of a swf with a newer version. Please make sure you update your files to a consistent version (preferably the latest one) and recompile.

Link to comment
Share on other sites

  • 2 years later...

Hi - really sorry to drag this ancient issue up but I am experiencing the exact same problem. Thing is I am using a fresh download of the AS3 greensock library (downloaded today) in a completely new Fla which does not subload any other swfs.

 

The problem does not go away whether I use import com.greensock.*; or import com.greensock.TweenLite; but it does let me import the library because the errors are only thrown when I try to instantiate the library.

 

EDIT:

 

Ok this is solved and I am an idiot - I had a movieclip named 'Animation' in my library which was causing a conflict with the core Greensock class Animation. Please delete this thread and my account because I do not deserve to use your library!

Link to comment
Share on other sites

Ha, we'll let you hang around a little longer ;)

 

Thanks for the update, I was just about to run some tests. 

 

This stuff happens all the time, even to me (but please don't tell anyone)

  • Like 1
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.
×