OpenFL filters on FlxSprites

how exactly do i apply a filter to a FlxSprite

because it doesnt have a variable like ‘filter’ on a normal openfl sprite

I don’t use HaxeFlixel, but it seems they have some demos on their website.

Filter example:

Source code:

it worked, thanks for the help