Pages

Tuesday, January 5, 2010

inaccessible problem

My long smooth programming has finally come to encountering a problem. Not a real AS3 problem to be exact, but a stupid mistake everyone could make.

When adding a new scene into a project, I forgotten to add a "stop();" code into the previous scene which I'was working on, and resulted in an output error, saying:

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at getOffMyTable_fla::MainTimeline/moveLight()
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at getOffMyTable_fla::MainTimeline/moveLight()


This error has been my No.1 enemy since a year ago, when I first started learning AS3. Better to avoid creating more of these errors in the future... Double check!

No comments: