Transferred from the Adobe Open Source Subversion Repository

Revision: 18514
Author:   dthakkar@adobe.com
Date:     2010-11-10T00:38:39.528767Z

Log Message:
-----------
QE notes: Some testcases in spark formatters are failing because of behavior change. These testcases are excluded prior to submission. Globalization QE team has been informed about this.
Doc notes: Spark Formatters ASDocs are updated and also added samples for the spark formatters.
Bugs: SDK-28145, SDK-28345 ,SDK-28320 ,SDK-28287,SDK-28314
Reviewer: Gordon , Craig, Masa, Xie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/MatchingCollatorExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/NumberValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/CurrencyValidatorTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/NumberValidatorTests.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/views/CurrencyValidatorTests.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample1.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample1.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/bundles/en_US/validators.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/SortingCollatorExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/globalization/StringToolsExample.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/IValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/BasicTests-config.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationValidatorBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/NumberFormatterExample2.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/CurrencyFormatterExample2.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/validators/Validator.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/formatters/IFormatter.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/formatters/examples/DateTimeFormatterExample.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberFormatterBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1262446 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as
+++ frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as
@@ -34,10 +34,10 @@
  *  this object also implements the IFlexModule and
  *  IMXMLObject interfaces. The IMXMLObject
  *  interface contains an initialized method that is called
- *  when the class is instantiated using an mxml declaration.
+ *  when the class is instantiated using an MXML declaration.
  *  The  implementation of the initialized method provided
  *  by this base class will add the class instance to the document object
- *  that contains the mxml declaration. For more details see the description
+ *  that contains the MXML declaration. For more details, see the description
  *  of the initilized method.

  *
  *  @see mx.core.styles.IAdvancedStyleClient
@@ -58,9 +58,9 @@
      *  Constructor.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function AdvancedStyleClient()
     {
@@ -94,8 +94,8 @@
      *  The name of the component class.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get className():String
@@ -114,8 +114,8 @@
      *  style client instance.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get inheritingStyles():Object
@@ -153,9 +153,9 @@
      *  Developers typically never need to access this property directly.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get nonInheritingStyles():Object
     {
@@ -181,8 +181,8 @@
      *  @see mx.styles.CSSStyleDeclaration
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     private var _styleDeclarationVar:CSSStyleDeclaration;
@@ -212,9 +212,9 @@
      *  Returns the StyleManager instance used by this component.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get styleManager():IStyleManager2
     {
@@ -238,45 +238,11 @@
     [Bindable(style="true")]

     /**
-     *  Gets a style property that has been set anywhere in this
-     *  component's style lookup chain.
-     *
-     *
This same method is used to get any kind of style property,
-     *  so the value returned may be a Boolean, String, Number, int,
-     *  uint (for an RGB color), Class (for a skin), or any kind of object.
-     *  Therefore the return type is specified as ~~.

-     *
-     *
If you are getting a particular style property, you will
-     *  know its type and will often want to store the result in a
-     *  variable of that type. You can use either the as
-     *  operator or coercion to do this. For example:

-     *
-     *

-     *  var backgroundColor:uint = getStyle("backgroundColor") as int;
-     *
-     *  or
-     *
-     *  var backgroundColor:uint = int(getStyle("backgroundColor"));
-     *

-     *
-     *
If the style property has not been set anywhere in the
-     *  style lookup chain, the value returned by the
-     *  getStyle() method is undefined.
-     *  Note that undefined is a special value that is
-     *  not the same as false, the empty String
-     * (""),NaN, 0, or null.
-     *  No valid style value is ever undefined.
-     *  You can use the static method
-     *  StyleManager.isValidStyleValue()
-     *  to test whether the value was set.

-     *
-     *  @param styleProp Name of the style property.
-     *
-     *  @return Style value.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function getStyle(styleProp:String):*
@@ -296,21 +262,11 @@
     }

     /**
-     *  Sets a style property on this component instance.
-     *
-     *
This can override a style that was set globally.

-     *
-     *
Calling the setStyle() method can result in decreased
-     *  performance.
-     *  Use it only when necessary.

-     *
-     *  @param styleProp Name of the style property.
-     *
-     *  @param newValue New value for the style.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function setStyle(styleProp:String, newValue:*):void
@@ -331,16 +287,11 @@
     }

     /**
-     *  Deletes a style property from this component instance.
-     *
-     *
This does not necessarily cause the getStyle()
-     *  method to return undefined.

-     *
-     *  @param styleProp Name of the style property.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function clearStyle(styleProp:String):void
@@ -349,20 +300,11 @@
     }

     /**
-     *  Returns an Array of CSSStyleDeclaration objects for the type
-     *  selector that applies to this component, or null
-     *  if none exist.
-     *
-     *
For example, suppose that component MyButton extends Button.
-     *  This method first looks for a MyButton selector; then, it looks
-     *  for a Button type selector; finally, it looks for a UIComponent
-     *  type selector.

-     *
-     *  @return Array of CSSStyleDeclaration objects.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function getClassStyleDeclarations():Array
@@ -382,8 +324,8 @@
      *  children's children.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function notifyStyleChangeInChildren(
@@ -399,8 +341,8 @@
      *  @param recursive Regenerate the proto chains of the children.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function regenerateStyleCache(recursive:Boolean):void
@@ -415,8 +357,8 @@
      *  @param effects An Array of Strings of effect names.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function registerEffects(effects:Array /* of String */):void
@@ -442,9 +384,9 @@
      *  style client have changed.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function styleChanged(styleProp:String):void
     {
@@ -470,24 +412,11 @@
     [Inspectable(category="General")]

     /**
-     *  The class style used by this component. This can be a String,
-     *  CSSStyleDeclaration or an IStyleClient.
-     *
-     *
If this is a String, it is the name of one or more whitespace
-     *  delimited class declarations in an <fx:Style> tag
-     *  or CSS file. You do not include the period in the
-     *  styleName. For example, if you have a class style named
-     *  ".bigText", set the styleName property to
-     *  "bigText" (no period).

-     *
-     *
If this is an IStyleClient, all styles in the
-     *  styleName object are used by this instance.

-     *
-     *  @default null
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get styleName():Object
@@ -529,19 +458,11 @@
     private var _id:String;

     /**
-     *  ID of the component. This value becomes the instance name of the
-     *  object and should not contain any white space or special characters.
-     *  Each component throughout an application should have a unique id.
-     *
-     *
If your application is going to be tested by third party tools,
-     *  give each component a meaningful id. Testing tools use ids to
-     *  represent the control in their scripts and having a meaningful
-     *  name can make scripts more readable. For example, set the
-     *  value of a button to submit_button rather than b1 or button1.

-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get id():String
@@ -563,8 +484,8 @@
      *  advanced style declarations.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get styleParent():IAdvancedStyleClient
@@ -578,22 +499,11 @@
     }

     /**
-     *  Flex calls the stylesInitialized() method when
-     *  the styles for a component are first initialized.
-     *
-     *
This is an advanced method that you might override
-     *  when creating a subclass of UIComponent. Flex guarantees that
-     *  your component's styles are fully initialized before
-     *  the first time your component's measure and
-     *  updateDisplayList methods are called.  For most
-     *  components, that is sufficient. But if you need early access to
-     *  your style values, you can override the stylesInitialized() function
-     *  to access style properties as soon as they are initialized the first
-     *  time.

-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function stylesInitialized():void
@@ -604,8 +514,8 @@
      *  @inheritDoc
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */

@@ -618,8 +528,8 @@
      *  @inheritDoc
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */

@@ -646,8 +556,8 @@
      *  non-visual style client instance.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function get moduleFactory():IFlexModuleFactory
@@ -672,9 +582,9 @@
      *  component properties specified on the MXML tag have
      *  been initialized.
      *

-     *  If the document that created this object is a UIComponent,
+     *  If the document that created this object is a UIComponent,
      *  (e.g. Application, Module, etc.) then the UIComponent's
-     *  addStyleClient method will be called to add this object to the
+     *  addStyleClient method will be called to add this object to the
      *  UIComponent's list of non-visual style clients. This allows the
      *  object to inherit styles from the document.

      *
@@ -682,8 +592,8 @@
      *  @param id The identifier used by the document object to refer to
      *  this object.
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
     public function initialized(document:Object, id:String):void


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1269139 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/controls/treeClasses/TreeListData.as
+++ frameworks/projects/mx/src/mx/controls/treeClasses/TreeListData.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.controls.treeClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1270021 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/styles/metadata/LeadingStyle.as
+++ frameworks/projects/mx/src/mx/styles/metadata/LeadingStyle.as
@@ -1,2 +1,23 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

+/**
+ *  Additional vertical space between lines of text.
+ *
+ *
The default value is 2.

+ *
The default value for the ComboBox control is 0.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
 [Style(name="leading", type="Number", format="Length", inherit="yes")]


Transferred from the Adobe Open Source Subversion Repository

Revision: 16937
Author:   smgilson@adobe.com
Date:     2010-07-15T16:35:17.543693Z

Log Message:
-----------
Add ASDoc comment about using component in an item renderer

QE notes:
Doc notes:
Bugs:
Reviewer:
Tests run: checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButtonGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Image.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1279941 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/RadioButton.as
+++ frameworks/projects/spark/src/spark/components/RadioButton.as
@@ -70,6 +70,12 @@
  *  The user selects only one member of the group at a time.
  *  Selecting an unselected group member deselects the currently selected
  *  RadioButton component within that group.

+ *
+ *
To use this component in a list-based component, such as a List or DataGrid,
+ *  create an item renderer.
+ *  For information about creating an item renderer, see
+ *
+ *  Custom Spark item renderers.

  *
  *
The RadioButton component has the following default characteristics:

  *


Solved some bugs in roles and users views

git-svn-id: 27326a786375daad9d33dc990c6f272e4c8f567c@1591 fda5f131-174c-0410-8613-e0905860106b

--- org.openwms/trunk/org.openwms.core/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/model/PreferencesModel.as
+++ org.openwms/trunk/org.openwms.core/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/model/PreferencesModel.as
@@ -129,6 +129,7 @@
             } else if (preference is UserPreference) {
                 userPrefs[(preference as UserPreference).createCKey()] = preference;
             }
+            dispatchEvent(new PropertyEvent(PropertyEvent.PREFERENCE_MODEL_CHANGED));
         }

         /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1260837 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/formatters/CurrencyFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/CurrencyFormatter.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
 //
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 23246
Author:   cframpto@adobe.com
Date:     2011-12-20T17:40:08.069454Z

Log Message:
-----------
Rollback 23243.  If comment followed header it was stripped as well.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1253143 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/effects/SeriesSlide.as
+++ frameworks/projects/charts/src/mx/charts/effects/SeriesSlide.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.charts.effects
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1253455 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/styles/metadata/TextStyles.as
+++ frameworks/projects/charts/src/mx/styles/metadata/TextStyles.as
@@ -1,24 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////
-
-/**
- *  Color of text in the component, including the component label.
- *
- *  @default 0x0B333C
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
+
 [Style(name="color", type="uint", format="Color", inherit="yes")]

 /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3647
Author:   mhorn@adobe.com
Date:     2008-10-15T15:08:06.759591Z

Log Message:
-----------
asdoc updates

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1261044 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/graphics/GradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/GradientStroke.as
@@ -2,9 +2,76 @@
 {
 import mx.core.mx_internal;

+/**
+ *  The GradientStroke class lets you specify a gradient filled stroke.
+ *  You use the GradientStroke class, along with the GradientEntry class,
+ *  to define a gradient stroke.
+ *
+ *  @see mx.graphics.Stroke
+ *  @see mx.graphics.GradientEntry
+ *  @see flash.display.Graphics
+ */
 public class GradientStroke extends GradientBase
 {
-	public function GradientStroke(weight:Number = 0,
+    /**
+     *  Constructor.
+     *
+     *  @param weight Specifies the line weight, in pixels.
+     *  This parameter is optional,
+     *  with a default value of 0.
+     *
+     *  @param pixelHinting A Boolean value that specifies
+     *  whether to hint strokes to full pixels.
+     *  This affects both the position of anchors of a curve
+     *  and the line stroke size itself.
+     *  With pixelHinting set to true,
+     *  Flash Player and AIR hint line widths to full pixel widths.
+     *  With pixelHinting set to false,
+     *  disjoints can  appear for curves and straight lines.
+     *  This parameter is optional,
+     *  with a default value of false.
+     *
+     *  @param scaleMode A value from the LineScaleMode class
+     *  that specifies which scale mode to use.
+     *  Valid values are LineScaleMode.HORIZONTAL,
+     *  LineScaleMode.NONE, LineScaleMode.NORMAL,
+     *  and LineScaleMode.VERTICAL.
+     *  This parameter is optional,
+     *  with a default value of LineScaleMode.NONE.
+     *
+     *  @param caps A value from the CapsStyle class
+     *  that specifies the type of caps at the end of lines.
+     *  Valid values are CapsStyle.NONE,
+     *  CapsStyle.ROUND, and CapsStyle.SQUARE.
+     *  A null value is equivalent to
+     *  CapsStyle.ROUND.
+     *  This parameter is optional,
+     *  with a default value of null.
+     *
+     *  @param joints A value from the JointStyle class
+     *  that specifies the type of joint appearance used at angles.
+     *  Valid values are JointStyle.BEVEL,
+     *  JointStyle.MITER, and JointStyle.ROUND.
+     *  A null value is equivalent to
+     *  JoinStyle.ROUND.
+     *  This parameter is optional,
+     *  with a default value of null.
+     *
+     *  @param miterLimit A number that indicates the limit
+     *  at which a miter is cut off.
+     *  Valid values range from 1 to 255
+     *  (and values outside of that range are rounded to 1 or 255).
+     *  This value is only used if the jointStyle property
+     *  is set to miter.
+     *  The miterLimit value represents the length that a miter
+     *  can extend beyond the point at which the lines meet to form a joint.
+     *  The value expresses a factor of the line thickness.
+     *  For example, with a miterLimit factor of 2.5 and a
+     *  thickness of 10 pixels, the miter is cut off at 25 pixels.
+     *  This parameter is optional,
+     *  with a default value of 0.
+     */
+    public function GradientStroke(weight:Number = 0,
                                      pixelHinting:Boolean = false,
                                      scaleMode:String = "normal",
                                      caps:String = null,
@@ -20,8 +87,8 @@
         this.joints = joints;
         this.miterLimit = miterLimit;
     }
-
-	//----------------------------------
+
+    //----------------------------------
     //  caps
     //----------------------------------

@@ -64,8 +131,8 @@
                                 "caps", oldValue, value);
         }
     }
-
-	//----------------------------------
+
+    //----------------------------------
     //  joints
     //----------------------------------

@@ -302,7 +369,7 @@
                                 "weight", oldValue, value);
         }
     }
