just a quick one i would like to flip the image both vertical and horizontal.
my code below is only doing me vertically anything not right?
var matrix:Matrix = new Matrix();
matrix.scale(1,-1);
matrix.translate(0,bitmapData.height);
var flipHorizontalMatrix:Matrix = new Matrix();
flipHorizontalMatrix.scale(-1,1);
flipHorizontalMatrix.translate(bitmapData.width,0);
bitmapData.draw(loaderInfo.loader, matrix);
var image:Bitmap = new Bitmap(bitmapData);
image.width = 1024;
image.height = 702;
Bitmap(image).smoothing = true;
Why not try a simpler approach: