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@1269429 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mx/src/mx/effects/WipeDown.as
+++ frameworks/projects/mx/src/mx/effects/WipeDown.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-2006 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: 49
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-20T07:13:13.004813Z

Log Message:
-----------
Perforce Change 191601 by aharui@aharui-pc2 on 2007/12/20 02:11:57 use ISystemManager instead of SystemManager in a couple of other places Bugs: SDK-14044 QA: Doc:

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/controls/SWFLoader.as</path>

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

--- frameworks/projects/framework/src/mx/controls/SWFLoader.as
+++ frameworks/projects/framework/src/mx/controls/SWFLoader.as
@@ -39,7 +39,7 @@
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.managers.CursorManager;
-import mx.managers.SystemManager;
+import mx.managers.ISystemManager;
 import mx.managers.SystemManagerGlobals;
 import mx.styles.ISimpleStyleClient;
 import mx.utils.LoaderUtil;
@@ -1778,14 +1778,15 @@

         try
         {
-            var sm:SystemManager = content as SystemManager;
+            var sm:ISystemManager = content as ISystemManager;
             if (sm != null)
-                sm.regenerateStyleCache(recursive);
+                Object(sm).regenerateStyleCache(recursive);
         }
         catch(error:Error)
         {
             // Ignore any errors trying to access the content
             // b/c we may cause a security violation trying to do it
+			// Also ignore if the sm doesn't have a regenerateStyleCache method
         }
     }

@@ -1801,14 +1802,15 @@

         try
         {
-            var sm:SystemManager = content as SystemManager;
+            var sm:ISystemManager = content as ISystemManager;
             if (sm != null)
-                sm.notifyStyleChangeInChildren(styleProp, recursive);
+                Object(sm).notifyStyleChangeInChildren(styleProp, recursive);
         }
         catch(error:Error)
         {
             // Ignore any errors trying to access the content
             // b/c we may cause a security violation trying to do it
+			// Also ignore if the sm doesn't have a notifyStyleChangeInChildren method
         }
     }


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@1259216 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/FlexTextField.as
+++ frameworks/projects/framework/src/mx/core/FlexTextField.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2006 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: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/components/CheckBox.as
+++ frameworks/projects/spark/src/spark/components/CheckBox.as
@@ -17,6 +17,11 @@

 /**
  *  @copy mx.components.baseClasses.GroupBase#symbolColor
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 [Style(name="symbolColor", type="uint", format="Color", inherit="yes")]

@@ -33,6 +38,11 @@
  *  to true for checked, and to false for unchecked.

  *
  * @includeExample examples/FxCheckBoxExample.mxml
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class FxCheckBox extends FxToggleButton
 {
@@ -46,6 +56,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function FxCheckBox()
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17305
Author:   gruehle@adobe.com
Date:     2010-08-12T21:18:50.910120Z

Log Message:
-----------
This revision includes the following changes:
* Text skin parts for Spark components changed from TextBase and RichEditableText to IDisplayText and IEditableText
* TextBase implements IDisplayText
* RichEditableText implements IEditableText
* New mobile skins for TextInput and TextArea (TextArea appearance is placeholder for now)
* Add a TOUCH_SCROLL_STARTING handler to SkinnableTextBase. This handler prevents the touch scroll from happening if the text is selectable or editable.
* Change global contentBackgroundColor to #3F3F3F and mobile application backgroundColor to #484848

Now that text skin parts are interfaces they need to be cast to concrete types in a bunch of places. There are two general approaches taken here:
* For required functionality, cast to a known type like InteractiveObject
* For optional functionality, cast to the desired type using “as” and wrap the code with a null check.

QE notes: Mobile TextInput is ready for testing. TextArea has some issues with resizing, so testing should wait for now.
Doc notes: -
Bugs: -
Reviewer: Jason Szeto, Corey L.
Tests run: full mustella pass (thank you cyclone server!), checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInput_border.fxg</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/mobilecomponents/src/spark/components/supportClasses/MobileTextField.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/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.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/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/MobileComponentsClasses.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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.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/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DefaultColumnHeaderRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableTextBaseAutomationImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/FormItem.as
+++ frameworks/projects/spark/src/spark/components/FormItem.as
@@ -14,12 +14,11 @@
 import flash.events.Event;

 import mx.core.IDeferredInstance;
+import mx.core.IVisualElement;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
-import mx.events.FlexEvent;
-
-import spark.components.supportClasses.TextBase;
-import spark.events.ElementExistenceEvent;
+
+import spark.core.IDisplayText;

 use namespace mx_internal;

@@ -88,13 +87,13 @@
      *   A reference to the visual element that displays this FormItem's label.
      */
     [SkinPart(required="false")]
-    public var labelDisplay:TextBase;
+    public var labelDisplay:IDisplayText;

     /**
      *  A reference to the visual element that displays the FormItem's sequenceLabel.
      */
     [SkinPart(required="false")]
-    public var sequenceLabelDisplay:TextBase;
+    public var sequenceLabelDisplay:IDisplayText;

     /**
      *  A reference to the Group that contains the FormItem's helpContentGroup.
@@ -106,7 +105,7 @@
      *  A reference to the visual element that display the FormItem's error strings.
      */
     [SkinPart(required="false")]
-    public var errorTextDisplay:TextBase;
+    public var errorTextDisplay:IDisplayText;

     //--------------------------------------------------------------------------
     //
