Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Firefox 3.x
Language Found: English
Description
Steps to reproduce:
1. Load image to image component and set the width to be smaller than dimensions of content.
2. The height will be measured as if the image wasnt scaled.
I think that problem is in SWFLoader.
...
if (isContentLoaded)
...
And at the end of doScaleContent there should be another measure() call to recompute the width and height.
But maybe this is not the right solution.
Workaround (if any):
Manual computation of height in EVENT_COMPLETE handler.