Hi, "scale()" method takes multipliers as arguments, so 0 as "y" factor will set height to 0. You should use "scale(-1,1)".
thomas --- http://www.web-attitude.fr/ msn : [email protected] softphone : sip:[email protected] <sip%[email protected]> téléphone portable : +33601 822 056 2009/7/24 jomorano06 <[email protected]> > > > Hi y'all, > > I am trying to do a horizontal flip transformation of a png image as > follows: > > var flipMat:Matrix = img.transform.matrix; > flipMat.scale(-1, 0); > flipMat.translate(img.width, 0); > img.transform.matrix = flipMat; > > The idea is to scale by -1 and then move it to the right by the width. I > end up losing the image however. If I put a box around the image, it goes > blank, if I remove the box and just have the image, it is nowhere to be > seen. The image is an PNG and is loaded at the upper left corner of the > enveloping HBox. > > Any ideas what is going wrong here? > > >

