Flash in 2020 (and beyond)

Thank you Loudo, but no, I have project.xml.
Under haxedevelp, I have the error, but the same program under Flashdevelop works well! except I don’t have the image, I only have a black screen. and I checked the project parameters, they are identical in the 2 IDEs. I’m targeting lime, hacked SDK, etc.

the code is:

package;

import openfl.Assets;
import openfl.display.Bitmap;
import openfl.display.Sprite;

class Main extends Sprite
{

public function new ()
{

	super ();

	var bitmapData = Assets.getBitmapData ("assets/openfl.png");
	var bitmap = new Bitmap (bitmapData);
	addChild (bitmap);

	bitmap.x = (stage.stageWidth - bitmap.width) / 2;
	bitmap.y = (stage.stageHeight - bitmap.height) / 2;

}

}