I’m using them in this class and I’ve just noticed an error building for flash
com/akifox/lib/debug/Performance.hx:114: characters 18-33 : Class<openfl.Lib> has no field packageName
com/akifox/lib/debug/Performance.hx:114: characters 51-62 : Class<openfl.Lib> has no field version
com/akifox/lib/debug/Performance.hx:114: characters 72-83 : Class<openfl.Lib> has no field company
On the native target, there were changes (a long time ago) that made the new native window include options for the package, version and company name. These values are then read at runtime.
I think there is a need to get information about your project/project file at runtime, more than just these values. I have been wondering if there should be access to a Haxe-based interpretation of the entire project file – not just the meta package, version and company name.
This API (openfl.Lib.packageName, etc) seems sort of wrong to me, but I cannot think exactly what API should be used, and what it should be called.