-Rotating image
I used the Matrix class to rotate the image. The rotation works very well, but if I try to scroll, hide the image. How to solve this problem? How do I rotate a large image? Flex Code [Rotate]:
var tmpMatrix: Matrix = wImage.transform.matrix; var oHeight: Number = wImage.height / 2; var oWidth: Number = wImage.width / 2; '' tmpMatrix.translate (-oWidth, -oHeight); tmpMatrix.rotate (-Math.PI / 2); tmpMatrix.translate (oWidth, oHeight); wImage.transform.matrix = tmpMatrix;
Regards, Mykhaylo
0
source to share