eror 1009

Hello

When I start the game its works but get an error

TypeError: Error #1009: cannot access a property or method of a null object reference.

hand / insertToInventory [C:\Documents and Settings\frida\Desktop\BH6CB\Main.as:67])

to InventoryItem / mouseClickHandler [C:\Documents and Settings\frida\Desktop\BH6CB\InventoryItem.as:23])

what it means?

Thank you

1009 error indicates that one of the objects targeted by your code are out of reach.  This may mean that the object...

-is declared but not instantiated

n ' is not have an instance name (or the name of the instance is misspelled)

n ' is not in the frame where this code tries to talk to her

-is animated in place, but is not assigned the name of the instances of each keyframe for her

-is one of the two or more consecutive keyframes of the same objects without a name assigned in the image previous (s).

If you go to your section to publish the Flash settings and select permit debugging option, your error message should have a suite of line number the number of the frame that will help you to isolate the object that is involved.

Based on the error show you it seems that you already have this option is selected.  So what you need to do is to understand what object on line 67 of your Main.as file does not exist when this line of code is run, and why.

Tags: Adobe Animate

Similar Questions

Maybe you are looking for