Yeah, that was the reason. I put super(x, y) after the loadGraphic() function. I made super(x, y) before loadGraphic() and that solved the problem.
Posts made by ItsAMeSammieO
Unresolved Identifier Error Won't Go Away
Hi all! I just picked up HaxeFlixel today and started the tutorial. I just got stuck with an unresolved error in MenuState.hx. No matter what I do I can't get rid of it. Here's my code: Any help would be appreciated!
EDIT: I figured it out (I always find out what I'm doing wrong right after I ask about it, it's weird.) I put the clickPlay function in the create function. I just put it outside the create function and into the class function and it works now.