rightArrowMov = new MovieClip();Its easy, load the bitmap, create the matrix, then apply the matrix to the MovieClip the bitmap was loaded into.
addChild(rightArrowMov);
rightArrowBit = new Bitmap(LoaderMax.getContent("arrow").rawContent.bitmapData);
flipHorizontalMatrix = new Matrix();
flipHorizontalMatrix.scale(-1,1);
rightArrowMov.transform.matrix = flipHorizontalMatrix;
rightArrowMov.addChild(rightArrowBit);
No comments:
Post a Comment