-
+
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 20839
Author:   mhorn@adobe.com
Date:     2011-03-14T14:04:15.007456Z

Log Message:
-----------
merge 20790 and 20805

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionViewCursor.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1261057 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/graphics/GradientStroke.as
+++ frameworks/projects/framework/src/mx/graphics/GradientStroke.as
@@ -450,6 +450,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 4
      */
     public function createGraphicsStroke(targetBounds:Rectangle, targetOrigin:Point):GraphicsStroke
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

Modified Paths:
--------------
2361 paths were modified

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1261105 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/graphics/LinearGradient.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradient.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.graphics
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12016
Author:   egeorgie@adobe.com
Date:     2009-11-19T22:37:57.656940Z

Log Message:
-----------
Fix MXMLC compilers don't honor bitmapfill x,y translation http://bugs.adobe.com/jira/browse/SDK-24272

Problems fixed:
1. BitmapFill - Explicit matrix was offset relative to the natural bounds top left, should ignore natural bounds.
2. BitmapFill - Explicit x/y overrides were applied relative to the natural bounds top-left, should be applied relative to (0,0) - test case in this bug.
3. BitmapFill - Explicit scaleX/scaleY were always combined with the default fill transform (problem for fillMode="scale").
4. Path - Stroke bounds for path only were wrong - the fill bounds were used instead.

