Did you try it on the ready handler? What number do you expect to get?
I tried the ready event, But I still receive the same results.
I expect to get the new scaled width And height according to the maxHeight and MaxWidth.
I see that the image scaled to fi it But I can't recive the new size of it.
I am having exactly the same problem.
It may not get sized until UPDATE_COMPLETE after the COMPLETE event.
I added a FlexEvet.UPDATE_COMPLETE listener but still not working...I dont know what is the property I am seeking for so I trace all the above!
It seems we cant get a reference to the resized bitmapData from a BitmapImage..Is there a solution somewhere for this problem??
I have found the solution...After many hours..You add listener to the FlexEvent.UPDATE_COMPLETE and inside the handler you get:var scaledImageWidth:Number = image.displayObject.transform.pixelBounds.width;var scaledImageHeight:Number = image.displayObject.transform.pixelBounds.height;