1025: Cannot redefine a final method.

Description of Error

You have a method marked override, but the method you’re trying to override has been marked as final.

Read the rest of this entry »

No Comments

1020: Method marked override must override another method

Description of Error

You have a method marked override, but there’s no visible method with that name in the superclass.

Read the rest of this entry »

2 Comments

1023: Incompatible Override

Description of Error

When overriding a method (replacing the super class’s method with your own of the same name) you are required to match input parameters and types, return type, access specifier and namespace exactly. If you don’t you’ll get this error.

Read the rest of this entry »

No Comments

1010: The override attribute may be used only on class property definitions

Description of Error

You’re attempting to override a method or property that’s not at the class level. For instance, you will get this error if you attempt to override a function nested within a class method.

Read the rest of this entry »

3 Comments

1007 : A super statement can be used only inside class instance constructors.

Description of Error

A 1007 error means that you tried to call the super() method anywhere other than in your constructor.

Read the rest of this entry »

No Comments

1006: A super expression can be used only inside class instance methods.

Description of Error

You’re attempting to call super.someMethod() from a static method in a child class, or from outside the package definition.

Read the rest of this entry »

No Comments

1004: Namespace was not found or is not a compile-time constant.

Description of Error

The compiler can’t find the Namespace you’re referring to.

Read the rest of this entry »

No Comments

1003 : Access specifiers are not allowed with namespace attributes.

Description of Error

You get this error when you try to use both a custom namespace and an access modifier (”public”, “private”, “protected” or “internal”) in a class, method or property definition. “Static”, “Dynamic” and “Final” are still ok.

Read the rest of this entry »

No Comments

1000: Ambiguous Reference to …

Description of Error

This error comes up when a variable or function name could potentially be referring to more than one thing, and the compiler needs clarification as to which one you need. You may run into this if you are using namespaces, for instance – if you have two methods called method(), but one is in the foo namespace and one is in the bar namespace, then you need to specify the desired namespace when calling method().

Read the rest of this entry »

No Comments

1120: Access of undefined property…

Description of Error

This error means that you’re trying to act on a property (could be a variable, a movie clip, etc) that Flash doesn’t recognize because it doesn’t technically exist yet. The name of the property flash is trying to access is displayed in the error, so it’s usually pretty easy to figure out exactly what’s gone wrong.

Read the rest of this entry »

, ,

No Comments