QE notes: Add additional tests for problems described above.
Doc notes: None
Bugs: SDK-24272
Reviewer: Jason
Tests run: checkintests + mustella cyclone
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1261103 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/graphics/LinearGradient.as
+++ frameworks/projects/framework/src/mx/graphics/LinearGradient.as
@@ -180,7 +180,7 @@
      */
     public function get scaleX():Number
     {
-        return _scaleX;
+        return compoundTransform ? compoundTransform.scaleX : _scaleX;
     }

     /**
@@ -188,10 +188,20 @@
      */
     public function set scaleX(value:Number):void
     {
-        var oldValue:Number = _scaleX;
-        if (value != oldValue && !compoundTransform)
+        if (value != scaleX)
         {
-            _scaleX = value;
+            var oldValue:Number = scaleX;
+
+            if (compoundTransform)
+            {
+                // If we have a compoundTransform, only non-NaN values are allowed
+                if (!isNaN(value))
+                    compoundTransform.scaleX = value;
+            }
+            else
+            {
+                _scaleX = value;
+            }
             dispatchGradientChangedEvent("scaleX", oldValue, value);
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7862
Author:   jszeto@adobe.com
Date:     2009-06-15T22:06:23.250745Z

Log Message:
-----------
GraphicElement PARB Changes

mx.core.AdvancedLayoutFeatures
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets

mx.core.IVisualElement
•	Rename layer -> depth

mx.core.UIComponent
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

mx.graphics.GradientBase
•	Remove scaleX

mx.graphics.GradientStroke
•	Add apply(g:Graphics, bounds:Rectangle)

mx.graphics.IStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.LinearGradient
•	Add scaleX

mx.graphics.LinearGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.RadialGradient
•	Add scaleX

mx.graphics.RadialGradientStroke
•	Add scaleX
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.graphics.SolidColorStroke
•	Remove draw
•	Change apply(g:Graphics) -> apply(g:Graphics, bounds:Rectangle)

mx.flash.UIMovieClip
•	Rename offsets -> postLayoutTransformOffsets
•	Rename layer -> depth

spark.components.PopUpAnchor
•	Change popUp type from UIComponent -> IFlexDisplayObject
•	Rename positionPopUp -> calculatePopUpPosition
•	Rename autoSizePopUpWidth -> popUpWidthMatchesAnchorWidth
•	Rename autoSizePopUpHeight -> popUpHeightMatchesAnchorHeight

spark.core.RelativePosition
•	Rename and move spark.core.RelativePosition -> spark.components.PopUpPosition
•	Rename EXACT -> TOP_LEFT (topLeft)

spark.core.SpriteVisualElement
•	Rename layer -> depth
•	Remove computeMatrix

spark.primitives.BitmapImage
•	Change _NORMAL_UINT from protected -> private
•	Change _REPEAT_UINT from protected -> private
•	Change _SCALE_UINT from protected -> private
•	Change resizeModeToUINT from protected -> private
•	Rename drawElement -> draw

spark.primitives.Line
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw

spark.primitives.Path
•	Change graphicsPath fro protected -> mx_internal
•	Rename skipMeasure -> canSkipMeasurement
•	Rename drawElement -> draw
•	Rename renderGraphicsAtScale -> generateGraphicsPath
•	Change generateGraphicsPath from protected -> mx_internal
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing

spark.primitives.Rect
•	Rename drawElement -> draw

spark.primitives.supportClasses.GraphicElement
•	Rename layer -> depth
•	Rename offsets -> postLayoutTransformOffsets
•	Rename getBitmapData -> captureBitmapData
•	Rename notifyElementLayerChanged -> invalidateDisplayObjectSharing
•	Rename skipMeasure -> canSkipMeasurement
•	Add protected hasComplexLayoutMatrix:Boolean getter
•	Remove target
•	Remove computeMatrix
•	Change DEFAULT_MAX_WIDTH from public -> private
•	Change DEFAULT_MAX_HEIGHT from public -> private
•	Change DEFAULT_MIN_WIDTH from public -> private
•	Change DEFAULT_MIN_HEIGHT from public -> private
•	Change allocateLayoutFeatures from protected -> mx_internal
•	Change invalidateTransform from protected -> private
•	Change captureBitmapData from public -> mx_internal
•	Change applyMaskType from protected -> mx_internal
•	Change dispatchPropertyChangeEvent from protected -> private
•	Change applyComputedTransform from protected -> mx_internal
•	Change filterChangedHandler from protected -> private

spark.supportClasses.StrokedElement
•	Rename drawElement -> draw
•	Remove getStroke()
•	Add getStrokeExtents() override

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/BitmapImage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/TransformOffsets.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Line.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/GradientBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IFill.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColorStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/SolidColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/RadialGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/IStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradientStroke.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/LinearGradient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1261142 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/graphics/RadialGradient.as
+++ frameworks/projects/framework/src/mx/graphics/RadialGradient.as
@@ -217,8 +217,44 @@
      */
     override public function set matrix(value:Matrix):void
     {
+    	scaleX = NaN;
     	scaleY = NaN;
     	super.matrix = value;
+    }
+
+    //----------------------------------
+    //  scaleX
+    //----------------------------------
+
+    private var _scaleX:Number;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General")]
+
+    /**
+     *  The horizontal scale of the gradient transform, which defines the width of the (unrotated) gradient
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get scaleX():Number
+    {
+        return _scaleX;
+    }
+
+    /**
+     *  @private
+     */
+    public function set scaleX(value:Number):void
+    {
+        var oldValue:Number = _scaleX;
+        if (value != oldValue && !compoundTransform)
+        {
+            _scaleX = value;
+            dispatchGradientChangedEvent("scaleX", oldValue, value);
+        }
     }

     //----------------------------------
@@ -280,12 +316,12 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function begin(target:Graphics, rc:Rectangle):void
-    {
-    	var w:Number = !isNaN(scaleX) ? scaleX : rc.width;
-    	var h:Number = !isNaN(scaleY) ? scaleY : rc.height;
-		var regX:Number = rc.left + (!isNaN(x) ? x : rc.width / 2);
-		var regY:Number = rc.top + (!isNaN(y) ? y : rc.height / 2);
+    public function begin(target:Graphics, bounds:Rectangle):void
+    {
+    	var w:Number = !isNaN(scaleX) ? scaleX : bounds.width;
+    	var h:Number = !isNaN(scaleY) ? scaleY : bounds.height;
+		var regX:Number = bounds.left + (!isNaN(x) ? x : bounds.width / 2);
+		var regY:Number = bounds.top + (!isNaN(y) ? y : bounds.height / 2);

 		commonMatrix.identity();

@@ -297,8 +333,8 @@
 		}
 	 	else
 	 	{
-	 		commonMatrix.scale (rc.width / GRADIENT_DIMENSION, rc.height / GRADIENT_DIMENSION);
-	 		commonMatrix.translate(rc.left, rc.top);
+	 		commonMatrix.scale (bounds.width / GRADIENT_DIMENSION, bounds.height / GRADIENT_DIMENSION);
+	 		commonMatrix.translate(bounds.left, bounds.top);
 	 		commonMatrix.concat(compoundTransform.matrix);
 	 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 20906
Author:   klin@adobe.com
Date:     2011-03-17T18:59:36.878955Z

Log Message:
-----------
Merging hero_private revision 20905 to trunk.

Fix ASDoc for isProxy in ISystemManager.

QE notes: N/A
Doc notes: N/A
Bugs: SDK-29941
Reviewer: N/A
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1261663 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/managers/ISystemManager.as
+++ frameworks/projects/framework/src/mx/managers/ISystemManager.as
@@ -166,7 +166,7 @@
     //----------------------------------

 	/**
-	 *  The LoaderInfo object that represents information about the application.
+	 *  True if the ISystemManager is a proxy and not a root class.
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 12610
Author:   dloverin@adobe.com
Date:     2009-12-07T18:08:38.995213Z

Log Message:
-----------
Fix RTE in EmbeddedFontRegistry.

projects/framework/src/mx/managers/SystemManager.as
•         I added back the "mx.styles::IStyleManager" interface. I investigated the file history and found the code was removed during frame1 cleanup.

projects/framework/src/mx/core/EmbeddedFontRegistry.as
•         Fix RTE by only getting a ResourceManager instance when it is needed. The RTE happened when an RSL with embedded fonts, loading in frame1 created the registry. The ResourceManager is not ready at this point.

projects/framework/src/mx/styles/IStyleManager2.as
projects/framework/src/mx/styles/StyleManagerImpl.as
•         Removed parent setter. PARB approved.
•         Removed hasEventListener() check in dispatchInheritingStylesChangeEvent(). Each call to dispatchInheritingStylesChangeEvent() was already guarded with a listener check.

QE notes: None.
Doc notes: None.
Bugs: SDK-24467
Reviewer: Alex, Corey
Tests run: checkintests, PerModuleStyles
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1262624 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
+++ frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as
@@ -118,10 +118,10 @@
         {
             var request:Request = new Request(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST);
             DisplayObject(moduleFactory).dispatchEvent(request);
-            var moduleFactory:IFlexModuleFactory = request.value as IFlexModuleFactory;
-            if (moduleFactory)
+            var parentModuleFactory:IFlexModuleFactory = request.value as IFlexModuleFactory;
+            if (parentModuleFactory)
             {
-                parent = IStyleManager2(moduleFactory.
+                _parent = IStyleManager2(parentModuleFactory.
                                          getImplementation("mx.styles::IStyleManager2"));
                 if (_parent is IEventDispatcher)
                 {
@@ -399,14 +399,6 @@
         return _parent;
     }

-    /**
-     *  @private
-     */
-    public function set parent(parent:IStyleManager2):void
-    {
-        _parent = parent;
-    }
-
     //----------------------------------
     //  qualifiedTypeSelectors
     //----------------------------------
@@ -1603,12 +1595,9 @@
      */
     private function dispatchInheritingStylesChangeEvent():void
     {
-        if (hasEventListener(FlexChangeEvent.STYLE_MANAGER_CHANGE))
-        {
-            var event:Event = new FlexChangeEvent(FlexChangeEvent.STYLE_MANAGER_CHANGE,
-                false, false, {property: "inheritingStyles"});
-            dispatchEvent(event);
-        }
+        var event:Event = new FlexChangeEvent(FlexChangeEvent.STYLE_MANAGER_CHANGE,
+            false, false, {property: "inheritingStyles"});
+        dispatchEvent(event);
     }

     //--------------------------------------------------------------------------


Now, if any ancestor chain of BusyIndicator becomes visible, it will start spinning. Fixes bug https://issues.apache.org/jira/browse/FLEX-34701

--- frameworks/projects/spark/src/spark/components/BusyIndicator.as
+++ frameworks/projects/spark/src/spark/components/BusyIndicator.as
@@ -24,6 +24,7 @@
 	import mx.core.IUIComponent;
 	import mx.core.IVisualElement;
 	import mx.events.FlexEvent;
+	import mx.events.PropertyChangeEvent;
 	import mx.states.State;

 	import spark.components.supportClasses.SkinnableComponent;
@@ -146,10 +147,48 @@
 			];
 		}

+		override protected function commitProperties():void
+		{
+			if (effectiveVisibilityChanged)
+			{
+				// if visibility changed, re-compute them here
+				computeEffectiveVisibility();
+
+				if (canRotate())
+				{
+					currentState = "rotatingState";
+				}
+				else
+				{
+					currentState = "notRotatingState";
+				}
+
+				invalidateSkinState();
+				effectiveVisibilityChanged = false;
+			}
+			super.commitProperties();
+		}
+
 		override protected function getCurrentSkinState():String
 		{
 			return currentState;
-		}
+		}
+
+		/**
+		 *  @private
+		 *  Override so we know when visibility is set. The initialized
+		 *  property calls setVisible() with noEvent == true
+		 *  so we wouldn't get a visibility event if we just listened
+		 *  for events.
+		 */
+		override public function setVisible(value:Boolean,
+											noEvent:Boolean = false):void
+		{
+			super.setVisible(value, noEvent);
+
+			effectiveVisibilityChanged = true;
+			invalidateProperties();
+		}

 		private function addedToStageHandler(event:Event):void
 		{
@@ -160,8 +199,8 @@
 			if (canRotate())
 				currentState = "rotatingState";

+			invalidateSkinState();
 			addVisibilityListeners();
-			invalidateSkinState();
 		}

 		private function removedFromStageHandler(event:Event):void
@@ -274,6 +313,17 @@
 			invalidateProperties();
 		}

