Adobe Flash (CS 5) Error

4 posts

Flag Post

Hi, I’m doing a game for an assignment for college. Using Flash CS 5. I got this error

TypeError: Error #1009: Cannot access a property or method of a null object reference.
at code::Game1()

When I tried to go to the next page, I thought I linked correctly. Can anyone help me? Thanks

you can find the coding here

Flag Post

Debugging timeline code is difficult without line numbers. My guess is you’re trying to access something on the stage which doesn’t exist.

Check all the references and make sure they are exactly the same as the class field in the properties of the object you’re trying to reference. Case sensitivity matters. There’s probably a typo somewhere.

I’d start by making sure you have a button called btn_credtis

Flag Post


Flag Post

File → Publish Settings → Permit Debugging