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

This bug can happen for all sorts of reasons…… and it won’t throw up much information as to what the problem really is. In my case the reason I was seeing it was that I had my library item class named the same as the stage instance and/or the class reference to the object itself. Solution – make sure your names are different between class object, library class name and stage instance. Hopefully this may save someone out there some time…..

Advertisements

4 comments so far

  1. carlfinkarl on

    Thanks, that was exactly what happened to me. Why on Earth can’t the error message just say “Error 666: instance has same name as class”?

  2. sambrick on

    Yeah, some of the errors that get thrown seem like they could give you a little more to go on πŸ™‚

  3. will on

    great help man big thnks now i get the whole thing ^^. i’m gone use it to better the world.XD

  4. Alexander Mouton on

    Thanks! Problem solved πŸ™‚


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: