TypeError: Error #1009 Actionscript 3 help.
Posted
by matt_t
on Stack Overflow
See other posts from Stack Overflow
or by matt_t
Published on 2010-05-21T02:13:54Z
Indexed on
2010/05/21
2:20 UTC
Read the original article
Hit count: 220
actionscript-3
I am extremely frustrated. I'm following a tutorial and mimicing it on my own. I've been able to sort out most of the errors so far but this one has me stumped. I have tried replacing all of the class files with the tutorial specimen ones but i still get the error.
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at com.senocular.utils::KeyObject/construct()
at com.senocular.utils::KeyObject()
at com.asgamer.basics1::Ship()
at com.asgamer.basics1::Engine()
Now, not really understanding the error properly I paste dumped the files online for you to look at.
Ship class: textbin.com/78z35
Engine class: textbin.com/32b24
KeyObject class: textbin.com/p2725
As the error still occured when using the specimen class files I really have no idea where to begin. I will gladly try out any suggestions (although later on, i'm tired now ;).
Thanks very much.
© Stack Overflow or respective owner