Running Pre-Build Command Line…
cmd: “C:\HaxeToolkit\haxe/haxelib” run lime build “app-client.xml” flash -release -Dfdb
H:/haxelibs/lib/swf/2,2,3/format/swf/utils/BitArray.hx:15: characters 18-26 : format.swf.utils.BitArray has no field get
H:/haxelibs/lib/swf/2,2,3/format/swf/utils/BitArray.hx:62: characters 4-12 : format.swf.utils.BitArray has no field set
H:/haxelibs/lib/swf/2,2,3/format/swf/utils/BitArray.hx:62: characters 28-36 : format.swf.utils.BitArray has no field get
H:/haxelibs/lib/swf/2,2,3/format/swf/utils/BitArray.hx:66: characters 4-12 : format.swf.utils.BitArray has no field set
H:/haxelibs/lib/swf/2,2,3/format/swf/utils/BitArray.hx:66: characters 28-36 : format.swf.utils.BitArray has no field get
H:/haxelibs/lib/swf/2,2,3/format/swf/utils/BitArray.hx:70: characters 4-12 : format.swf.utils.BitArray has no field set
H:/haxelibs/lib/swf/2,2,3/format/swf/utils/BitArray.hx:70: characters 28-36 : format.swf.utils.BitArray has no field get
H:/haxelibs/lib/swf/2,2,3/format/swf/SWFData.hx:310: characters 9-17 : format.swf.utils.BitArray has no field get
H:/haxelibs/lib/swf/2,2,3/format/swf/SWFData.hx:872: characters 17-25 : format.swf.utils.BitArray has no field get
Build halted with errors.
Done(1)
I have tried to build NyanCat, it worked, but kindly notice that my project complied successfully (with openfl 3.6.1 )before upgrading openfl to version 4
line that triggers it is
// using appendByte, you can play a video embeded as an asset
ns.appendBytes();
src/i/m/a/Main.hx:56: characters 16-32 : Not enough arguments, expected bytes:openfl.utils.ByteArray
Build halted with errors.
Done(1)
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field addRenderer needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field addWindow needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field registerModule needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field removeRenderer needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field removeWindow needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field setPreloader needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field unregisterModule needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field addRenderer needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field addWindow needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field registerModule needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field removeRenderer needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field removeWindow needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field setPreloader needed by lime.app.IModule is missing
C:\HaxeToolkit\haxe\lib\openfl/3,6,1/extern/openfl/display/Stage.hx:135: lines 135-630 : Field unregisterModule needed by lime.app.IModule is missing
May just not be related but found this really odd.
SWFLite works here with the latest everything – I don’t know why format.swf.utils.BitArray is getting imported in your project. I just made some fixes to help allow Flash to compile in case this is accidentally imported, but the format.swf classes are not intended for use on Flash
Thanks for clarification, the fix has worked , now I have to deal with openfl.display.Tilesheet is there a way to include this class in openFL 4 ? maybe external library?