swf icon indicating copy to clipboard operation
swf copied to clipboard

Incorrect capitalisation in package directory

Open erikwatson opened this issue 5 years ago • 0 comments

I was getting this error while building an openfl project using assets from an swf.

Export/html5/haxe/_generated/MC_AchievementPopUp.hx:7: characters 73-115 : Type not found : skyPandaTiles_fla.MC_AchievementPopUp2_433

When I searched inside the _generated folder, there was a subdirectory called SkyPandaTiles_fla and inside of it, the file MC_AchievementPopUp2_433 existed.

It took me a moment to realise that the directory name began with an uppercase S, which is incorrect, as a package name in Haxe must begin with a lowercase letter. When I changed this manually and re-tested the error went away.

erikwatson avatar Sep 19 '20 02:09 erikwatson