Error #1006 and i cant solve it :(

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…


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