@@ -291,7 +290,7 @@
      */
     override public function get baselinePosition():Number
     {
-        return getBaselinePositionForPart(labelDisplay);
+        return getBaselinePositionForPart(labelDisplay as IVisualElement);
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 6020
Author:   cframpto@adobe.com
Date:     2009-04-08T16:15:03.450604Z

Log Message:
-----------
- Tighten up SimpleText truncation a bit.  It's ready for testing.
- Fix optimization to check if there is only one measured line.  If SimpleText, have to check the number of composed lines as well as make sure the text isn't overset.
- Cleanup a bit.

QE Notes:
Doc Notes:
Bugs: SDK-18747 (truncation)
Reviewers: will be Gordon

Modified Paths:
--------------
<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/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -598,9 +598,7 @@
     override protected function composeTextLines(width:Number = NaN,
 												 height:Number = NaN):void
     {
-        var composeWidth:Number = isNaN(width) ? maxWidth : width;
-
-        super.composeTextLines(composeWidth, height);
+        super.composeTextLines(width, height);

         // Don't want this handler firing when we're re-composing the text lines.
         textFlow.removeEventListener(DamageEvent.DAMAGE, textFlow_damageHandler);
@@ -617,7 +615,7 @@
 		var bounds:Rectangle = mx_internal::bounds;
         bounds.x = 0;
         bounds.y = 0;
-        bounds.width = composeWidth;
+        bounds.width = isNaN(width) ? maxWidth : width;
         bounds.height = height;

         mx_internal::removeTextLines();


Transferred from the Adobe Open Source Subversion Repository

Revision: 6246
Author:   cframpto@adobe.com
Date:     2009-04-24T15:15:44.318758Z

Log Message:
-----------
Vellum Build 419 plus one more API change.

Improve and optimize the RichText content getter for the case where it needs to convert the text to a text flow.

QE Notes: TextGraphic styles tests still pass
Doc Notes:
Bugs:
Reviewers:

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/tlf.properties</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -115,7 +115,7 @@
     {
         // Create a single Configuration used by all RichText instances.
         staticConfiguration =
-            Configuration(TextLineFactoryBase.defaultFactoryConfiguration).clone();
+            Configuration(StringTextLineFactory.defaultFactoryConfiguration).clone();

         staticTextLayoutFormat.lineBreak = FormatValue.INHERIT;
         staticTextLayoutFormat.paddingLeft = FormatValue.INHERIT;
@@ -363,6 +363,7 @@
         // getting 'content' will return the TextFlow.
         _content = null;
         contentChanged = false;
+        textInvalid = false;

         super.text = value;
     }
@@ -426,7 +427,7 @@
         // If there isn't any content and there is text, create a one paragraph
         // text flow from the text.
         if (!_content && mx_internal::_text)
-            content = createTextFlowFromText();
+            _content = convertTextToContent();

         return _content;
     }
@@ -615,16 +616,23 @@

     /**
      *  @private
-     *  One paragraph text flow.
-     */
-    private function createTextFlowFromText():TextFlow
-    {
-        var textFlow:TextFlow = new TextFlow();
-        var p:ParagraphElement = new ParagraphElement();
+     *  Make 1 paragraph text flow.  We can not use the PLAIN_TEXT_FORMAT filter
+     *  because each newline starts a new paragraph.
+     */
+    private function convertTextToContent():TextFlow
+    {
+        textFlow = new TextFlow();
+
+        var p:ParagraphElement = new ParagraphElement();
+        textFlow.replaceChildren(0, 0, p);
+
         var span:SpanElement = new SpanElement();
         span.text = mx_internal::_text;
-        textFlow.replaceChildren(0, 0, p);
         p.replaceChildren(0, 0, span);
+
+        // Set formats and textLineCreator.
+        textFlow = createTextFlow();
+
         return textFlow;
     }

@@ -633,11 +641,6 @@
      */
     private function createTextFlowFromMarkup(markup:Object):TextFlow
     {
-        // The whiteSpaceCollapse format determines how whitespace
-        // is processed when markup is imported.
-		staticTextLayoutFormat.whiteSpaceCollapse =
-            getStyle("whiteSpaceCollapse");
-
         if (markup is XML || markup is String)
         {
 	        // We need to wrap the markup in a <TextFlow> tag
@@ -698,8 +701,7 @@
 	        }
         }

-        return importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT,
-                            staticConfiguration);
+        return importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT);
     }

     /**
@@ -757,7 +759,6 @@
         else if (textChanged)
         {
             textFlow = null;
-            textInvalid = false;
         }

         contentChanged = false;
@@ -791,10 +792,15 @@
      *
      *  This will throw on import error.
      */
