Copy link to clipboard
Copied
Revision: 12480
Revision: 12480
Author: klin@adobe.com
Date: 2009-12-03 18:07:06 -0800 (Thu, 03 Dec 2009)
Log Message:
***********
Fix for http://bugs.adobe.com/jira/browse/SDK-22602. initialWidth/initialHeight are set in the completeHandler to the loader's width and height. However, the loader's width and height in this case default to an arbitrary size rather than the expected content height and width. Therefore, we should use the contentLoaderInfo to get the correct width and height for the embedded swf instead of clobbering the content's size.
QE notes: No
Doc notes: No
Bugs: SDK-22602
Reviewer: Glenn
Tests run: checkintests, various mustella tests that embed swfs.
Is noteworthy for integration: Yes
Ticket Links:
***********
http://bugs.adobe.com/jira/browse/SDK-22602
http://bugs.adobe.com/jira/browse/SDK-22602
Modified Paths:
**************
flex/sdk/trunk/frameworks/projects/framework/src/mx/core/MovieClipLoaderAsset.as