Hello in one of reply to my question i had been asked if i run in legacy mode or hybrid, to be truthful i was not sure about what it mean until i read few thing about it, currently i had upgraded haxe with haxe upgrade so it should be newest version of all libraries i use (haxeflixel, openfl) so i tried to run my main project in haxeflixel in hybrid mode but it shows errors (by adding -Dhybrid to windows target) after reading on net and not founding any answer to it i decided to create new openfl project and tried to run both (with and without -Dhybrid) targets with empty projects and i’m still see an errors with Dhybrid although if it is a true what documentation said the openfl 3.9 should run by default in hybrid mode so i’m not understand something here.
So my question how to i check in what mode openfl compile since it’s probably somewhere overwrite the default openfl setting but since in empty projects i only have openfl and lime so i’m lost.
BTW. the errors running in hybrid mode are:
cmd: “i:\HaxeToolkit\haxe/haxelib” run lime build “project.xml” windows -Dhybrid -release -Dfdb
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/net/URLLoader.hx:274: characters 16-34 : openfl.utils.ByteArray has no field readFile
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/net/URLLoader.hx:353: characters 34-48 : openfl.utils.ByteArray has no field asString
Export/windows/cpp/haxe/DefaultAssetLibrary.hx:498: characters 7-27 : Type not found : lime.utils.ByteArray
I:/HaxeToolkit/haxe/lib/lime/2,9,0/lime/Assets.hx:37: lines 37-883 : Defined in this class
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/display/BitmapData.hx:556: characters 2-18 : openfl.utils.ByteArray has no field checkData
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/display/BitmapData.hx:595: characters 3-19 : openfl.utils.ByteArray has no field setLength (Suggestions: set_length, get_length)
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/display/BitmapData.hx:672: characters 3-19 : openfl.utils.ByteArray has no field setLength (Suggestions: set_length, get_length)
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/utils/ArrayBufferView.hx:68: characters 2-18 : openfl.utils.ByteArray has no field bigEndian
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/utils/ArrayBufferView.hx:71: characters 10-24 : openfl.utils.ByteArray has no field getData
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/utils/Float32Array.hx:119: characters 2-18 : openfl.utils.ByteArray has no field setLength (Suggestions: set_length, get_length)
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/gl/GL.hx:918: characters 81-101 : openfl.utils.ByteArray has no field getByteBuffer
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/_legacy/gl/GL.hx:918: characters 129-144 : openfl.utils.ByteArray has no field getStart
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:228: lines 228-777 : Field endian has different type than in openfl._legacy.utils.IDataOutput
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:228: lines 228-777 : openfl.utils.Endian should be String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:763: lines 763-767 : Field get_endian has different type than in openfl._legacy.utils.IDataOutput
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:763: lines 763-767 : Void -> openfl.utils.Endian should be Void -> String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:763: lines 763-767 : openfl.utils.Endian should be String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:770: lines 770-774 : Field set_endian has different type than in openfl._legacy.utils.IDataOutput
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:770: lines 770-774 : value : openfl.utils.Endian -> openfl.utils.Endian should be value : String -> String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:770: lines 770-774 : openfl.utils.Endian should be String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:605: lines 605-615 : Field writeBytes has different type than in openfl._legacy.utils.IDataOutput
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:605: lines 605-615 : bytes : openfl.utils.ByteArray -> ?offset : UInt -> ?length : UInt -> Void should be bytes : haxe.io.Bytes -> ?offset : Int -> ?length : Int -> Void
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:605: lines 605-615 : openfl.utils.ByteArray should be haxe.io.Bytes
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:228: lines 228-777 : Field endian has different type than in openfl._legacy.utils.IDataInput
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:228: lines 228-777 : openfl.utils.Endian should be String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:763: lines 763-767 : Field get_endian has different type than in openfl._legacy.utils.IDataInput
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:763: lines 763-767 : Void -> openfl.utils.Endian should be Void -> String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:763: lines 763-767 : openfl.utils.Endian should be String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:770: lines 770-774 : Field set_endian has different type than in openfl._legacy.utils.IDataInput
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:770: lines 770-774 : value : openfl.utils.Endian -> openfl.utils.Endian should be value : String -> String
I:/HaxeToolkit/haxe/lib/openfl/3,6,0/openfl/utils/ByteArray.hx:770: lines 770-774 : openfl.utils.Endian should be String
so what i see is that openfl try to use legacy version even if it has hybrid parameter.