# Simple game. Have One Error. Need Help

**URL:** https://forum.kirupa.com/t/simple-game-have-one-error-need-help/275568
**Category:** flash
**Created:** [November 16, 2008, 12:46am UTC](https://forum.kirupa.com/t/simple-game-have-one-error-need-help/275568 "2008-11-16T00:46:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cpetitclerc73](https://avatars.discourse-cdn.com/v4/letter/c/ec9cab/32.png) [@cpetitclerc73](https://forum.kirupa.com/u/cpetitclerc73)
#### Post date: [November 16, 2008, 12:46am UTC](https://forum.kirupa.com/t/simple-game-have-one-error-need-help/275568/1 "2008-11-16T00:46:33Z")

</div>

One More error and I can move on with my life. Any help would be greatly appreciated. Class Project with very simple graphics till I can get this working better. I removed the event Listeners  
stage.removeEventListener(Event.ENTER\_FRAME, gameLogic);  
stage.removeEventListener(KeyboardEvent.KEY\_DOWN, movePlayer);  
when the player touches the bad guys or collects all the coins  
but still get the function gameLogic testing one more time. Not sure why and its driving me up the wall.  
I updated this game and can be located at  
[www.excelhomes.biz/game.fla](http://www.excelhomes.biz/game.fla)  
error reads  
TypeError: Error #1009: Cannot access a property or method of a null object reference.  
at game\_fla::MainTimeline/gameLogic()  
Thanks
