Can't set negative scale value after change Sprite.rotation

Hello.

I use openfl -> html5 and can’t set negative value after change “rotation” property of the Sprite.

sprite.rotation = 45;
sprite.scaleX = -1;
Log.trace(sprite.scaleX);

scaleX stays always positive.