-    private function importToFlow(source:Object, format:String,
-                                  config:Configuration):TextFlow
-    {
-        var importer:ITextImporter = TextFilter.getImporter(format, config);
+    private function importToFlow(source:Object, format:String):TextFlow
+    {
+        // The whiteSpaceCollapse format determines how whitespace
+        // is processed when markup is imported.
+        staticTextLayoutFormat.whiteSpaceCollapse =
+            getStyle("whiteSpaceCollapse");
+
+        var importer:ITextImporter = TextFilter.getImporter(format,
+                                                            staticConfiguration);

         // Throw import errors rather than return a null textFlow.
         // Alternatively, the error strings are in the Vector, importer.errors.


Transferred from the Adobe Open Source Subversion Repository

Revision: 2672
Author:   egeorgie@adobe.com
Date:     2008-07-30T22:52:27.741630Z

Log Message:
-----------
Remove GraphicElement.bounds APIs in favor of measure

Reviewed by Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Rect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/graphics/GraphicTags_checkintests.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.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/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElementHostImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Line.as</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/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -72,14 +72,6 @@

 	/**
 	 *  @private
-	 *  This flag is set to true by the text, width, and height setters,
-	 *  to indicate that the TextLines must be regenerated.
-	 *  The regeneration occurs when draw() is called or 'bounds' is read.
-	 */
-	private var invalid:Boolean = false;
-
-	/**
-	 *  @private
 	 */
 	private var textChanged:Boolean = false;

@@ -88,53 +80,6 @@
 	 */
 	private var contentChanged:Boolean = false;

-	//--------------------------------------------------------------------------
-	//
-	//  Overridden properties: GraphicElement
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  bounds
-	//----------------------------------
-
-	/**
-	 *  @private
-	 */
-	private var _bounds:Rectangle = new Rectangle();
-
-    /**
-     *  @inheritDoc
-     */
-    override public function get bounds():Rectangle
-	{
-		if (invalid)
-		{
-			compose();
-			invalid = false;
-		}
-
-		var w:Number;
-		var h:Number;
-
-		if (!isNaN(explicitWidth) && !isNaN(explicitHeight))
-		{
-			w = explicitWidth;
-			h = explicitHeight;
-		}
-		else
-		{
-			var r:Rectangle = textFlowComposer.bounds;
-			w = Math.ceil(r.width);
-			h = Math.ceil(r.height);
-		}
-
-		_bounds.width = w;
-		_bounds.height = h;
-
-		return _bounds;
-	}
-
 	//--------------------------------------------------------------------------
 	//
 	//  Properties: Text Attributes
@@ -595,6 +540,20 @@
 	//
 	//--------------------------------------------------------------------------

+	/**
+	 *  @inheritDoc
+	 */
+    override protected function measure():void
+    {
+        var width:Number = !isNaN(explicitWidth) ? explicitWidth : NaN;
+        var height:Number = !isNaN(explicitHeight) ? explicitHeight : NaN;
+		compose(width, height);
+
+		var r:Rectangle = textFlowComposer.bounds;
+		measuredWidth = Math.ceil(r.width);
+		measuredHeight = Math.ceil(r.height);
+	}
+
 	/**
 	 *  @inheritDoc
 	 */
@@ -623,8 +582,6 @@
 			textChanged = true;
 		else if (cause == "content")
 			contentChanged = true;
-
-		invalid = true;
 	}

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


changed the depth property to use the center of the geometry if a bounding sphere is present instead of the pivot.

--- src/aerys/minko/render/DrawCall.as
+++ src/aerys/minko/render/DrawCall.as
@@ -77,6 +77,7 @@
 		private var _enabled			: Boolean							= true;

 		private var _depth				: Number							= 0.;
+        private var _center				: Vector4							= null;
 		private var _invalidDepth		: Boolean							= false;
 		private var _localToWorld		: Matrix4x4							= null;
 		private var _worldToScreen		: Matrix4x4							= null;
@@ -147,7 +148,7 @@
 				if (_localToWorld != null && _worldToScreen != null)
 				{
 					var worldSpacePosition 	: Vector4	= _localToWorld.transformVector(
-						Vector4.ZERO, TMP_VECTOR4
+						_center, TMP_VECTOR4
 					);
 					var screenSpacePosition : Vector4 	= _worldToScreen.transformVector(
 						worldSpacePosition, TMP_VECTOR4
@@ -172,7 +173,6 @@
 			_invalidDepth = computeDepth;

 			setProgram(program);
-			updateGeometry(geometry);
 			setGeometry(geometry);
 			setBindings(meshBindings, sceneBindings, computeDepth);
 		}
@@ -198,9 +198,9 @@
 		private function setProgram(program : Program3DResource) : void
 		{
 			_cpuConstants		= new Dictionary();
-			_vsConstants		= program._vsConstants.concat();
-			_fsConstants		= program._fsConstants.concat();
-			_fsTextures			= program._fsTextures.concat();
+			_vsConstants		= program._vsConstants.slice();
+			_fsConstants		= program._fsConstants.slice();
+			_fsTextures			= program._fsTextures.slice();
 			_vsInputComponents	= program._vertexInputComponents;
 			_vsInputIndices		= program._vertexInputIndices;
 			_bindings			= program._bindings;
@@ -235,6 +235,12 @@
 		 */
 		public function setGeometry(geometry : Geometry, frame : uint = 0) : void
 		{
+			updateGeometry(geometry);
+
+			_center = geometry.boundingSphere
+				? geometry.boundingSphere.center
+				: Vector4.ZERO;
+
 			_numVertexComponents = _vsInputComponents.length;
 			_indexBuffer		 = geometry.indexStream.resource;
 			_firstIndex			 = geometry.firstIndex;


Transferred from the Adobe Open Source Subversion Repository

Revision: 11873
Author:   klin@adobe.com
Date:     2009-11-17T00:17:50.385514Z

Log Message:
-----------
Fix for http://bugs.adobe.com/jira/browse/SDK-22800.

ButtonBase.as - Subclasses of ButtonBase were updating properties like selected and selection in the clickHandler. This caused the buttons to be in an intermediary state between the mouse up event and the mouse click event. I've added a new protected method called buttonReleased() that is called during the mouse up handler when the mouse is captured and when the mouse is hovering over the button. This allows the button to smoothly transition between states like down and overAndSelected without passing through the over state. I also separated out some of the systemManager mouse up handlers into a separate handler.

ToggleButtonBase.as, RadioButton.as - Moved the update code from clickHandler to buttonReleased.

QE notes: No
Doc notes: No
Bugs: SDK-22800
Reviewer: Evtim
Tests run: checkintests, Button, ToggleButton, RadioButton
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ToggleButtonBase.as
@@ -168,29 +168,24 @@
     /**
      *  @private
      */
-    protected override function getCurrentSkinState():String
+    override protected function getCurrentSkinState():String
     {
         if (!selected)
             return super.getCurrentSkinState();
         else
             return super.getCurrentSkinState() + "AndSelected";
     }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Event handling
-    //
-    //--------------------------------------------------------------------------
-
+
     /**
      *  @private
      */
-    override protected function clickHandler(event:MouseEvent):void
+    override protected function buttonReleased():void
     {
-        super.clickHandler(event);
+        super.buttonReleased();
+
         selected = !selected;
+
         dispatchEvent(new Event(Event.CHANGE));
-        event.updateAfterEvent();
     }
 }


reinitialize level when reloading a new manifest

--- src/org/mangui/HLS/streaming/FragmentLoader.as
+++ src/org/mangui/HLS/streaming/FragmentLoader.as
@@ -55,9 +55,9 @@
         /** sequence number that's currently loading. **/
         private var _seqnum:Number;
         /** start level **/
-        private var _start_level:int = 0;
+        private var _start_level:int;
         /** Quality level of the last fragment load. **/
-        private var _level:int = 0;
+        private var _level:int;
         /* overrided quality_manual_level level */
         private var _manual_level:int = -1;
         /** Reference to the manifest levels. **/
@@ -548,6 +548,7 @@
         private function _manifestLoadedHandler(event:HLSEvent):void {
             _levels = event.levels;
             _start_level = -1;
+            _level = 0;
             _manifest_just_loaded = true;
             // reset audio tracks
             _audioTrackId = -1;


Makes allowVideo param in ANE default to false.

--- actionscript/src/com/freshplanet/ane/AirImagePicker/AirImagePicker.as
+++ actionscript/src/com/freshplanet/ane/AirImagePicker/AirImagePicker.as
@@ -149,7 +149,7 @@
 		 *
 		 * @see #isImagePickerAvailable()
 		 */
-		public function displayImagePicker( callback : Function, allowVideo:Boolean, crop : Boolean = false, anchor : Rectangle = null ) : void
+		public function displayImagePicker( callback : Function, allowVideo:Boolean = false, crop : Boolean = false, anchor : Rectangle = null ) : void
 		{
 			if (!isImagePickerAvailable()) callback(null, null);

@@ -189,7 +189,7 @@
 		 *
 		 * @see #isCameraAvailable()
 		 */
-		public function displayCamera( callback : Function, allowVideo:Boolean, crop : Boolean = false, albumName:String = null ) : void
+		public function displayCamera( callback : Function, allowVideo:Boolean = false, crop : Boolean = false, albumName:String = null ) : void
 		{
 			if (!isCameraAvailable()) callback(null, null);


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@1253034 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/charts/src/mx/charts/chartClasses/GraphicsUtilities.as
+++ frameworks/projects/charts/src/mx/charts/chartClasses/GraphicsUtilities.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2009 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: 17101
Author:   rfrishbe@adobe.com
Date:     2010-07-28T18:31:06.934256Z

Log Message:
-----------
Cleaning up lots of code, fixing some bugs, tweaking the API for List/Scroller, and tweaking the kinetics for Scroller.

Major API changes are:

1) Got rid of scrollAxis on IViewport.  We now just use horizontalScrollPolicy/verticalScrollPolicy.
2) No more overlay for horizontalScrollPolicy/verticalScrollPolicy.  Instead, we just key off of inputMode="touch" to determine this
3) spark.events.TouchScrollEvent moved to mx.events.TouchScrollEvent
4) Added new API to help with testing: mx.utils.GetTimerUtil.mx_internal::getTimerFunction

We now use the distance scrolled as well as the velocity of that scroll to determine how far to throw the list

QE notes: Added new API for testing purposes
Doc notes: None
Bugs: SDK-27031, SDK-27021
Reviewer: None - will review with mobile list stuff later (very soon in fact)
Tests run: checkintests, mustella Scroller, List, and ListDND
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/GetTimerUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</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/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollingEasing.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/TouchScrollEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</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/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ScrollPolicy.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/TouchScrollEvent.as" copyfrom-rev="17005" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/TouchScrollEvent.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -662,35 +662,6 @@
     }

     //----------------------------------
-    //  scrollAxis
-    //----------------------------------
-
-    private var _scrollAxis:String = "vertical";
-
-    /**
-     *  @copy spark.core.IViewport#scrollAxis
-     *
-     *  @default vertical
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
-     */
-    public function get scrollAxis():String
-    {
-        return _scrollAxis;
-    }
-
-    /**
-     *  @private
-     */
-    public function set scrollAxis(value:String):void
-    {
-        _scrollAxis = value;
-    }
-
-    //----------------------------------
     //  scrollRect
     //----------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 17426
Author:   rfrishbe@adobe.com
Date:     2010-08-20T17:31:08.549447Z

Log Message:
-----------
Fixing one more minor ASDoc issue around gesture->touch interaction.

QE notes: None
Doc notes: None
Bugs: -
Reviewer: Jason SJ, Chiedo
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -903,7 +903,7 @@
      *  mouse events such as click and roll over.
      *
      *  This property only goes in to effect if mouse, touch, or
-     *  gesture events are added to this instance.  In addition,
+     *  flash player gesture events are added to this instance.  In addition,
      *  it assumes that the calls to addEventListener()/removeEventListener()
      *  are not superfluous.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 6204
Author:   rfrishbe@adobe.com
Date:     2009-04-22T22:24:18.334273Z

Log Message:
-----------
Make the item renderer classes for FIelSystemComboBox and FileSystemDataGrid public (although still hidden from ASDoc and excluded from code-hinting) instead of internal helper classes.  This is needed for automation.

QE Notes: -
Doc Notes: -
Bugs: SDK-20703, SDK-20702
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemDataGridNameColumnRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemComboBoxRenderer.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemComboBoxRenderer.as
+++ frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemComboBoxRenderer.as
@@ -0,0 +1,126 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-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.fileSystemClasses
+{
+
+import flash.display.DisplayObject;
+import flash.filesystem.File;
+import mx.controls.FileSystemComboBox;
+import mx.controls.fileSystemClasses.FileSystemControlHelper;
+import mx.controls.listClasses.ListItemRenderer;
+import mx.core.mx_internal;
+
+use namespace mx_internal;
+
+[ExcludeClass]
+
+/**
+ *  @private
+ */
+public class FileSystemComboBoxRenderer extends ListItemRenderer
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function FileSystemComboBoxRenderer()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override protected function commitProperties():void
+    {
+        super.commitProperties();
+
+        if (!listData || !data)
+            return;
+
+        var comboBox:FileSystemComboBox =
+            FileSystemComboBox(listData.owner.owner);
+        if (!comboBox.showIcons)
+            return;
+
+        var iconClass:Class = comboBox.getStyle(
+            comboBox.helper.isComputer(File(data)) ?
+            "computerIcon" :
+            "directoryIcon");
+
+        if (iconClass)
+        {
+            icon = new iconClass();
+            addChild(DisplayObject(icon));
+        }
+    }
+
+    /**
+     *  @private
+     */
+    override protected function updateDisplayList(unscaledWidth:Number,
+                                                  unscaledHeight:Number):void
+    {
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        if (!listData || !data)
+            return;
+
+        var comboBox:FileSystemComboBox =
+            FileSystemComboBox(listData.owner.owner);
+        if (comboBox.indent == 0)
+            return;
+
+        var delta:Number = comboBox.indent * getNestLevel(File(data));
+        if (icon)
+            icon.x += delta;
+        label.x += delta;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    private function getNestLevel(item:File):int
+    {
+        if (!item || !item.exists)
+            return 0;
+
+        var nestLevel:int = 0;
+        for (var f:File = item; f != null; f = f.parent)
+        {
+            nestLevel++;
+        }
+        return nestLevel;
+    }
+}
+}


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@1248473 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/advancedgrids/src/mx/collections/SummaryField2.as
+++ frameworks/projects/advancedgrids/src/mx/collections/SummaryField2.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.collections
 {


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@1273730 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXDecoder.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXDecoder.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-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: 7414
Author:   cframpto@adobe.com
Date:     2009-05-29T13:46:40.017801Z

Log Message:
-----------
- Started work on scrolling issues.  Blocked on TLF bugs for now.
- Reworked logic in measureForAutoSize() for constrained width.  It has to be less than the actual maxWidth that the layout manager will check, not my chosen default of 160.
- Removed override of setText().  If focused, and text is set, set content with the text instead, since this will create a TextFlow and the underlying interaction manager which is needed to type without a mouse click or a mouse hover over the field first. Also if the text or content is changed while it has focus, set a selection, since the previous selection was wiped out.  (lines 1395 and 1567)
- TextArea content is no longer bindable because TextFlows can't be shared.  To clone content use TextFlow.deepCopy().
- Switched to constants for changing and change events.
- No insertion point if focused and the text is selectable but not editable.
- Remove trace message in inlineGraphicChangeHandler

QA Notes: TextArea content is no longer bindable
Doc Notes:
Bugs: SDK-21424, SDK-17797, SDK-21354, partial work on several scrolling bugs
Reviewers: Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/RichEditableTextContainerManager.as
@@ -18,6 +18,7 @@
 import flash.geom.Rectangle;

 import flashx.textLayout.container.TextContainerManager;
+import flashx.textLayout.edit.EditingMode;
 import flashx.textLayout.edit.ISelectionManager;
 import flashx.textLayout.edit.SelectionFormat;
 import flashx.textLayout.elements.IConfiguration;
@@ -172,11 +173,17 @@
     {
         var selectionColor:* = textView.getStyle("selectionColor");

-        // The insertion point is black, inverted, which makes it
+        var focusedPointAlpha:Number =
+            editingMode == EditingMode.READ_WRITE ?
+            1.0 :
+            0.0;
+
+        // If editable, the insertion point is black, inverted, which makes it
         // the inverse color of the background, for maximum readability.
+        // If not editable, then no insertion point.
         return new SelectionFormat(
             selectionColor, 1.0, BlendMode.NORMAL,
-            0x000000, 1.0, BlendMode.INVERT);
+            0x000000, focusedPointAlpha, BlendMode.INVERT);
     }

     /**
@@ -226,23 +233,6 @@

         super.focusInHandler(event);
     }
-
-    /**
-     *  @private
-     */
-    override public function setText(text:String):void
-    {
-        super.setText(text);
-        if (textView.systemManager && textView.systemManager.stage.focus == textView)
-        {
-            var im:ISelectionManager = beginInteraction();
-            im.setSelection(int.MAX_VALUE, int.MAX_VALUE);
-            im.refreshSelection();
-            im.setFocus();
-            endInteraction();
-       }
-    }
-
 }

 }


