Flash target not working: flixel.system._FlxPreloader::GraphicLogoLight(). Expected 0, got 2
Haxe noob here. I did set up haxeflixel on one machine, no issues at all. On the second one, something went wrong. Reinstalled everything twice, same issue.
tekmac:FlixelTut teki$ lime test flash
ArgumentError: Error #1063: Argument count mismatch on flixel.system._FlxPreloader::GraphicLogoLight(). Expected 0, got 2.
Works with neko.
The code looks good as far as I can tell. createBitmap in FlxBasePreloader.hx seems to be doing the right thing, but ends up with the wrong type. FlxPreloader.hx probably did not find light.png and the type of GraphicLogoLight is wrong somehow?
What Haxe version?
Can you reproduce this with Flixel demos too, or does it only happen in your project? Any custom compiler flags set, like DCE?
Managed to fix the issue! I somehow ended up with the wrong lib directory:
tekmac:FlixelTut teki$ cat ~/.haxelib
Uninstalled all the libs, then changed it to /usr/local/lib/haxe/lib, reinstall flixel, everything works now!