Common ActionScript 3 Errors and Explanations
11 Jun
Posted by Jake Rutter as ActionScript 3.0, Flash
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.
Category ActionScript 3.0, Flash
You can follow any responses to this entry through the RSS 2.0 feed.
Curtis J. Morley
June 30th, 2009 at 8:38 pm
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
Mark
August 29th, 2009 at 9:37 am
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!
Zach
August 31st, 2009 at 7:14 pm
What if it says
1087: Syntax error: extra characters found after end of program.