from documentation:
1) BitmapData.copyPixels().

(a) Bitmap as I understood is the target. It has public bitmapData which
copyPixels should be called. And the first parameter here is the source
BitmapData.
(b) I heven't tried that. But you can. ;) This way you can get answer to 2)
by yourself.

R.

On 4/19/07, Ronnie Liew <[EMAIL PROTECTED]> wrote:

  "A BitmapData object can be drawn to the screen by a Bitmap object in
one of two ways: by using the vector renderer as a fill-bitmap shape,
or by using a faster pixel-copying routine. The pixel-copying routine
is substantially faster than the vector renderer, but the Bitmap
object must meet certain conditions to use it:

-No stretching, rotation, or skewing can be applied to the Bitmap object.
-No color transform can be applied to the Bitmap object.
-No blend mode can be applied to the Bitmap object.
-No clipping can be done through mask layers or setMask() methods.
-The image itself cannot be a mask.
-The destination coordinates must be on a whole pixel boundary."

The above is from the help file.

1) the "pixel-copying routine" is referring to BitmapData.copyPixels() ?
2) What does it mean by "the Bitmap object must meet certain
conditions to use it" ?

(a) "the Bitmap object" is referring to the source bitmap for
copyPixels? or the target bitmap to be drawn?
(b) We cannot use copyPixels when the source bitmap has been scaled
etc ? Or after the copyPixel(), the target bitmap can no longer be
scaled etc? or just the speed would be affected?

Reply via email to