0 Replies Latest reply on Mar 17, 2009 2:26 PM by (Ryan_Frishberg)

    [svn:fx-trunk] 5367: The changes here are mostly fixing some sizing issues.

    Level 1
      Revision: 5367
      Author: rfrishbe@adobe.com
      Date: 2009-03-17 15:26:35 -0700 (Tue, 17 Mar 2009)

      Log Message:
      -----------
      The changes here are mostly fixing some sizing issues.

      For the FlashContainerPlaceholder, the first child is now MyFlexContentHolder, which extends mx.flash.FlexContentHolder but meets the invariant that it has 1 child and that child is FlexContentHolderThumbnail, which I?\226?\128?\153ve added as a swc to the project. I changed this by accident last time to refer to mx.flash.FlexContentHolder, when it should've referred to a concrete instance created by Flash from a swc. I also added a chrome of 151x151 to match the FlexContentHolderThumbnail since otherwise the container itself would have no chrome at all, and this let?\226?\128?\153s it size correctly.

      Also, for sizing, in a container, rather than sizing to the size of the chrome, I now size to the size of the FlexContentHolder thumbnail that all FlexContentHolder?\226?\128?\153s have. This means in ContainerMovieClip, I don?\226?\128?\153t need to override bounds anymore.

      ContainerMovieClip now implements IVisualElementContainer.

      Also, I fixed a resizing event bug in UIMovieClip where the resize event was getting dispatched more than once.

      QE Notes: -
      Doc Notes: -
      Bugs: SDK-19271, SDK-19788, SDK-19789
      Reviewer: Glenn
      tests: checkintests

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-19271
      http://bugs.adobe.com/jira/browse/SDK-19788
      http://bugs.adobe.com/jira/browse/SDK-19789

      Modified Paths:
      --------------
      flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/ContainerMovieClip.as
      flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.as
      flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as
      flex/sdk/trunk/frameworks/projects/utilities/build.xml
      flex/sdk/trunk/frameworks/projects/utilities/src/FlashComponentPlaceholder.as
      flex/sdk/trunk/frameworks/projects/utilities/src/FlashContainerPlaceholder.as

      Added Paths:
      -----------
      flex/sdk/trunk/frameworks/projects/utilities/libs/
      flex/sdk/trunk/frameworks/projects/utilities/libs/FlexContentHolderThumbnail.swc
      flex/sdk/trunk/frameworks/projects/utilities/src/MyFlexContentHolder.as