Jump to content
Search Community

New Error Messages

DAdam13 test
Moderator Tag

Recommended Posts

Hey,

 

I have been using your class for several months now without any problem. In fact, it has worked perfectly and I thank you!

 

So now, for some reason In have getting all types of error messages now, when I try to edit a website that never had any before. I get the;

 

1046: Type was not found or was not a compile-time constant: TimelineLite

var myIntro:TimelineLite = new TimelineLite();

 

1180: Call to a posibly undefined method TimelineLite.

var myIntro:TimelineLite = new TimelineLite();

 

1120: Access of undefined Property TimelineLite

TimelineLite.ALIGN_START,

 

Do you have any ideas what these mean and why I would be getting them all of sudden? Any advice?

 

Thank you so much,

Daniel

Link to comment
Share on other sites

Did you import the TimelineLite class? Sounds like you forgot to.

 

Either do this:

 

import com.greensock.TimelineLite;

 

or import all the classes in the com.greensock package (don't worry - Flash will only embed the ones you actually use) like this:

 

import com.greensock.*;

 

And of course make sure you have the "com" folder with all the GreenSock code in the same folder as your FLA file (or set up a custom class path).

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.
×
×
  • Create New...