A couple pointers:
--you don't need to continually reattach a BitmapData, changes you
make directly to it are automatically rendered (it's not like
modifying and reassigning a filter to a movieclip)
--however, at times, you might want to remove the BitmapData from the
stage so that multiple changes applied to it aren't rendered blow-by-
blow (double buffering, or you can "lock" a rendered BitmapData in AS3)
--the transform matrix is limited for your larger purposes: you can
only scale and skew with the matrix, and tint and brighten/darken
with ColorTransform
--you're mostly going to be incrementing a filter property and
reassigning that filter to a movieclip (AS3: Bitmap) with a
bitmapData in it
--FlashGuru, Grant Skinner and especially Quasimodo have .fla and .as
examples available
--some useful correspondences: convolution filter-->sharpen, blur,
find edges; displacement filter-->liquify, distort; colorMatrix
filter-->contrast,brightness, tint, saturation;
BitmapData.paletteMap-->levels; BitmapData.merge-->blend modes;
channels-->BitmapData.copyChannel, BitmapData.copyPixels-->cut and
paste, masking; floodFill-->bucket tool, BitmapData.threshold-->color
range, BitmapData.noise-->noise, of course...
--filters don't actually change underlying BitmapData data, they are
like "adjustment layers" in Photoshop...if you want successive (and
irreversible, unless you leave bread crumbs of your own devising,
like a "History" panel) changes, then use BitmapData.applyFilter
Hope that helps
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com