# Error #1006 and i cant solve it :(

**URL:** <https://forum.kirupa.com/t/error-1006-and-i-cant-solve-it/302876>\
**Category:** programming\
**Created:** [January 9, 2010, 4:33am UTC](https://forum.kirupa.com/t/error-1006-and-i-cant-solve-it/302876 "2010-01-09T04:33:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crucifix](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@crucifix](https://forum.kirupa.com/u/crucifix)\
**Post date:** [January 9, 2010, 4:33am UTC](https://forum.kirupa.com/t/error-1006-and-i-cant-solve-it/302876/1 "2010-01-09T04:33:11Z")

</div>

I have been programming a game recently and decided to reorganize my as files so i could recode some base things with ease. Everything was going to plan and i re-packaged all the class’s and etc, but now when i try to run the game i get…

```auto

TypeError: Error #1006: fire is not a function.
at _weapon::Weapon/shooting()

```

Now i thought i was a pretty experiance coder but obviously not haha :p. As i cant seem to work out how to fix this despite a good few hours searching google and trying various things. The class’s function is accessable and worked before i rearranged but now it wont despite still loading and showing on the screen. :S :S. Please help im really confused and sort of in a hurry to get past this hurdle. Thanks Kirupa Buddys XD