Back off 4 segments by default to handle NASA.

--- HLSPlugin/src/com/kaltura/hls/manifest/HLSManifestParser.as
+++ HLSPlugin/src/com/kaltura/hls/manifest/HLSManifestParser.as
@@ -21,7 +21,7 @@
 		public static const VIDEO:String = "VIDEO";
 		public static const SUBTITLES:String = "SUBTITLES";

-		public static var MAX_SEG_BUFFER:int = 3;
+		public static var MAX_SEG_BUFFER:int = 4;

 		public var type:String = DEFAULT;
 		public var version:int;


Transferred from the Adobe Open Source Subversion Repository

Revision: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
663 paths were modified

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

--- frameworks/projects/framework/src/mx/managers/IToolTipManagerClient.as
+++ frameworks/projects/framework/src/mx/managers/IToolTipManagerClient.as
@@ -23,6 +23,11 @@
  *  @see mx.controls.ToolTip
  *  @see mx.managers.ToolTipManager
  *  @see mx.core.IToolTip
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IToolTipManagerClient extends IFlexDisplayObject
 {
@@ -38,6 +43,11 @@

 	/**
 	 *  The text of this component's tooltip.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	function get toolTip():String;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3219
Author:   deeptika@adobe.com
Date:     2008-09-16T08:33:39.937798Z

Log Message:
-----------
Checking in support for Network Monitor in rpc.swc

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/netmon/NetworkMonitor.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as
@@ -33,6 +33,8 @@
 import mx.messaging.messages.ErrorMessage;
 import mx.messaging.messages.HTTPRequestMessage;
 import mx.messaging.messages.IMessage;
+import mx.messaging.config.LoaderConfig;
+import mx.netmon.NetworkMonitor;
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;

@@ -231,6 +233,11 @@
             }
         }
         result.url = url;
+
+        if (NetworkMonitor.isMonitoring())
+        {
+            NetworkMonitor.adjustURLRequest(result, LoaderConfig.url, message.messageId);
+        }

         return result;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4933
Author:   dsubrama@adobe.com
Date:     2009-02-12T00:15:06.489167Z

Log Message:
-----------
A variety of fixes to Spinner and NumericStepper that exposed some inaccuracies in Range. All discovered while fixing SDK-17822.

Additionally, added the extractValueFunction which is the sibling property to displayFormatFunction. Both can be set on a Spark NumericStepper to modify the value displayed in the text input and to extract the correct value for internal representation.

Checkintests: Pass
Mustella tests: Pass (NS, Spinner, ScrollBar, Slider)
Reviewer: Jason

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxNumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxSpinner.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/Range.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/Range.as
@@ -392,10 +392,13 @@
      */
     public function step(increase:Boolean = true):void
     {
+    	if (stepSize == 0)
+            return;
+
         if (increase)
-            setValue(nearestValidValue(value + stepSize, stepSize));
+            setValue(nearestValidValue(value + stepSize, valueInterval));
         else
-            setValue(nearestValidValue(value - stepSize, stepSize));
+            setValue(nearestValidValue(value - stepSize, valueInterval));
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12850
Author:   jimurphy@adobe.com
Date:     2009-12-11T14:57:14.623098Z

Log Message:
-----------
add 6 new DMV projects to the SDK:
automation
automation_air
automation_dmv
automation_flashflexkit
automation_spark
datavisualization

These projects are setup to build in an ant main call.  There are currently several warnings in the datavisualization project that will be cleaned up.  No checkintests exist for these projects as of yet.

I also modified the exisitng projects build files for easier management of the localization targets, bundle and fat-swc. If the projects that I updated:airframework,airspark,framework,playerglobal,rpc,and spark.  All the new projects have been implemented this same way.

QE notes: DMV folks should run through their tests
Doc notes: probably
Bugs: nope
Reviewer:
Tests run: ran the following targets: compile,checkintests,other.locales and doc
Is noteworthy for integration: no

Modified Paths:
--------------
1404 paths were modified

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

--- frameworks/projects/automation/src/mx/automation/delegates/containers/ApplicationAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/containers/ApplicationAutomationImpl.as
@@ -0,0 +1,316 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.automation.delegates.containers
+{
+	import flash.display.DisplayObject;
+	import flash.display.DisplayObjectContainer;
+
+	import mx.automation.Automation;
+	import mx.automation.AutomationManager;
+	import mx.automation.IAutomationManager2;
+	import mx.automation.IAutomationObject;
+	import mx.automation.delegates.core.ContainerAutomationImpl;
+	import mx.containers.ApplicationControlBar;
+	import mx.core.Application;
+	import mx.core.mx_internal;
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines the methods and properties required to perform instrumentation for the
+	 *  Application class.
+	 *
+	 *  @see mx.core.Application
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class ApplicationAutomationImpl extends ContainerAutomationImpl
+	{
+
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(Application, ApplicationAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 * @param obj Application object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function ApplicationAutomationImpl(obj:Application)
+		{
+			super(obj);
+			recordClick = true;
+			var am:IAutomationManager2 = Automation.automationManager2;
+			am.registerNewApplication(obj);
+		}
+
+		/**
+		 *  @private
+		 */
+		protected function get application():Application
+		{
+			return uiComponent as Application;
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function get automationName():String
+		{
+			var am:IAutomationManager2 = Automation.automationManager2;
+			return am.getUniqueApplicationId();
+		}
+		/**
+		 *  @private
+		 */
+		override protected function componentInitialized():void
+		{
+			super.componentInitialized();
+			// Override for situations where an app is loaded into another
+			// application. Find the Flex loader that contains us.
+			var owner:IAutomationObject = application.owner as IAutomationObject;
+
+			if ((!owner)  && application.systemManager.isTopLevel() == false)
+			{
+				try
+				{
+					var findAP:DisplayObject = application.parent;
+
+					owner = findAP as IAutomationObject;
+					while (findAP && !(owner))
+					{
+						findAP = findAP.parent;
+						owner = findAP as IAutomationObject;
+					}
+
+					application.owner = owner as DisplayObjectContainer;
+				}
+				catch (e:Error)
+				{
+				}
+			}
+		}
+
+
+		/**
+		 *  @private
+		 */
+		private function getDockedControlBar(index:int):IAutomationObject
+		{
+			var dockedApplicationControlBarsFound:int = 0;
+
+			// number of docked application control bars
+			// get its row children and see how many docked application control
+			// bars are present
+			var n:int = application.rawChildren.numChildren;
+			for ( var childPos:int=0 ;childPos < n; childPos++)
+			{
+				var currentObject:ApplicationControlBar =
+					application.rawChildren.getChildAt(childPos) as ApplicationControlBar;
+				if( currentObject)
+				{
+					if(currentObject.dock == true)
+					{
+						if(dockedApplicationControlBarsFound == index)
+						{
+							return currentObject as IAutomationObject;
+						}
+						else
+						{
+							dockedApplicationControlBarsFound++;
+						}
+					}
+				}
+			}
+			return null;
+		}
+
+		/**
+		 *  @private
+		 */
+		private function getDockedControlBarChildren():Array
+		{
+			var childrenList:Array = new Array();
+
+			// number of docked application control bars
+			// get its row children and see how many docked application control
+			// bars are present
+			var n:int = application.rawChildren.numChildren;
+			for (var i:int=0 ;i < n; i++)
+			{
+				var currentObject:ApplicationControlBar =
+					application.rawChildren.getChildAt(i) as ApplicationControlBar;
+				if (currentObject)
+				{
+					if(currentObject.dock == true)
+						childrenList.push(currentObject as IAutomationObject);
+				}
+			}
+			return childrenList;
+		}
+
+		/**
+		 *  @private
+		 */
+		//----------------------------------
+		//  getDockedApplicationControlBarCount
+		//----------------------------------
+		/* this method is written to get the docked application control bars separately
+		as they are not part of the numChildren and get childAt.
+		but we need these objcts as part of them to get the event from these
+		properly recorded
+		*/
+		private function getDockedApplicationControlBarCount():int
+		{
+			var dockedApplicationControlBars:int = 0;
+
+			// number of docked application control bars
+			// get its row children and see how many docked application control
+			// bars are present
+			var n:int = application.rawChildren.numChildren;
+			for (var i:int=0; i < n; i++)
+			{
+				var currentObject:ApplicationControlBar =
+					application.rawChildren.getChildAt(i) as ApplicationControlBar;
+				if( currentObject)
+				{
+					if(currentObject.dock == true)
+						dockedApplicationControlBars++;
+				}
+			}
+
+			return dockedApplicationControlBars;
+		}
+
+		override public function get numAutomationChildren():int
+		{
+
+			var am:IAutomationManager2 = Automation.automationManager2;
+
+			return application.numChildren + application.numRepeaters +
+				getDockedApplicationControlBarCount() +am.getPopoupChildrenCount();
+		}
+
+		override public function getAutomationChildren():Array
+		{
+			var am:IAutomationManager2 = Automation.automationManager2;
+
+			// we need to add popup children
+			var childList:Array = new Array();
+			var tempChildren1:Array  = am.getPopoupChildren();
+			var n:int = 0;
+			var i:int = 0;
+
+			if(tempChildren1)
+			{
+				n = tempChildren1.length;
+				for (i = 0; i < n ; i++)
+					childList.push(tempChildren1[i]);
+			}
+
+
+			// get the 	 DockedApplicationBarControl details
+			var tempChildren:Array  = getDockedControlBarChildren();
+			if(tempChildren)
+			{
+				n = tempChildren.length;
+				for ( i = 0; i < n ; i++)
+				{
+					childList.push(tempChildren[i]);
+				}
+			}
+
+
+			n = application.numChildren;
+			for (i = 0; i < n ; i++)
+			{
+				childList.push(application.getChildAt(i));
+			}
+
+			tempChildren  =   application.childRepeaters;
+			if (tempChildren)
+			{
+				n = tempChildren.length;
+				for (i = 0; i < n ; i++)
+				{
+					childList.push(tempChildren[i]);
+				}
+			}
+
+			return childList;
+		}
+
+		override public function getAutomationChildAt(index:int):IAutomationObject
+		{
+			var am:IAutomationManager2 = Automation.automationManager2;
+			// handle popup objects
+			var popUpCount:int = am.getPopoupChildrenCount();
+			if (index < popUpCount)
+				return am.getPopoupChildObject(index) ;
+			else
+				index = index - popUpCount;
+
+			// get the 	 DockedApplicationControl details
+			var dockedApplicationBarNumbers:int = getDockedApplicationControlBarCount();
+			if (index < dockedApplicationBarNumbers)
+				return (getDockedControlBar(index) as IAutomationObject);
+			else
+				index = index - dockedApplicationBarNumbers ;
+
+
+			if (index < application.numChildren)
+			{
+				var d:Object = application.getChildAt(index);
+				return d as IAutomationObject;
+			}
+
+			var r:Object = application.childRepeaters[index - application.numChildren];
+			return r as IAutomationObject;
+		}
+
+	}
+
+}


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@1259435 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/core/IPropertyChangeNotifier.as
+++ frameworks/projects/framework/src/mx/core/IPropertyChangeNotifier.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2006 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.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 20012
Author:   jasonsj@adobe.com
Date:     2011-01-29T00:57:26.112385Z

Log Message:
-----------
Removing Button FIXMEs. Changed button shadow logic to remove tight text accounting.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as
@@ -227,6 +227,7 @@
             labelDisplayShadow = StyleableTextField(createInFontContext(StyleableTextField));
             labelDisplayShadow.styleName = this;
             labelDisplayShadow.colorName = "textShadowColor";
+            labelDisplayShadow.useTightTextBounds = false;

             // add shadow before display
             addChildAt(labelDisplayShadow, getChildIndex(labelDisplay));
@@ -282,8 +283,9 @@
         labelDisplayShadow.alpha = getStyle("textShadowAlpha");
         labelDisplayShadow.commitStyles();

-        setElementPosition(labelDisplayShadow, labelDisplay.getLayoutBoundsX(), labelDisplay.getLayoutBoundsY() + 1);
-        setElementSize(labelDisplayShadow, labelDisplay.getLayoutBoundsWidth(), labelDisplay.getLayoutBoundsHeight());
+        // don't use tightText positioning on shadow
+        setElementPosition(labelDisplayShadow, labelDisplay.x, labelDisplay.y + 1);
+        setElementSize(labelDisplayShadow, labelDisplay.width, labelDisplay.height);

         // if labelDisplay is truncated, then push it down here as well.
         // otherwise, it would have gotten pushed in the labelDisplay_valueCommitHandler()


Transferred from the Adobe Open Source Subversion Repository

Revision: 13013
Author:   gosmith@adobe.com
Date:     2009-12-16T23:05:06.067124Z

Log Message:
-----------
Added ASDoc for the Spark ListBaseAccImpl, ListAccImpl, DropDownListAccImpl, ComboBoxAccImpl, ButtonBarBaseAccImpl, and TabBarAccImpl, based on the opensource specs.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TabBarAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
@@ -11,6 +11,7 @@

 package spark.accessibility
 {
+
 import flash.accessibility.Accessibility;
 import flash.events.Event;

@@ -24,13 +25,22 @@
 import spark.components.supportClasses.ListBase;
 import spark.events.IndexChangeEvent;

-
-
 use namespace mx_internal;

 /**
- *  ListBaseAccImpl is a subclass of AccessibilityImplementation
- *  which implements accessibility for the ListBase class.
+ *  ListBaseAccImpl is a superclass of the Spark ListAccImpl,
+ *  DropDownListAccImpl, ComboBoxAccImpl, ButtonBarBaseAccImpl,
+ *  and TabBarAccImpl.
+ *
+ *
Please see the documentation of these classes for more information
+ *  about how the Spark components List, DropDownList, ComboBox, ButtonBar,
+ *  and TabBar implement accessibility.

+ *
+ *  @see spark.accessibility.ListAccImpl
+ *  @see spark.accessibility.DropDownListAccImpl
+ *  @see spark.accessibility.ComboBoxAccImpl
+ *  @see spark.accessibility.ButtonBarBaseAccImpl
+ *  @see spark.accessibility.TabBarAccImpl
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 17366
Author:   rfrishbe@adobe.com
Date:     2010-08-18T20:55:44.548390Z

Log Message:
-----------
Adding touchDelay and minimumDownState styles to Button.

In addition, there are some other PARB changes (touchScroll is renamed to more generic gestureCapture).  This means TouchScrollEvent has been renamed to GestureCaptureEvent as well.

QE notes: None
Doc notes: None
Bugs: -
Reviewer: Chiedo
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/TouchScrollEvent.as" copyfrom-rev="17335" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/GestureCaptureEvent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/MobileTextFieldTextStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</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/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</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/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/TouchScrollEvent.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -168,6 +168,25 @@
  */
 [Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark")]

+/**
+ *  When in touch interaction mode, the number of milliseconds to wait before showing the
+ *  component in a visually down state.
+ *
+ *
The reason for this delay is because when a user initiates a scroll gesture, we don't want
+ *  components to flicker as they touch the screen.  By having a reasonable delay, we make
+ *  sure that the user still gets feedback when they press down on a component, but that the
+ *  feedback doesn't come too quickly that it gets displayed during a scroll gesture
+ *  operation.

+ *
+ *
If the mobile theme is applied, the default value for this style is 100 ms for
+ *  components inside of a Scroller and 0 ms for components outside of a Scroller.

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+[Style(name="touchDelay", type="Number", format="Time", inherit="yes", minValue="0.0")]

 [IconFile("SkinnableContainer.png")]


Modify lab.

Modify lab.

--- laboratory/core-src/krewdemo/actor/feature_test/PlatformerTester1.as
+++ laboratory/core-src/krewdemo/actor/feature_test/PlatformerTester1.as
@@ -44,6 +44,7 @@

         protected var _physicsSpace:Space;
         protected var _gravity:Number = 900;
+        private   var _mapScale:Number = 0.5;

         protected var _tileMapDisplays:Array = [];
         private   var _clouds:Sprite;
@@ -72,8 +73,8 @@

             for (var i:int=0;  i < 2;  ++i) {
                 _tileMapDisplays[i] = _makeMapDisplay("view_" + (i + 1));
-                _tileMapDisplays[i].scaleX = 1.0;
-                _tileMapDisplays[i].scaleY = 1.0;
+                _tileMapDisplays[i].scaleX = _mapScale;
+                _tileMapDisplays[i].scaleY = _mapScale;
                 addChild(_tileMapDisplays[i]);
             }

@@ -154,10 +155,10 @@

             // starling display
             var image:Image = getImage('rectangle_taro');
-            addImage(image, size, size, imageX, imageY);
-            body.userData.displayObj = image;
+            addImage(image, size * _mapScale, size * _mapScale, imageX, imageY);

             _hero = body;
+            _hero.userData.displayObj = image;
         }

         //----------------------------------------------------------------------
@@ -269,6 +270,25 @@

         protected function _onUpdateJoystick(args:Object):void {
             _velocityX = args.velocityX * 300;
+
+            if (Math.abs(args.velocityY) > 0.5) {
+                _updateMapScale(args.velocityY * 0.01);
+            }
+        }
+
+        private function _updateMapScale(zoom:Number):void {
+            _mapScale += zoom;
+
+            for (var i:int=0;  i < 2;  ++i) {
+                _tileMapDisplays[i].scaleX = _mapScale;
+                _tileMapDisplays[i].scaleY = _mapScale;
+            }
+
+            var heroSize:Number = 32 * 0.94 * _mapScale;
+            _hero.userData.displayObj.width  = heroSize;
+            _hero.userData.displayObj.height = heroSize;
+
+            _updateView();
         }

         private function _onTriggerJump(args:Object):void {
@@ -286,22 +306,26 @@
             _physicsSpace.step(passedTime);

             // view
+            _updateView();
+
+            _onUpdatePhysicsDebugDraw();
+
+            // out of world border
+            _checkExitWorld();
+        }
+
+        private function _updateView():void {
             var cloudDepth:Number = 0.2;
             _clouds.x = 240 - (_hero.position.x * cloudDepth);
             _clouds.y = 160 - (_hero.position.y * cloudDepth);

             for (var i:int=0;  i < _tileMapDisplays.length;  ++i) {
-                _tileMapDisplays[i].x = 240 - _hero.position.x;
-                _tileMapDisplays[i].y = 160 - _hero.position.y;
+                _tileMapDisplays[i].x = 240 - (_hero.position.x * _mapScale);
+                _tileMapDisplays[i].y = 160 - (_hero.position.y * _mapScale);
             }

             var heroImage:Image = _hero.userData.displayObj;
             heroImage.rotation = _hero.rotation;
-
-            _onUpdatePhysicsDebugDraw();
-
-            // out of world border
-            _checkExitWorld();
         }

         private function _checkExitWorld():void {


remove warning

remove warning

--- src/org/mangui/hls/playlist/Manifest.as
+++ src/org/mangui/hls/playlist/Manifest.as
@@ -20,7 +20,7 @@
         /** Header tag that must be at the first line. **/
         public static const HEADER : String = '#EXTM3U';
         /** Version of the playlist file. **/
-        public static const VERSION : String = '#EXT-X-VERSION'
+        public static const VERSION : String = '#EXT-X-VERSION';
         /** Starttag for a level. **/
         public static const LEVEL : String = '#EXT-X-STREAM-INF:';
         /** Tag that delimits the end of a playlist. **/


little update

little update

--- src/org/si/sion/sequencer/SiMMLTrack.as
+++ src/org/si/sion/sequencer/SiMMLTrack.as
@@ -497,14 +497,16 @@

         /** restrict channel module type
-         *  @param restrictionModule module restriction type, defined in SiMMLTable
+         *  @param restrictionModule module restriction type, defined in SiMMLChannelRestriction
          *  @param channelNum channel number
          *  @see SiMMLChannelRestriction
          */
-        public function restrictModule(restrictionType:int, channelNum:int) {
-            _channelModuleRestriction = _table.channelModuleRestriction[SiMMLTable.NO_RESTRICTION];
-            setChannelModuleType(_channelModuleRestriction._moduleType, channelNum);
-            _channelModuleRestriction = _table.channelModuleRestriction[type];
+        public function restrictModule(restrictionModule:int, channelNum:int) : void
+        {
+            _channelModuleRestriction = _table.channelModuleRestriction[restrictionModule];
+            // same as setChannelModuleType()
+            _channelModuleSetting = _table.channelModuleSetting[_channelModuleRestriction._moduleType];
+            _voiceIndex = _channelModuleSetting.initializeTone(this, channelNum, channel.bufferIndex);
         }

@@ -553,18 +555,18 @@
         public function setChannelModuleType(type:int, channelNum:int, toneNum:int=-1) : void
         {
             // check restriction
-            if (_channelModuleRestriction.type == NO_RESTRICTION) {
-                // change module type
-                _channelModuleSetting = _table.channelModuleSetting[type];
-
-                // reset operator pgType
-                _voiceIndex = _channelModuleSetting.initializeTone(this, channelNum, channel.bufferIndex);
-
-                // select tone
-                if (toneNum != -1) {
-                    _voiceIndex = toneNum;
-                    _channelModuleSetting.selectTone(this, toneNum);
-                }
+            if (_channelModuleRestriction.type != NO_RESTRICTION) return;
+
+            // change module type
+            _channelModuleSetting = _table.channelModuleSetting[type];
+
+            // reset operator pgType
+            _voiceIndex = _channelModuleSetting.initializeTone(this, channelNum, channel.bufferIndex);
+
+            // select tone
+            if (toneNum != -1) {
+                _voiceIndex = toneNum;
+                _channelModuleSetting.selectTone(this, toneNum);
             }
         }

@@ -799,7 +801,7 @@

             // channel module setting
             _channelModuleSetting = _table.channelModuleSetting[SiMMLTable.MT_PSG];
-            _channelModuleRestriction = _table.channelModuleRestriction[SiMMLTable.NO_RESTRICTION];
+            _channelModuleRestriction = _table.channelModuleRestriction[NO_RESTRICTION];
             _channelNumber = 0;

             // initialize channel by _channelModuleSetting


remove useless import

remove useless import

--- src/aerys/minko/render/material/phong/multipass/PhongEmissiveShader.as
+++ src/aerys/minko/render/material/phong/multipass/PhongEmissiveShader.as
@@ -5,8 +5,6 @@
     import aerys.minko.render.resource.texture.ITextureResource;
     import aerys.minko.render.shader.SFloat;
     import aerys.minko.render.shader.ShaderSettings;
-    import aerys.minko.render.shader.part.phong.PhongShaderPart;
-    import aerys.minko.type.enum.Blending;
     import aerys.minko.type.enum.BlendingDestination;
     import aerys.minko.type.enum.BlendingSource;
     import aerys.minko.type.enum.DepthTest;


fix build issue

fix build issue

--- actionscript/src/com/freshplanet/ane/AirCapabilities/AirCapabilities.as
+++ actionscript/src/com/freshplanet/ane/AirCapabilities/AirCapabilities.as
@@ -348,7 +348,7 @@
 		{
 			if (Capabilities.manufacturer.indexOf("iOS") < 0)
 				return 1;
-			return _extContext.call("getNativeScale");
+			return _extContext.call("getNativeScale") as Number;
 		}

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 31
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-18T22:53:44.445926Z

Log Message:
-----------
Perforce Change 191386 by rfrishbe@ryan on 2007/12/18 17:52:29 AIR Dependency Issues. Mostly just changing types from concrete classes to interfaces. Also removing some unused private methods in Window/WindowedApplication. Bugs: SDK-14028 QA: Yes Doc: No Review: Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as
+++ frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as
@@ -24,6 +24,7 @@
 import mx.controls.Button;
 import mx.core.WindowedApplication;
 import mx.core.IFlexDisplayObject;
+import mx.core.IUITextField;
 import mx.core.IWindow;
 import mx.core.mx_internal;
 import mx.core.UIComponent;
@@ -229,7 +230,7 @@
     /**
      *  The UITextField in the title bar that displays the application title.
      */
-    public var titleTextField:UITextField;
+    public var titleTextField:IUITextField;

     //----------------------------------
     //  window
@@ -280,11 +281,11 @@

         if (!titleTextField)
         {
-            titleTextField = UITextField(createInFontContext(UITextField));
+            titleTextField = IUITextField(createInFontContext(UITextField));
             titleTextField.text = _title;
             titleTextField.styleName = getStyle("titleTextStyleName");
             titleTextField.enabled = true;
-            addChild(titleTextField);
+            addChild(DisplayObject(titleTextField));
         }

         if (!titleIconObject && _titleIcon)
@@ -746,7 +747,7 @@
     /**
      *  @private
      */
-    private function measureChromeText(textField:UITextField):Rectangle
+    private function measureChromeText(textField:IUITextField):Rectangle
     {
         var textWidth:Number = 20;
         var textHeight:Number = 14;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8481
Author:   smgilson@adobe.com
Date:     2009-07-09T17:28:31.741329Z

Log Message:
-----------
First of several checkins to update the namespace in ASDoc MXML syntax descriptions for Spark components

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ToggleButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Range.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DataGroup.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/Range.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/Range.as
@@ -36,7 +36,7 @@
  *  attributes of its superclass and adds the following tag attributes:

  *
  *

- *  <Range
+ *  <s:Range
  *    Properties
  *    maximum="100"
  *    minimum="0"
@@ -456,7 +456,7 @@
      */
     public function changeValueByStep(increase:Boolean = true):void
     {
-    	if (stepSize == 0)
+        if (stepSize == 0)
             return;

         var newValue:Number = (increase) ? value + stepSize : value - stepSize;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4314
Author:   gruehle@adobe.com
Date:     2008-12-15T22:40:02.103600Z

Log Message:
-----------
Initial checkin of style support in the Spark skins. See the "Styling Gumbo Components" spec for details.

QE Notes: Bitmap compares will be different for many skins. Joan will update the bitmaps.
Doc Notes: See spec for details.
Bugs: -
Reviewer: Corey

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDefaultItemRenderer.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxFocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarDownButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSpinnerIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHScrollBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxNumericStepperSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSpinnerDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVScrollBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarRightButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxTextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSpinnerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHScrollBarTrackSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/SparkColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxCheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollBarLeftButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxRadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHScrollBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
+++ frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as
@@ -21,10 +21,14 @@

 	<Rect left="0" right="0" top="0" bottom="0">
 		<fill>
-			<SolidColor color="0xFFFFFF"
-                        color.hovered="0xCEDBEF"
-                        color.selected="0xA8C6EE" />
+			<SolidColor color="{contentColor}" />
 		</fill>
+		<fill.hovered>
+		    <SolidColor color="{rollOverColor}" />
+		</fill.hovered>
+		<fill.selected>
+		    <SolidColor color="{selectionColor}" />
+		</fill.selected>
 	</Rect>
 	<TextBox id="labelField" text="{data}" verticalCenter="0" left="3" right="3" top="6" bottom="4" />