+		override protected function layer_PropertyChange(event:PropertyChangeEvent):void
+		{
+			super.layer_PropertyChange(event);
+
+			if (event.property == "effectiveVisibility")
+			{
+				effectiveVisibilityChanged = true;
+				invalidateProperties();
+			}
+		}
+

 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6089
Author:   gosmith@adobe.com
Date:     2009-04-09T20:46:20.749795Z

Log Message:
-----------
In SpriteVisualElement, the storage var for percentWidth and percentHeight is now mx_internal rather than private. This change is required by some new text-related base classes that are not yet checked in.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Ryan

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1283297 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -20,6 +20,7 @@
 import mx.core.FlexSprite;
 import mx.core.IInvalidating;
 import mx.core.IVisualElement;
+import mx.core.mx_internal;
 import mx.utils.MatrixUtil;

 /**
@@ -300,7 +301,7 @@
      *  @private
      *  Storage for the percentHeight property.
      */
-    private var _percentHeight:Number;
+    mx_internal var _percentHeight:Number;

     [Inspectable(category="General")]

@@ -309,7 +310,7 @@
      */
     public function get percentHeight():Number
     {
-        return _percentHeight;
+        return mx_internal::_percentHeight;
     }

     /**
@@ -317,10 +318,10 @@
      */
     public function set percentHeight(value:Number):void
     {
-        if (_percentHeight == value)
-            return;
-
-        _percentHeight = value;
+        if (mx_internal::_percentHeight == value)
+            return;
+
+        mx_internal::_percentHeight = value;
         invalidateParentSizeAndDisplayList();
     }

