Revision: 7692
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 6, 2008 14:20 by FlashJunior
Initial Code
public function flipHorizontal(dsp:DisplayObject):void { var matrix:Matrix = dsp.transform.matrix; matrix.a=-1; matrix.tx=dsp.width+dsp.x; dsp.transform.matrix=matrix; } public function flipVertical(dsp:DisplayObject):void { var matrix:Matrix = dsp.transform.matrix; matrix.d=-1; matrix.ty=dsp.height+dsp.y; dsp.transform.matrix=matrix; }
Initial URL
Initial Description
just nice.
Initial Title
Flip a DisplayObject Vertical or Horizontal
Initial Tags
Initial Language
ActionScript 3