This content has been marked as final. Show 7 replies
if you needed to use an include statement, you would place the file name in quotes. but you don't need that and it's causing your problem.
Hope you won't mind reading it and helping me ;-)
that looks ok but attack() is not the same as Attack(), both those files need to be in the same directory and your class file needs to be named Mob.as.
Thanks to You I've noticed that my AS file is named mob not Mob, I find it quite uncomfortable that AS file name with class definition has to start with capital letter.
Thank You very much all is working correct now.
it doesn't need to start with an uppercase letter. it just needs to be exactly the same as your class name. and case matters.
Ah, ok. That makes sens. So once again thank you very much for all your support and help.
And once again take care, good luck.
you're welcome. (and thank you.)