@@ -332,7 +333,7 @@
      *  @private
      *  Storage for the percentWidth property.
      */
-    private var _percentWidth:Number;
+    mx_internal var _percentWidth:Number;

     [Inspectable(category="General")]

@@ -341,7 +342,7 @@
      */
     public function get percentWidth():Number
     {
-        return _percentWidth;
+        return mx_internal::_percentWidth;
     }

     /**
@@ -349,10 +350,10 @@
      */
     public function set percentWidth(value:Number):void
     {
-        if (_percentWidth == value)
+        if (mx_internal::_percentWidth == value)
             return;

-        _percentWidth = value;
+        mx_internal::_percentWidth = value;
         invalidateParentSizeAndDisplayList();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 2905
Author:   clucier@adobe.com
Date:     2008-08-19T20:45:59.993275Z

Log Message:
-----------
Changes to allow UIComponent to take advantage of the new bindable filters (bindable wrappers around DropShadowFilter, GlowFilter, etc. that will force the filter stack to be re-evaluated when one or more of the filter parameters change). Checkin-tests: PASS
Reviewer: Jason
Bugs: SDK-16311
QA: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ConvolutionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1284728 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
+++ frameworks/projects/spark/src/spark/filters/DropShadowFilter.as
@@ -2,6 +2,8 @@
 {
 import flash.filters.BitmapFilter;
 import flash.filters.DropShadowFilter;
+import mx.filters.BaseDimensionFilter;
+import mx.filters.IBitmapFilter;

 public class DropShadowFilter extends BaseDimensionFilter implements IBitmapFilter
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4236
Author:   egreenfi@adobe.com
Date:     2008-12-05T01:20:06.259543Z

Log Message:
-----------
A number of small 3D fixes

- scale == 0 in 3D now works correctly (approximately).
- setting z != 0 correctly puts the element in 3D mode.
- setting layoutMatrix3D to a degenerate 2D matrix puts the element back into a 2D mode.
- layoutMatrix and layoutMatrix3D correctly copy on read now.

QA: yes.
DOC: no.
REVIEW: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259806 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -9907,10 +9907,15 @@
     {
         if(_layoutFeatures != null)
         {
-            return _layoutFeatures.layoutMatrix;
+			// esg: _layoutFeatures keeps a single internal copy of the layoutMatrix.
+			// since this is an internal class, we don't need to worry about developers
+			// accidentally messing with this matrix, _unless_ we hand it out. Instead,
+			// we hand out a clone.
+            return _layoutFeatures.layoutMatrix.clone();
         }
         else
         {
+        	// flash also returns copies.
             return super.transform.matrix;
         }
     }
@@ -9922,11 +9927,14 @@
     {
         if(_layoutFeatures == null)
         {
+        	// flash will make a copy of this on assignment.
             super.transform.matrix = value;
             invalidateSize();
         }
         else
         {
+	        // layout features will internally make a copy of this matrix rather than
+    	    // holding onto a reference to it.
             _layoutFeatures.layoutMatrix = value;
             invalidateTransform();
             invalidateParentSizeAndDisplayList();
@@ -9945,6 +9953,8 @@
         }
         else
         {
+	        // layout features will internally make a copy of this matrix rather than
+    	    // holding onto a reference to it.
             _layoutFeatures.layoutMatrix = value;
             invalidateTransform(false /*triggerPropertyInvalidation*/);
         }
@@ -9958,6 +9968,8 @@
     {
         if (_layoutFeatures == null)
             initAdvancedLayoutFeatures();
+        // layout features will internally make a copy of this matrix rather than
+   	    // holding onto a reference to it.
         _layoutFeatures.layoutMatrix3D = value;
         invalidateTransform(false /*triggerPropertyInvalidation*/);
     }
@@ -10014,6 +10026,9 @@
     public function set layoutMatrix3D(value:Matrix3D):void
     {
         if(_layoutFeatures == null) initAdvancedLayoutFeatures();
+
+        // layout features will internally make a copy of this matrix rather than
+        // holding onto a reference to it.
         _layoutFeatures.layoutMatrix3D = value;
         invalidateTransform();
         invalidateParentSizeAndDisplayList();
@@ -10025,7 +10040,11 @@
     public function get layoutMatrix3D():Matrix3D
     {
         if(_layoutFeatures == null) initAdvancedLayoutFeatures();
-        return _layoutFeatures.layoutMatrix3D;
+		// esg: _layoutFeatures keeps a single internal copy of the layoutMatrix.
+		// since this is an internal class, we don't need to worry about developers
+		// accidentally messing with this matrix, _unless_ we hand it out. Instead,
+		// we hand out a clone.
+        return _layoutFeatures.layoutMatrix3D.clone();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 9352
Author:   clucier@adobe.com
Date:     2009-08-17T19:38:36.092988Z

Log Message:
-----------
Update DesignLayer ASDOC to reflect most recent updates to specification.  A bug fix to all IVisualElement implementers to account for initial value of alpha/visible for their owning layer.

QE notes:  None.
Doc notes:  None.
Bugs:  N/A.
Reviewer:  Chet
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/DesignLayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

git-svn-id: 7146a936b37d36e51ea0d66f8acbe0b8281bc7b7@1259878 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -3052,7 +3052,11 @@
         _layer = value;

         if (_layer)
+        {
             _layer.addEventListener("layerPropertyChange", layer_PropertyChange, false, 0, true);
+            $alpha = _alpha * _layer.computedAlpha;
+            $visible = _visible && _layer.computedVisibility;
+        }
     }

     //--------------------------------------------------------------------------
@@ -10958,14 +10962,14 @@
     {
         switch (event.property)
         {
-            case "visible":
+            case "computedVisibility":
             {
                 var newValue:Boolean = (event.newValue && _visible);
                 if (newValue != $visible)
                     $visible = newValue;
                 break;
             }
-            case "alpha":
+            case "computedAlpha":
             {
                 var newAlpha:Number = Number(event.newValue) * _alpha;
                 if (newAlpha != $alpha)