Hai.
BitmapData(openfl.display.BitmapData) can not use BlendMode.
package;
import flash.display.BlendMode;
import openfl.geom.Matrix;
import openfl.display.Sprite;
import openfl.display.Bitmap;
import openfl.display.BitmapData;
import openfl.Assets;
class Main extends Sprite{
public function new () {
super();
openfl.Lib.current.stage.color = 0xFF808080;
var trans1:BitmapData = Assets.getBitmapData("assets/015.png");
var trans2:BitmapData = Assets.getBitmapData("assets/029.png");
// case Bitmap BlendMode
var obj:Bitmap = new Bitmap(trans2.clone());
obj.blendMode = BlendMode.MULTIPLY;
addChild(new Bitmap(trans1));
addChild(obj);
// case draw BlendMode
var obj2:BitmapData = trans1.clone();
obj2.draw(trans2, new Matrix(), null, BlendMode.MULTIPLY);
var obj2_Bitmap:Bitmap = new Bitmap(obj2);
obj2_Bitmap.x = obj.width;
addChild(obj2_Bitmap);
}
}
left is Object blendMode,
right is BitmapData.draw blendMode