Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 4.5 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Browser: Safari
Language Found: English
Description
Steps to reproduce:
1.set maxHeight, maxWidth, and scaleContent = true on an Image.
2.put it in a container with width == image.maxWidth and height == image.maxHeight
3.FlexEvent.UPDATE_COMPLETE happens BEFORE Event.COMPLETE (this is understandable), but when the content is loaded, it takes an EXTRA FRAME to update the display list. It seems the scaleContent methods should run immediately on Complete.
Actual Results:
This causes the container to have to go through two validation passes, which causes the graphic to jolt to the new scaled image size.
Expected Results:
No jolting, with quicker scaleContent. This would allow the parent container to get the measuredWidth/measuredHeight of the image when it is sizing itself.
Workaround (if any):
Nothing