For the class spark.components.Image
I can access the bitmapData object (readonly) (unscaled).
I know the scaling factors of the Image.
How can I get a scaled version of the bitmapData?
If you mean you need to make a new BitmapData that uses the one you get from Image instance to fit particular dimensions - use BitmapData.draw() method and Matrix index with Matrix.scale() called with desired values.
Here is a link to BitmapData.draw() documentation:
What I want is to have the data internally, not to draw it yet. I need to manipulate the bitmapData some more before I draw it. I've looked at the scaled Matrix. It was not obvious to me that it did that. Does it give me a new bitmapData that has been scaled?
draw() on BitmapData doesn't display anything per se. You have to place Bitmap containing this BitmapData on display list in order for it to be visible.
Yes, if you apply Matrix to new data - it will scale new BitmapData instance.
Europe, Middle East and Africa