this is not tested on html5 but tends to remove image artifacts by scaling the resolution slightly. perhaps it also fixes blurriness. FlxG.scaleMode = new RelativeScaleMode(0.99, 0.99);. this might also work. FlxG.camera.pixelPerfectRender = true;.