How to scale the image, whatever it takes 100% width and height proportions retained? In html and css is done simply width: 100%; height: auto And in the flash image leaves margins at the top and bottom, when scaled proportionally
Here is my code:
<s:Image id="bannerImage" width="100%" useHandCursor="true" fillMode="scale" verticalAlign="middle" scaleMode="letterbox" smooth="true" smoothingQuality="high" />
That's what turns around:

Red rectangles - the space that remains when scaled as get rid of them?