Jump to content
Search Community

Error 1046

sandesh test
Moderator Tag

Recommended Posts

I am having my main site folder containing my own classes as well as your com folder.

I am using your LoaderEvent class alongwith your other classes such as TweenLite.

But I am getting error 1046:Type was not found or was not a compile-time constant:LoaderEvent even though I am importing LoaderEvent in every class i am using. I fail to understand this problem. Pls help

Link to comment
Share on other sites

You must not be importing LoaderEvent correctly then, or you missed it somewhere, or you don't have the class file. Make sure it's:

 

import com.greensock.events.LoaderEvent;

 

And make sure you download the latest source files. I wonder if you've got a SUPER old version of the com/greensock folder that doesn't contain the LoaderEvent class or something.

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