So as with the new version of ActionScript there is a new level of complexity when it comes to creating ActionScript, but there seems to be better debugging too. The only barrier I have hit is the language sometimes just doesnt make sense, so I usually Google the errors and find great explanations.

This is just an ongoing list I will compile to help fellow AS3 developers to make sense of what the errors mean.

  • Error #1046: Type was not found or was not a compile-time constant:
    Curtis Morley has come up with a great explanation as to what this actually means, you can read about it here.
  • Error #1502: A script has executed for longer than the default timeout period of 15 seconds. Curtis Morley has also come up with another great explanation as to what this actually means, you can read about it here.
  • TypeError: Error #1009: Cannot access a property or method of a null object reference.Curtis Morley has also come up with another great explanation as to what this actually means, you can read about it here.

3 Responses to “Common ActionScript 3 Errors and Explanations”

3 Comments so far
  1. Jake,

    Thanks for the great post. I am glad to be able to help people solve their AS3 Errors. I will be posting more errors.

    Curtis J. MorleyC

  2. Thanks!

    Any ideas about this one?

    ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.

    I got this when trying to tab through input textfields on stage.
    I have got NO actionscript at all in the file concerning the textfields.

    Any ideas are welcome!

  3. What if it says

    1087: Syntax error: extra characters found after end of program.




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

By submitting a comment here you grant Jake Rutter – Front-End Developer and Designer, CSS, JavaScript and jQuery, PHP, Wordpress, Expression Engine, Magento a perpetual license to reproduce your words and name/web site in attribution. Inappropriate comments will be removed at admin's discretion.