views:

368

answers:

1
A: 

You didn't say what transformer.translateToZero() does but, are you sure the character is always aligned at (0, 0)?

I mean, you should pass bounds as BitmapData.draw()'s clipRect argument if you wanted it to copy the whole MovieClip.

MrKishi
translateToZero does this: _matrix.translate( -bounds.x, -bounds.y ); //_matrix = flash.geom.MatrixIt inverses the current x and y axis of the movieclip to zero. If i pass the bounds to the clipRect of the BitmapData.draw method 1/4 of the movieclip is drawn since the the movieclip is centered.
Fristi