For some reason, whenever I try and run my code with the Haxe compiler, it gives a message like “Type not found : openfl.display.Sprite”. If I remove the import statement for openfl.display.Sprite, the same thing happens with the next import, Sprite just happens to be first on my list. The strange part of this is the fact that I can still test my project from terminal, and it runs without issue (for example, I use terminal to type “openfl test neko” and it renders my stage). From what I’ve seen, everything else recognizes OpenFL, and it can run with no problems. I have no issue when I try importing a Haxe standard library, such as Std.int.
To troubleshoot, I’ve looked through the project.xml file, found the source of my OpenFL library, and tried reinstalling both Haxe and OpenFL. Nothing seems to be wrong in any of those fields.
As for my import code, I’m fairly certain it is all correct:
I’m just trying to get this solved so I can trace my code and track values as my code gets more and more complex. Thanks for any help.