• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

[svn:fx-4.x] 14996: Update for implementing ILayoutDirectionElement in BitmapAsset and SpriteAsset .

Adobe Employee ,
Mar 24, 2010 Mar 24, 2010

Copy link to clipboard

Copied

Revision: 14996

Revision: 14996

Author: klin@adobe.com

Date: 2010-03-24 11:49:15 -0700 (Wed, 24 Mar 2010)

Log Message:

***********

Update for implementing ILayoutDirectionElement in BitmapAsset and SpriteAsset. Instead of trying to handle transforming the assets directly, we leverage AdvancedLayoutFeatures to update the transform matrix of the assets. The main difference between the asset implementations and other ones is that width/height and scaleX/Y are tied to each other. The setters of each of those properties will set the backing value of their respective property. Another change is that we use the existence of layoutFeatures to keep track of whether the asset needs to de-mirror instead of using the mirror variable.

Also, I removed a FIXME from AdvancedLayoutFeatures. We already short-circuit this in the classes that own the AdvancedLayoutFeatures. I changed the FIXMEs for the x getters to TODOs.

QE notes: No

Doc notes: No

Bugs: SDK-25879, SDK-25894

Reviewer: Hans, Carol, Evtim

Tests run: checkintests

Is noteworthy for integration: No

Ticket Links:

***********

http://bugs.adobe.com/jira/browse/SDK-25879

http://bugs.adobe.com/jira/browse/SDK-25894

Modified Paths:

**************

flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as

flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/BitmapAsset.as

flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/SpriteAsset.as

flex/sdk/branches/4.x/frameworks/projects/framework/src/mx/core/UITextField.as

flex/sdk/branches/4.x/frameworks/projects/spark/src/mx/core/UIFTETextField.as

TOPICS
Commits

Views

465

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines