Jump to content
GreenSock

dmennenoh

1119 error - easeOut

Recommended Posts

Lately when I try to use eases like Bounce.easeOut I'm geting an 1119 error:

 

1119: Access of possibly undefined property easeOut through a reference with static type Class.

 

I'm importing com.greensock.easing.*; and even tried just now downloading the latest version and still get it. Tween works fine without the ease...

 

Tween code:

 

TweenLite.to(win, 1, { alpha:1, scaleX:1, scaleY:1, ease:Bounce.easeOut } );

Link to comment
Share on other sites

Sounds like you have a conflicting variable or class named "Bounce" somewhere in your code.

 

If you're still having trouble, please post a simple FLA that generates the error so that I can publish it and see for myself.

Link to comment
Share on other sites

Thanks for replying... I am using one document class, and it's only about 100 lines long - I have no variables named Bounce and am not importing any classes but Flash classes, and TweenLite. If however, I make a simple .fla with the two tween imports and one line tweening an object then Bounce.easeOut does work - with the code in frame one of the timeline.

 

BUT - if I make a test.fla using a very simple document class:

 

package

{

import com.greensock.TweenLite;

import com.greensock.easing.*;

import flash.display.MovieClip;

 

public class Main extends MovieClip

{

public function Main()

{

TweenLite.to(d, 1, { x:200, ease:Bounce.easeOut } );

}

}

 

}

 

Then I get that 1119 error about easeOut not being defined?????

Link to comment
Share on other sites

Well, it's working now. No idea why but it seemed to be a caching issue. Deleting ASO files cured the issue. Strange thing is I really never need to do that. And now that I've done it I can make changes and don't need to do it any more...

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.
×