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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridBase.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: 19231
Author:   jszeto@adobe.com
Date:     2010-12-09T19:25:51.943016Z

Log Message:
-----------
Mobile Skin Fixes

Merging in revisions 18989-19158 from hero_skin_sandbox.

The following component skins have been updated and 320 DPI skins added:

Button
CheckBox
RadioButton
TextInput
TextArea
ActionBar
HSlider

Updating MobileSkins test project

QE notes: baseline regen
Doc notes: none
Bugs: none
Reviewer: Jason San Jose, Tom Krakit
Tests run: full cyclone
Is noteworthy for integration: yes, updated skins!

Modified Paths:
--------------
129 paths were modified

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as
@@ -13,7 +13,7 @@
 {
 import flash.display.DisplayObject;
 import flash.display.Graphics;
-
+
 /**
  *  Actionscript based skin for toggle buttons. This class can not be used
  *  by itself. You must subclass and specify a
@@ -37,7 +37,7 @@
         layoutPaddingRight = 15;
         layoutPaddingTop = 15;
         layoutPaddingBottom = 15;
-
+
         // Instruct the super class to ignore the "icon" style.
         // Instead, we're going to use the protected members
         // (initialized in the sub-classes):
@@ -91,14 +91,44 @@
     protected var downSelectedIconClass:Class;

     /**
-     *  The Class used to create the symbol icon in all selected states
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    protected var symbolIconClass:Class;
+     *  The Class used to create the symbol icon in all deselected states
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var upSymbolIconClass:Class;
+
+    /**
+     *  The Class used to create the selected symbol icon in all selected states
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var upSymbolIconSelectedClass:Class;
+
+    /**
+     *  The Class used to create the symbol icon in all deselected states
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var downSymbolIconClass:Class;
+
+    /**
+     *  The Class used to create the selected symbol icon in all selected states
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var downSymbolIconSelectedClass:Class;

     /**
      *  Optional symbol to display selection state
@@ -127,35 +157,46 @@
     }

     /**
+     *  @private
+     *  CheckBox chromeColor is flat, no gradient.
+     */
+    override protected function beginChromeColorFill(chromeColorGraphics:Graphics):void
+    {
+        // solid color fill for selectable buttons
+        chromeColorGraphics.beginFill(getChromeColor());
+    }
+
+    /**
      *  @private
      */
     override protected function commitCurrentState():void
     {
         super.commitCurrentState();

-        // Check for selected or not selected
+        // check for selected or not selected
         if (currentState != null)
         {
+            // if (currentState == "up" || currentState == "disabled")
             var currentStateIconClass:Class = upIconClass;
+            var currentSymbolClass:Class = upSymbolIconClass;
             var isSelected:Boolean = false;

             if (currentState == "down")
             {
                 currentStateIconClass = downIconClass;
-            }
-            else if (currentState == "upAndSelected")
+                currentSymbolClass = downSymbolIconClass;
+            }
+            else if ((currentState == "upAndSelected")
+                || (currentState == "disabledAndSelected"))
             {
                 currentStateIconClass = upSelectedIconClass;
+                currentSymbolClass = upSymbolIconSelectedClass;
                 isSelected = true;
             }
             else if (currentState == "downAndSelected")
             {
                 currentStateIconClass = downSelectedIconClass;
-                isSelected = true;
-            }
-            else if (currentState.indexOf("AndSelected") != -1)
-            {
-                currentStateIconClass = upSelectedIconClass;
+                currentSymbolClass = downSymbolIconSelectedClass;
                 isSelected = true;
             }

@@ -166,28 +207,37 @@
                 ? DisplayObject(symbolIcon) : null;
             var hasSymbol:Boolean = (symbolObj) && contains(symbolObj);

-            if (hasSymbol && !isSelected)
-            {
-                removeChild(DisplayObject(symbolObj));
+            symbolIcon = null;
+
+            // remove the old symbol
+            if (hasSymbol)
+            {
+                // no current symbol exists
+                // or is existing symbol different than the current symbol
+                if ((currentSymbolClass == null)
+                    || !(symbolObj is currentSymbolClass))
+                {
+                    removeChild(DisplayObject(symbolObj));
+                    invalidateDisplayList();
+                }
+            }
+
+            // add the current symbol
+            if (currentSymbolClass != null)
+            {
+                symbolIcon = new currentSymbolClass();
+                addChild(DisplayObject(symbolIcon));
+
                 invalidateDisplayList();
             }
-            else if (!hasSymbol && isSelected)
-            {
-                symbolIcon = new symbolIconClass();
-
-                addChild(DisplayObject(symbolIcon));
-                invalidateDisplayList();
-            }
         }
     }
-
+
     /**
      *  @private
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
-        graphics.clear();
-
         super.updateDisplayList(unscaledWidth, unscaledHeight);

         // TODO (jszeto) Does this need to go into a seperate DisplayObject to avoid it from getting


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

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

 package mx.charts.series
 {


Reformatted Product canvas.  Standardized names.

--- BroadleafCommerceAdmin/src-flex/org/broadleafcommerce/admin/control/events/catalog/BuildCatalogTreeEvent.as
+++ BroadleafCommerceAdmin/src-flex/org/broadleafcommerce/admin/control/events/catalog/BuildCatalogTreeEvent.as
@@ -1,16 +0,0 @@
-package org.broadleafcommerce.admin.control.events.catalog
-{
-	import com.adobe.cairngorm.control.CairngormEvent;
-
-	public class BuildCatalogTreeEvent extends CairngormEvent
-	{
-
-		public static const EVENT_BUILD_CATALOG_TREE:String = "build_catalog_tree_event";
-
-		public function BuildCatalogTreeEvent()
-		{
-			super(EVENT_BUILD_CATALOG_TREE);
-		}
-
-	}
-}


Transferred from the Adobe Open Source Subversion Repository

Revision: 12822
Author:   hhillen@paciellogroup.com
Date:     2009-12-11T01:59:23.162545Z

Log Message:
-----------
Changes to improve screen reader compatibility with ComboBoxAccImpl. Created ListAccImpl.
QE notes: none
Doc notes: none
Bugs: n/a
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<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/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="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
@@ -22,6 +22,7 @@
 import mx.core.UIComponent;
 import spark.components.List;
 import spark.components.supportClasses.ListBase;
+import spark.events.IndexChangeEvent;

@@ -63,8 +64,6 @@
     public static function enableAccessibility():void
     {
         ListBase.createAccessibilityImplementation =
-            createAccessibilityImplementation;
-        List.createAccessibilityImplementation =
             createAccessibilityImplementation;
     }

@@ -379,7 +378,7 @@
         {
             case "change":
             {
-                    index = ListBase(master).selectedIndex;
+                index = IndexChangeEvent(event).newIndex;

                 if (index >= 0)
                 {
@@ -391,7 +390,7 @@
             }
             case "caretChange":
             {
-                index = ListBase(master).caretIndex;
+                index = IndexChangeEvent(event).newIndex;
                 childID = index + 1;
                 Accessibility.sendEvent(master, childID,
                     AccConst.EVENT_OBJECT_FOCUS);


Transferred from the Adobe Open Source Subversion Repository

Revision: 11401
Author:   jon.avila@ssbbartgroup.com
Date:     2009-11-03T15:19:45.350029Z

Log Message:
-----------
New TextBaseAccImpl.as file to implement accessibility for components that extend TextBase.

is linked-in)
QE notes: none
Doc notes: none
Bugs: n/a
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextBaseAccImpl.as

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

--- frameworks/projects/spark/src/spark/accessibility/TextBaseAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/TextBaseAccImpl.as
@@ -45,22 +45,17 @@
     /**
      *  @private
      */
+    private static const STATE_SYSTEM_READONLY:uint = 0x00000040;
+
+    /**
+     *  @private
+     */
+    private static const STATE_SYSTEM_FOCUSABLE:uint = 0x00100000;
+
+    /**
+     *  @private
+     */
     private static const EVENT_OBJECT_NAMECHANGE:uint = 0x800C;
-
-    /**
-     *  @private
-     */
-    private static const EVENT_OBJECT_STATECHANGE:uint = 0x800A;
-
-    /**
-     *  @private
-     */
-		private static const STATE_SYSTEM_READONLY:uint = 0x00000040;
-
-    /**
-     *  @private
-     */
-	  private static const STATE_SYSTEM_UNAVAILABLE:uint = 0x00000001;

     //--------------------------------------------------------------------------
     //
@@ -141,7 +136,7 @@
      */
     override protected function get eventsToHandle():Array
     {
-        return super.eventsToHandle.concat(["show","hide","updateComplete"]);
+        return super.eventsToHandle.concat(["updateComplete"]);
     }

     //--------------------------------------------------------------------------
@@ -166,11 +161,10 @@
     {
         var accState:uint = getState(childID);

-				accState = STATE_SYSTEM_READONLY;
-
-        if (TextBase(master).enabled == false)
-            accState |= STATE_SYSTEM_UNAVAILABLE;
-
+        accState &= ~STATE_SYSTEM_FOCUSABLE;
+
+        accState |= STATE_SYSTEM_READONLY;
+
         return accState;
     }

@@ -219,18 +213,12 @@

         switch (event.type)
         {
-            case "show": case "hide":
+            case "updateComplete":
             {
-                Accessibility.sendEvent(master, 0, EVENT_OBJECT_STATECHANGE);
+                Accessibility.sendEvent(master, 0, EVENT_OBJECT_NAMECHANGE);
                 Accessibility.updateProperties();
                 break;
             }
-            case "updateComplete":
-            {
-								Accessibility.sendEvent(master, 0, EVENT_OBJECT_NAMECHANGE);
-								Accessibility.updateProperties();
-								break;
-            }
         }
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19167
Author:   smgilson@adobe.com
Date:     2010-12-08T21:07:50.821383Z

Log Message:
-----------
first ASDoc pass on view transitions

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/CrossFadeViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransitionMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransitionMode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ViewTransitionDirection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransitionMode.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/FlipViewTransition.as
@@ -41,14 +41,19 @@
 use namespace mx_internal;

 /**
- *  The FlipViewTransition class serves as a simple flip transition for
- *  views.  The flip transition supports two modes (card and cube)
+ *  The FlipViewTransition class performs a simple flip transition for  views.
+ *  The flip transition supports two modes (card and cube)
  *  as well as an optional direction (up, down, left, or right).
  *
- *  The default duration of a FlipViewTransition is 400 ms.
+ *
The default duration of a FlipViewTransition is 400 ms.

+ *
+ *
Note:Create and configure view transitions in ActionScript;
+ *  you cannot create them in MXML.

+ *
+ *  @see FlipViewTransitionMode
+ *  @see ViewTransitionDirection
  *
  *  @langversion 3.0
- *  @playerversion Flash 10
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
@@ -64,7 +69,6 @@
      *  Constructor.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -164,9 +168,10 @@
      *  Specifies the direction of flip transition.
      *
      *  @default ViewTransitionDirection.LEFT
+     *
+     *  @see ViewTransitionDirection
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -193,9 +198,10 @@
      *  Specifies the type of flip transition to perform.
      *
      *  @default FlipViewTransitionMode.CARD
+     *
+     *  @see FlipViewTransitionMode
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -219,10 +225,9 @@
     //--------------------------------------------------------------------------

     /**
-     *  @inheritDoc
+     *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -242,10 +247,9 @@
     }

     /**
-     *  @inheritDoc
+     *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -261,10 +265,9 @@
     }

     /**
-     *  @inheritDoc
+     *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -286,10 +289,9 @@
     //--------------------------------------------------------------------------

     /**
-     *  @inheritDoc
+     *  @private
      *
      *  @langversion 3.0
-     *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
@@ -404,7 +406,7 @@
                 startView.visible = false;
             else
                 cachedNavigator.visible = false;
-
+
             event.target.removeEventListener("effectUpdate", effectUpdateHandler);
         }
     }


FLEX-34132  stop "[object Object]" from showing in blank columns

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridColumn.as
@@ -1783,7 +1783,7 @@
 	            if (dataField in data)
 	                data = data[dataField];
 				else
-					data = null;
+					return " "; // stops "[object Object]" showing
 			}
         }


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

--- frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridGroupItemRenderer.as
+++ frameworks/projects/advancedgrids/src/mx/controls/advancedDataGridClasses/AdvancedDataGridGroupItemRenderer.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Now Label components have a default text format of Arial 12pt and not the crappy default for TextFields

--- src/org/openPyro/controls/Label.as
+++ src/org/openPyro/controls/Label.as
@@ -1,10 +1,10 @@
 package org.openPyro.controls
 {
+	import flash.text.TextField;
+	import flash.text.TextFormat;
+
 	import org.openPyro.core.UIControl;
 	import org.openPyro.utils.StringUtil;
-
-	import flash.text.TextField;
-	import flash.text.TextFormat;

 	public class Label extends UIControl
 	{
@@ -20,10 +20,10 @@
 			_textField = new TextField();
 			setTextFieldProperties()
 			addChild(_textField);
-
-			if(_format){
-				_textField.defaultTextFormat = _format;
+			if(!_format){
+				_format = new TextFormat("Arial", 12);
 			}
+			_textField.defaultTextFormat = _format;
 			if(_text){
 				_textField.text = _text
 			}
@@ -105,7 +105,7 @@
 			// Set the _textField's text so that we can measure based on
 			// the textWidths
 			//
-			if(!_textField) return;
+			if(!_textField || !_text) return;
 			_textField.text = _text;
 			if(isNaN(this._explicitWidth) && isNaN(this._percentWidth) && isNaN(_percentUnusedWidth))
 			{


Transferred from the Adobe Open Source Subversion Repository

Revision: 20775
Author:   smgilson@adobe.com
Date:     2011-03-10T20:03:40.415513Z

Log Message:
-----------
merge 20770 - ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkPopUpAnchorAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/delegates/components/gridClasses/SparkGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mobiletheme/src/spark/skins/mobile/TransparentActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/automation/events/SparkValueChangeAutomationEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/trunk/frameworks/projects/mobiletheme/src/spark/skins/mobile/TransparentNavigationButtonSkin.as</path>
<path kind="dir" action="M">/private/flex/sdk/trunk</path>

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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkPopUpAnchorAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkPopUpAnchorAutomationImpl.as
@@ -1,124 +1,135 @@
 package spark.automation.delegates.components
 {
-	import flash.display.DisplayObject;
-
-	import mx.automation.Automation;
-	import mx.automation.IAutomationObject;
-	import mx.automation.IAutomationObjectHelper;
-	import mx.automation.delegates.core.UIComponentAutomationImpl;
-	import mx.core.UIComponent;
-	import mx.core.mx_internal;
-
-	import spark.components.PopUpAnchor;
-
-	use namespace mx_internal;
-
-	[Mixin]
-	public class SparkPopUpAnchorAutomationImpl extends UIComponentAutomationImpl
-	{
-
-		include "../../../core/Version.as";
-
-		//--------------------------------------------------------------------------
-		//
-		//  Class methods
-		//
-		//--------------------------------------------------------------------------
-
-		/**
-		 *  Registers the delegate class for a component class with automation manager.
-		 *
-		 *  @param root DisplayObject object representing the application root.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10
-		 *  @playerversion AIR 2.5
-		 *  @productversion Flex 4.5
-		 */
-		public static function init(root:DisplayObject):void
-		{
-			Automation.registerDelegateClass(PopUpAnchor, SparkPopUpAnchorAutomationImpl);
-		}
-
-		//--------------------------------------------------------------------------
-		//
-		//  Constructor
-		//
-		//--------------------------------------------------------------------------
-
-		/**
-		 *  Constructor.
-		 *
-		 *  @param obj PopUpAnchor object to be automated.
-		 *
-		 *  @langversion 3.0
-		 *  @playerversion Flash 10
-		 *  @playerversion AIR 2.5
-		 *  @productversion Flex 4.5
-		 */
-		public function SparkPopUpAnchorAutomationImpl(obj:PopUpAnchor)
-		{
-			super(obj);
-		}
-
-		public function get popUpAnchor():PopUpAnchor
-		{
-			return uiComponent as PopUpAnchor;
-		}
-
-		/**
-		 *  @private
-		 */
-		override public function createAutomationIDPart(child:IAutomationObject):Object
-		{
-			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
-			return help.helpCreateIDPart(popUpAnchor, child);
-		}
-
-		/**
-		 *  @private
-		 */
-		override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
-		{
-			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
-			return help.helpCreateIDPartWithRequiredProperties(popUpAnchor, child,properties);
-		}
-
-		/**
-		 *  @private
-		 */
-		override public function resolveAutomationIDPart(criteria:Object):Array
-		{
-			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
-			return help.helpResolveIDPart(popUpAnchor, criteria);
-		}
-
-		/**
-		 *  @private
-		 */
-		override public function getAutomationChildren():Array
-		{
-			var childList:Array = new Array();
-			childList.push(popUpAnchor.popUp as IAutomationObject);
-			return childList;
-		}
-
-		/**
-		 *  @private
-		 */
-		override public function get numAutomationChildren():int
-		{
-			return 1;
-		}
-
-		/**
-		 *  @private
-		 */
-		override public function getAutomationChildAt(index:int):IAutomationObject
-		{
-			if(index == 0)
-				return popUpAnchor.popUp as IAutomationObject;
-			return null;
-		}
-	}
+    import flash.display.DisplayObject;
+
+    import mx.automation.Automation;
+    import mx.automation.IAutomationObject;
+    import mx.automation.IAutomationObjectHelper;
+    import mx.automation.delegates.core.UIComponentAutomationImpl;
+    import mx.core.UIComponent;
+    import mx.core.mx_internal;
+
+    import spark.components.PopUpAnchor;
+
+    use namespace mx_internal;
+
+    [Mixin]
+    /**
+     *  Defines methods and properties required to perform instrumentation for the
+     *  PopUpAnchor component.
+     *
+     *  @see spark.components.PopUpAnchor
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public class SparkPopUpAnchorAutomationImpl extends UIComponentAutomationImpl
+    {
+
+        include "../../../core/Version.as";
+
+        //--------------------------------------------------------------------------
+        //
+        //  Class methods
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  Registers the delegate class for a component class with automation manager.
+         *
+         *  @param root DisplayObject object representing the application root.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 2.5
+         *  @productversion Flex 4.5
+         */
+        public static function init(root:DisplayObject):void
+        {
+            Automation.registerDelegateClass(PopUpAnchor, SparkPopUpAnchorAutomationImpl);
+        }
+
+        //--------------------------------------------------------------------------
+        //
+        //  Constructor
+        //
+        //--------------------------------------------------------------------------
+
+        /**
+         *  Constructor.
+         *
+         *  @param obj PopUpAnchor object to be automated.
+         *
+         *  @langversion 3.0
+         *  @playerversion Flash 10
+         *  @playerversion AIR 2.5
+         *  @productversion Flex 4.5
+         */
+        public function SparkPopUpAnchorAutomationImpl(obj:PopUpAnchor)
+        {
+            super(obj);
+        }
+
+        public function get popUpAnchor():PopUpAnchor
+        {
+            return uiComponent as PopUpAnchor;
+        }
+
+        /**
+         *  @private
+         */
+        override public function createAutomationIDPart(child:IAutomationObject):Object
+        {
+            var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+            return help.helpCreateIDPart(popUpAnchor, child);
+        }
+
+        /**
+         *  @private
+         */
+        override public function createAutomationIDPartWithRequiredProperties(child:IAutomationObject, properties:Array):Object
+        {
+            var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+            return help.helpCreateIDPartWithRequiredProperties(popUpAnchor, child,properties);
+        }
+
+        /**
+         *  @private
+         */
+        override public function resolveAutomationIDPart(criteria:Object):Array
+        {
+            var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+            return help.helpResolveIDPart(popUpAnchor, criteria);
+        }
+
+        /**
+         *  @private
+         */
+        override public function getAutomationChildren():Array
+        {
+            var childList:Array = new Array();
+            childList.push(popUpAnchor.popUp as IAutomationObject);
+            return childList;
+        }
+
+        /**
+         *  @private
+         */
+        override public function get numAutomationChildren():int
+        {
+            return 1;
+        }
+
+        /**
+         *  @private
+         */
+        override public function getAutomationChildAt(index:int):IAutomationObject
+        {
+            if(index == 0)
+                return popUpAnchor.popUp as IAutomationObject;
+            return null;
+        }
+    }
 }


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkToggleButtonAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkToggleButtonAutomationImpl.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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 spark.automation.delegates.components
 {


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

--- frameworks/projects/wireframe/src/mx/skins/wireframe/ProgressIndeterminateSkin.as
+++ frameworks/projects/wireframe/src/mx/skins/wireframe/ProgressIndeterminateSkin.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2004-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.skins.wireframe
 {


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

--- frameworks/projects/automation_spark/src/mx/automation/delegates/controls/dataGridClasses/FTEDataGridItemRendererAutomationImpl.as
+++ frameworks/projects/automation_spark/src/mx/automation/delegates/controls/dataGridClasses/FTEDataGridItemRendererAutomationImpl.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


OFC-337 Boolean Input field allows to enter numbers

--- collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/presenter/BooleanInputFieldPresenter.as
+++ collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/presenter/BooleanInputFieldPresenter.as
@@ -1,10 +1,9 @@
 package org.openforis.collect.presenter {
-	import mx.controls.TextInput;
-
 	import org.openforis.collect.i18n.Message;
 	import org.openforis.collect.model.proxy.AttributeProxy;
 	import org.openforis.collect.model.proxy.FieldProxy;
 	import org.openforis.collect.ui.component.input.BooleanInputField;
+	import org.openforis.collect.ui.component.input.TextInput;
 	import org.openforis.collect.util.StringUtil;

 	/**
@@ -15,14 +14,13 @@

 		private static const TRUE:String = Message.get("edit.booleanValue.true");
 		private static const FALSE:String = Message.get("edit.booleanValue.false");
-		private static const RESTRICT_PATTERN:String = "[" + TRUE + FALSE + TRUE.toLowerCase() + FALSE.toLowerCase() + "\*\-\?]";
+		private static const RESTRICT_PATTERN:String = "^(\\*|-|\\?|" + TRUE + "|" + TRUE.toLowerCase() + "|" + FALSE + "|" + FALSE.toLowerCase() + ")$";

 		private var _view:BooleanInputField;

 		public function BooleanInputFieldPresenter(inputField:BooleanInputField) {
 			_view = inputField;
-
-			(inputField.textInput as TextInput).restrict = RESTRICT_PATTERN;
+			_view.restrict = RESTRICT_PATTERN;
 			super(inputField);
 		}


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

--- frameworks/projects/automation_dmv/src/mx/automation/delegates/advancedDataGrid/AdvancedDataGridBaseExAutomationImpl.as
+++ frameworks/projects/automation_dmv/src/mx/automation/delegates/advancedDataGrid/AdvancedDataGridBaseExAutomationImpl.as
@@ -0,0 +1,634 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.advancedDataGrid
+{
+	import flash.display.DisplayObject;
+	import flash.display.InteractiveObject;
+	import flash.events.Event;
+	import flash.events.KeyboardEvent;
+	import flash.events.MouseEvent;
+	import flash.ui.Keyboard;
+
+	import mx.automation.Automation;
+	import mx.automation.IAutomationManager;
+	import mx.automation.IAutomationObject;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.automation.events.AdvancedDataGridHeaderShiftEvent;
+	import mx.automation.events.AdvancedDataGridItemSelectEvent;
+	import mx.automation.events.AutomationDragEvent;
+	import mx.automation.events.ListItemSelectEvent;
+	import mx.automation.tabularData.AdvancedDataGridTabularData;
+	import mx.controls.AdvancedDataGrid;
+	import mx.controls.AdvancedDataGridBaseEx;
+	import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;
+	import mx.controls.listClasses.IListItemRenderer;
+	import mx.core.IFlexDisplayObject;
+	import mx.core.mx_internal;
+	import mx.events.AdvancedDataGridEvent;
+	import mx.events.DragEvent;
+	import mx.events.IndexChangedEvent;
+	use namespace mx_internal;
+	/*
+	import mx.automation.tabularData.DataGridTabularData;
+	*/
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  AdvancedDataGrid control.
+	 *
+	 *  @see mx.controls.AdvancedDataGrid
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class AdvancedDataGridBaseExAutomationImpl extends AdvancedListBaseAutomationImpl
+	{
+		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(AdvancedDataGridBaseEx, AdvancedDataGridBaseExAutomationImpl);
+		}
+
+		/**
+		 *  Constructor.
+		 * @param obj AdvancedDataGrid object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function AdvancedDataGridBaseExAutomationImpl(obj:AdvancedDataGrid)
+		{
+			super(obj);
+
+
+			obj.addEventListener(IndexChangedEvent.HEADER_SHIFT, headerShiftHandler, false, 0, true);
+			obj.addEventListener(AdvancedDataGridEvent.HEADER_RELEASE, headerReleaseHandler, false, 0, true);
+			obj.addEventListener(AdvancedDataGridEvent.COLUMN_STRETCH, columnStretchHandler, false, 0, true);
+
+		}
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get grid():AdvancedDataGrid
+		{
+			return uiComponent as AdvancedDataGrid;
+		}
+		/**
+		 * @private
+		 */
+		override public function getAutomationChildren():Array
+		{
+			var childrenList:Array = new Array();
+			var listItems:Array = grid.rendererArray;
+
+			// we get this as the 2 dim array of row and columns
+			// we need to make this as single element array
+			//while (!listItems[row][col]
+			var  rowcount:int  = listItems?listItems.length:0;
+			if (rowcount != 0)
+			{
+				var coulumcount:int = 0;
+
+				if ((listItems[0]) is Array)
+					coulumcount = (listItems[0] as Array).length;
+
+				for (var i:int = 0; i < rowcount ; i++)
+				{
+					for (var j:int = 0; j < coulumcount ; j++)
+					{
+						var item:IListItemRenderer = listItems[i][j];
+						if (item)
+						{
+							if (grid.itemEditorInstance &&
+								grid.editedItemPosition &&
+								item == grid.editedItemRenderer)
+								childrenList.push(grid.itemEditorInstance as IAutomationObject);
+							else
+								childrenList.push(item as IAutomationObject);
+						}
+					}
+				}
+			}
+
+			return  childrenList;
+		}
+
+
+		/**
+		 * @private
+		 */
+
+		override public function getAutomationChildAt(index:int):IAutomationObject
+		{
+			var listItems:Array = grid.rendererArray;
+			var numCols:int = listItems[0].length;
+			var row:uint = uint(numCols == 0 ? 0 : index / numCols);
+			var col:uint = uint(numCols == 0 ? index : index % numCols);
+			var item:IListItemRenderer = listItems[row][col];
+
+			if (grid.itemEditorInstance &&
+				grid.editedItemPosition &&
+				item == grid.editedItemRenderer)
+				return grid.itemEditorInstance as IAutomationObject;
+
+			return  item as IAutomationObject;
+		}
+
+		/**
+		 * @private
+		 */
+		override public function getItemAutomationIndex(delegate:IAutomationObject):String
+		{
+			var item:IListItemRenderer = delegate as IListItemRenderer;
+			if (item == grid.itemEditorInstance && grid.editedItemPosition)
+				item = grid.editedItemRenderer;
+			var row:int = grid.itemRendererToIndex(item);
+			return (row < 0
+				? getItemAutomationName(delegate)
+				: grid.gridColumnMap[item.name].dataField + ":" + row);
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function getItemAutomationValue(item:IAutomationObject):String
+		{
+			return getItemAutomationNameOrValueHelper(item, false);
+		}
+
+		/**
+		 *  @private
+		 */
+		override public function getItemAutomationName(item:IAutomationObject):String
+		{
+			return getItemAutomationNameOrValueHelper(item, true);
+		}
+
+		/**
+		 *  @private
+		 */
+		protected function getItemAutomationNameOrValueHelper(delegate:IAutomationObject,
+															  useName:Boolean):String
+		{
+			var result:Array = [];
+			var item:IListItemRenderer = delegate as IListItemRenderer;
+
+			if (item == grid.itemEditorInstance)
+				item = grid.editedItemRenderer;
+
+			var row:int = grid.itemRendererToIndex(item);
+			if ((row == int.MIN_VALUE)|| (row < 0 ))
+				return null;
+
+			// get the complete information from the tabular date
+
+			var tempTabData:AdvancedDataGridTabularData = new  AdvancedDataGridTabularData(grid);
+			result = tempTabData.getValues(row,row);
+			result = result[0];
+
+			// get the selected cell Index among the visible cell index
+			var selectedCellPos:Number = 0;
+
+			row = row < grid.lockedRowCount ?
+				row :
+				row - grid.verticalScrollPosition;
+
+
+
+			var listItems:Array = grid.rendererArray;
+			var selectedCellFound:Boolean = false;
+
+			for (var col:int = 0; col < listItems[row].length; col++)
+			{
+				var i:IListItemRenderer = listItems[row][col];
+				if (i == item)
+				{
+					selectedCellFound = true;
+					break;
+				}
+
+			}
+
+			if (selectedCellFound)
+				selectedCellPos = col + grid.horizontalScrollPosition;
+
+			//change the sring at the selected cellposition
+			var tempString:String = result[selectedCellPos];
+			tempString = "*" + tempString + "*";
+			result[selectedCellPos]= tempString;
+
+
+			return result.join(" | ");
+
+
+		}
+
+
+
+		/**
+		 *  @private
+		 */
+		override public function replayAutomatableEvent(interaction:Event):Boolean
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			var mouseEvent:MouseEvent;
+			switch (interaction.type)
+			{
+				case "headerShift":
+				{
+
+					if (interaction is IndexChangedEvent)
+					{
+						var icEvent:IndexChangedEvent = IndexChangedEvent(interaction);
+						grid.shiftColumns(icEvent.oldIndex, icEvent.newIndex);
+					}
+					else if (interaction is AdvancedDataGridHeaderShiftEvent)
+					{
+
+
+						var event:AdvancedDataGridHeaderShiftEvent = AdvancedDataGridHeaderShiftEvent(interaction);
+						grid.movingColumnIndex = event.movingColumnIndex;
+
+						grid.shiftColumns(event.oldColumnIndex, event.newColumnIndex);
+
+					}
+
+					return true;
+				}
+
+				case AdvancedDataGridItemSelectEvent.HEADER_RELEASE :
+				{
+					var adgAutomationEvent:AdvancedDataGridItemSelectEvent = interaction as AdvancedDataGridItemSelectEvent;
+					if (adgAutomationEvent.columnIndex >= 0)
+					{
+						// check whether we got this event from keyboard or mouse
+						// if it is from the keyboard, we need to create a new keyboard event
+						// and replay as the handling of the keyoard and mouse events are different on ADG.
+						if (adgAutomationEvent.triggerEvent as KeyboardEvent)
+						{
+							var newKeyBoardEvent:KeyboardEvent = new KeyboardEvent(KeyboardEvent.KEY_DOWN);
+							newKeyBoardEvent.keyCode = Keyboard.SPACE;
+							if (adgAutomationEvent.ctrlKey || adgAutomationEvent.shiftKey)
+							{
+								newKeyBoardEvent.ctrlKey = adgAutomationEvent.ctrlKey;
+								newKeyBoardEvent.shiftKey = adgAutomationEvent.shiftKey;
+								newKeyBoardEvent.keyCode = Keyboard.SPACE;
+							}
+							help.replayKeyboardEvent(grid,newKeyBoardEvent);
+						}
+						else
+						{
+							var de:AdvancedDataGridEvent = new AdvancedDataGridEvent(AdvancedDataGridEvent.HEADER_RELEASE);
+							de.itemRenderer = adgAutomationEvent.itemRenderer;
+							de.columnIndex = adgAutomationEvent.columnIndex;
+							de.dataField=adgAutomationEvent.dataField;
+							de.headerPart=adgAutomationEvent.headerPart;
+
+							// create a new mouse event with the flexcontrol set
+							var newMouseEvent:MouseEvent = new MouseEvent("click");
+							if (adgAutomationEvent.ctrlKey || adgAutomationEvent.shiftKey)
+							{
+								newMouseEvent.ctrlKey = adgAutomationEvent.ctrlKey;
+								newMouseEvent.shiftKey = adgAutomationEvent.shiftKey;
+							}
+							de.triggerEvent= newMouseEvent;
+							uiComponent.dispatchEvent(de);
+						}
+
+					}
+					return true ;
+				}
+				case AdvancedDataGridEvent.COLUMN_STRETCH:
+				{
+					// get the locked and unlocked separator
+					var nonLockedSeparators:Array = grid.getSeparators() as Array;
+					var lockedSeparators:Array =grid.getLockedSeparators() as Array;
+
+					// we need to combine these two  arrays
+					// however we have an extra separator in the combined one, which is
+					// due to the boundary separation of these.
+					// hence one needs to be removed.
+					var combinedSeparators:Array = new Array();
+					combinedSeparators = combinedSeparators.concat(lockedSeparators);
+					if (combinedSeparators.length != 0)
+						combinedSeparators.splice(combinedSeparators.length-1, 1);
+					// remove the last elemenet
+
+					// add the non locked separators
+					combinedSeparators = combinedSeparators.concat(nonLockedSeparators);
+
+					var s:IFlexDisplayObject = combinedSeparators[AdvancedDataGridEvent(interaction).columnIndex];
+					s.dispatchEvent(new MouseEvent(MouseEvent.MOUSE_DOWN));
+					// localX needs to be passed in the constructor
+					// to get stageX value computed.
+					mouseEvent = new MouseEvent(MouseEvent.MOUSE_UP,
+						true, // bubble
+						false, // cancellable
+						AdvancedDataGridEvent(interaction).localX,
+						20, // dummy value
+						uiComponent as InteractiveObject );
+					return help.replayMouseEvent(uiComponent, mouseEvent);
+				}
+
+				case AdvancedDataGridEvent.ITEM_EDIT_BEGIN:
+				{
+					var adgEvent:AdvancedDataGridEvent = new AdvancedDataGridEvent(AdvancedDataGridEvent.ITEM_EDIT_BEGINNING);
+					var input:AdvancedDataGridEvent = interaction as AdvancedDataGridEvent;
+					adgEvent.itemRenderer = input.itemRenderer;
+					adgEvent.rowIndex = input.rowIndex;
+					adgEvent.columnIndex = input.columnIndex;
+					uiComponent.dispatchEvent(adgEvent);
+				}
+
+				case ListItemSelectEvent.DESELECT:
+				case ListItemSelectEvent.MULTI_SELECT:
+				case ListItemSelectEvent.SELECT:
+				default:
+				{
+					return super.replayAutomatableEvent(interaction);
+				}
+			}
+		}
+
+
+
+
+		/**
+		 * @private
+		 */
+		override protected function keyDownHandler(event:KeyboardEvent):void
+		{
+			return;
+		}
+		/**
+		 *  @private
+		 */
+		protected function keyDownHandler1(event:KeyboardEvent):void
+		{
+			if (grid.itemEditorInstance || event.target != event.currentTarget)
+				return;
+
+
+			if (event.keyCode == Keyboard.SPACE)
+			{
+				var listItems:Array = grid.rendererArray;
+				var caretIndex:int = grid.getCaretIndex();
+				if (caretIndex >= 0)
+				{
+					//var selectedCellColumnIndex:int = (grid.selectedCells[0]).columnIndex;
+
+					//if( selectedCellColumnIndex < 0)
+					//{
+					//  selectedCellColumnIndex = 0;
+					//}
+					//var rendererIndex:int = caretIndex - listBase.verticalScrollPosition
+					//                      + listBase.lockedRowCount;
+					//var item:IListItemRenderer = listItems[rendererIndex][selectedCellColumnIndex] as IListItemRenderer;
+					//recordListItemSelectEvent(item, event);
+					recordAutomatableEvent(event);
+				}
+				else
+				{
+					var column:AdvancedDataGridColumn = (grid.columns)[grid.headerIndex];
+					if (column)
+					{
+						var dataFieldStrig:String = column.dataField;
+						recordADGHeaderClickEvent(grid.headerIndex,dataFieldStrig,event,true);
+					}
+					else
+					{
+						// this case would have been user pressing the ctrl space
+						recordAutomatableEvent(event);
+					}
+				}
+
+
+			}
+			else if (event.keyCode != Keyboard.SPACE &&
+				event.keyCode != Keyboard.CONTROL &&
+				event.keyCode != Keyboard.SHIFT &&
+				event.keyCode != Keyboard.TAB)
+				recordAutomatableEvent(event);
+		}
+
+
+		/**
+		 *  @private
+		 */
+		private function columnStretchHandler(event:AdvancedDataGridEvent):void
+		{
+			recordAutomatableEvent(event);
+		}
+
+		/**
+		 *  @private
+		 */
+		private function headerReleaseHandler(event:AdvancedDataGridEvent):void
+		{
+			recordADGHeaderReleaseEvent(event);
+		}
+
+		/**
+		 *  @private
+		 */
+		private function headerShiftHandler(event:IndexChangedEvent):void
+		{
+			if (event.triggerEvent)
+			{
+				if ((event.target as AdvancedDataGrid).columnGrouping)
+				{
+					// we need the movingcolumnIndex and the new and old index if the ADG
+					// is with colum grouping
+					var movingcolumnIndex:int = (event.target as AdvancedDataGrid).movingColumnIndex;
+
+					// so created the special Automation event for the column grouping
+					var autmationHeaderShiftEvent:AdvancedDataGridHeaderShiftEvent = new AdvancedDataGridHeaderShiftEvent(
+						event.type,movingcolumnIndex,event.oldIndex,event.newIndex,event.bubbles,event.cancelable,event.triggerEvent);
+
+					// recrod the special automation event
+					recordAutomatableEvent(autmationHeaderShiftEvent);
+				}
+				else
+				{
+					// i.e current ADG does not use the column grouping
+					recordAutomatableEvent(event);
+				}
+			}
+		}
+
+		/**
+		 *  @private
+		 */
+		private function itemEditHandler(event:AdvancedDataGridEvent):void
+		{
+			recordAutomatableEvent(event, true);
+		}
+
+		/**
+		 *  @private
+		 */
+		override protected function dragDropHandler(event:DragEvent):void
+		{
+			if (dragScrollEvent)
+			{
+				recordAutomatableEvent(dragScrollEvent);
+				dragScrollEvent=null;
+			}
+
+			var am:IAutomationManager = Automation.automationManager;
+			var index:int = grid.calculateDropIndex(event);
+			var drag:AutomationDragEvent = new AutomationDragEvent(event.type);
+			drag.action = event.action;
+
+			if (grid.dataProvider && index != grid.dataProvider.length)
+			{
+
+				if (index >= grid.lockedRowCount)
+					index -= grid.verticalScrollPosition;
+
+				var rc:Number = grid.rendererArray.length;
+				if (index >= rc)
+					index = rc - 1;
+
+				if (index < 0)
+					index = 0;
+
+				if (grid.rendererArray && grid.rendererArray[0] && grid.rendererArray[0].length)
+					index = index * grid.rendererArray[0].length;
+
+				drag.draggedItem = getAutomationChildAt(index);
+			}
+
+			preventDragDropRecording = false;
+			am.recordAutomatableEvent(uiAutomationObject, drag);
+			preventDragDropRecording = true;
+		}
+
+		/**
+		 *  @private
+		 */
+		override protected function mouseDownHandler(event:MouseEvent):void
+		{
+
+			super.mouseDownHandler(event);
+		}
+
+		/**
+		 * @private
+		 */
+		override protected function mouseClickHandler(event:MouseEvent):void
+		{
+			super.mouseClickHandler(event);
+		}
+
+
+		/**
+		 * @private
+		 */
+		protected function recordADGHeaderReleaseEvent( adgEvent:AdvancedDataGridEvent,
+														cacheable:Boolean=true):void
+		{
+			var keyEvent:KeyboardEvent = adgEvent.triggerEvent as KeyboardEvent;
+			var mouseEvent:MouseEvent = adgEvent.triggerEvent as MouseEvent;
+
+			var event:AdvancedDataGridItemSelectEvent = new AdvancedDataGridItemSelectEvent(adgEvent.type);
+
+			event.itemRenderer = adgEvent.itemRenderer;
+
+			event.triggerEvent = adgEvent.triggerEvent;
+			event.columnIndex = adgEvent.columnIndex;
+			event.dataField = adgEvent.dataField;
+			event.headerPart = adgEvent.headerPart;
+			if (!adgEvent.dataField)
+			{
+				event.dataField ="groupHeader";
+			}
+			if (keyEvent)
+			{
+				event.ctrlKey = keyEvent.ctrlKey;
+				event.shiftKey = keyEvent.shiftKey;
+				event.altKey = keyEvent.altKey;
+				recordAutomatableEvent(event, cacheable);
+			}
+			else if (mouseEvent)
+			{
+				event.ctrlKey = mouseEvent.ctrlKey;
+				event.shiftKey = mouseEvent.shiftKey;
+				event.altKey = mouseEvent.altKey;
+				recordAutomatableEvent(event, cacheable);
+			}
+			else
+			{
+				recordAutomatableEvent(event);
+			}
+
+		}
+
+
+
+		/**
+		 * @private
+		 */
+		protected function recordADGHeaderClickEvent( columnIndex:Number,dataFieldStrig:String,adgEvent:KeyboardEvent,
+													  cacheable:Boolean=true):void
+		{
+
+			var keyEvent:KeyboardEvent = adgEvent as KeyboardEvent;
+
+			var event:AdvancedDataGridItemSelectEvent = new AdvancedDataGridItemSelectEvent("headerRelease");
+			event.triggerEvent = adgEvent;
+			event.columnIndex = columnIndex;
+			event.dataField = dataFieldStrig;
+			if (keyEvent)
+			{
+				event.ctrlKey = keyEvent.ctrlKey;
+				event.shiftKey = keyEvent.shiftKey;
+				event.altKey = keyEvent.altKey;
+				recordAutomatableEvent(event, cacheable);
+			}
+			else
+			{
+				recordAutomatableEvent(event);
+			}
+
+		}
+
+
+
+
+	}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10006
Author:   gruehle@adobe.com
Date:     2009-09-03T22:04:47.081899Z

Log Message:
-----------
Initial checkin of the "More styles for Spark skins" feature. Details here:
http://opensource.adobe.com/wiki/display/flexsdk/More+Styles+for+Spark+Skins

There are some known issues:
* Panel bottom corners not rounded correctly when the panel has a control bar
* cornerRadius on Tab and DateChooser non functional
* cornerRadius values > 4 have drawing artifacts in the "down" state of Button and button-like components
* TextInput/TextArea incorrectly list lineBreak and verticalAlign as valid styles

This checkin also includes a couple minor unrelated bug fixes:
* Remove MiniDebugTarget. This is a logging target that used MiniDebug, which hasn't worked since Flex 1.5
* Fix RTEs when setting focusSkin to null
* Optimization: don't measure skins if the host component has explicit sizes

QE notes: Yes, many baseline images will need to be regenerated
Doc notes: New ASDoc comments should be scrubbed
Bugs: SDK-22931, SDK-22798, SDK-22217, SDK-19358
Reviewer: Jason
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mxml</path>
<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/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/targets/MiniDebugTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mxml</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/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/SpinnerDecrementButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/BasicTests.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.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/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.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/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</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/skins/spark/SpinnerIncrementButtonSkin.mxml</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/sparkskins/src/mx/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</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/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin.mxml</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/skins/spark/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</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/skins/spark/NumericStepperTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/basicTests/spark/scripts/BorderTestScript.mxml</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/skins/spark/FocusSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ApplicationSkin.mxml</path>

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

--- frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as
+++ frameworks/projects/sparkskins/src/mx/skins/spark/SparkSkinForHalo.as
@@ -10,8 +10,6 @@
 ////////////////////////////////////////////////////////////////////////////////

 package mx.skins.spark {
-
-import mx.core.UIComponent;

 import spark.skins.SparkSkin;

@@ -73,6 +71,21 @@
     }

     /**
+     *  Default border alpha. If NaN, don't change alpha value.
+     *
+     *  @default NaN
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    protected function get defaultBorderAlpha():Number
+    {
+        return NaN;
+    }
+
+    /**
      *  @private
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
@@ -84,6 +97,7 @@
             var isError:Boolean = false;
             var borderItemColor:uint;
             var errorColor:uint = getStyle("errorColor");
+            var borderAlpha:Number = defaultBorderAlpha;

             if (getStyle("borderColor") == errorColor)
                 borderItemColor = errorColor;
@@ -93,7 +107,11 @@
             for (var i:int = 0; i < borderItems.length; i++)
             {
                 if (this[borderItems[i]])
+                {
                     this[borderItems[i]].color = borderItemColor;
+                    if (!isNaN(borderAlpha))
+                        this[borderItems[i]].alpha = borderAlpha;
+                }
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19134
Author:   dloverin@adobe.com
Date:     2010-12-08T12:31:35.254443Z

Log Message:
-----------
Make AIR Window visible after it is activated.

In revision 10899 super.setVisible() starting being called when the Window component’s visibility was set. In the bug’s scenario the Window component’s visibility is initialized to false. Next the Window is activated. The NativeWindow’s activate() method makes the NativeWindow visible. The problem is the Window component is not visible. The Window activate() function was changed to set the component’s visibility to true to fix the bug.

QE notes: None.
Doc notes: None.
Bugs: SDK-26882
Reviewer: Ryan
Tests run: checkintests, apollo/Window, apollo/WindowedApplication, apollo/spark/components
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airspark/src/spark/components/Window.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -2710,7 +2710,13 @@
     public function activate():void
     {
         if (!systemManager.stage.nativeWindow.closed)
+        {
             systemManager.stage.nativeWindow.activate();
+
+            // activate makes the native window visible so this
+            // component should become visible as well.
+            visible = true;
+        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 12208
Author:   jszeto@adobe.com
Date:     2009-11-25T20:22:04.512857Z

Log Message:
-----------
AIR DragManager enhancement

http://bugs.adobe.com/jira/browse/SDK-24302 - Allow AIR DragManager to use a different implementation class

Added switch to WindowedApplication to allow developers to use the DragManagerImpl when running on the AIR Player.

QE notes: Add tests for this flag
Doc notes: Add documentation for this flag. Include in DragManager docs
Bugs: SDK-24302
Reviewer: Glenn
Tests run: checkintests
Is noteworthy for integration: Yes

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/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>

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

--- frameworks/projects/airframework/src/mx/core/WindowedApplication.as
+++ frameworks/projects/airframework/src/mx/core/WindowedApplication.as
@@ -2098,6 +2098,29 @@
         return NativeWindowType.NORMAL;
     }

+    //----------------------------------
+    //  useNativeDragManager
+    //----------------------------------
+
+    [Inspectable(defaultValue="true")]
+
+    /**
+     *  Specifies if the DragManager should use the NativeDragManagerImpl implementation class.
+     *  If false, then the DragManagerImpl class will be used.
+     *
+     *
Note: This property cannot be set by ActionScript code; it must be set in MXML code.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+
+    /*  This property is not directly read by the systemManager. It is here so that it gets
+    *  picked up by the compiler and included in the info() structure
+    *  for the generated system manager.  */
+    public var useNativeDragManager:Boolean = true;
+
     //--------------------------------------------------------------------------
     //
     //  Overridden methods: UIComponent


Transferred from the Adobe Open Source Subversion Repository

Revision: 2349
Author:   dloverin@adobe.com
Date:     2008-07-03T00:37:56.331835Z

Log Message:
-----------
PopUpRequest.as
    Remove topMost property.
    Add parent property.

SandboxUtil.as
   Add hasMutualTrustWithChild().
   Rename mutualTrustWithParent() to hasMutualTrustWithParent()

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/utils/SandboxUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/marshall-plan-3.0.x/frameworks/projects/framework/src/mx/sandbox/ISandboxBridgeGroup.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
+++ frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
@@ -205,7 +205,7 @@
 									  _systemManager.sandboxBridgeGroup.parentBridge : null;
 		if (bridge)
 		{
-			var mutualTrust:Boolean = SandboxUtil.mutualTrustWithParent(_systemManager);
+			var mutualTrust:Boolean = SandboxUtil.hasMutualTrustWithParent(_systemManager);
 			var bridgeEvent:SandboxBridgeEvent = new SandboxBridgeEvent(SandboxBridgeEvent.ACTIVATE_WINDOW,
 																		false,
 																		false,
@@ -224,7 +224,7 @@
 		var bridge:IEventDispatcher = sm.sandboxBridgeGroup ? sm.sandboxBridgeGroup.parentBridge : null;
 		if (bridge)
 		{
-			var mutualTrust:Boolean = SandboxUtil.mutualTrustWithParent(_systemManager);
+			var mutualTrust:Boolean = SandboxUtil.hasMutualTrustWithParent(_systemManager);
 			var bridgeEvent:SandboxBridgeEvent = new SandboxBridgeEvent(SandboxBridgeEvent.DEACTIVATE_WINDOW,
 																	    false,
 																	    false,


removed deprecated; added test folder

removed deprecated; added test folder

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

--- org.openwms/trunk/org.openwms.core/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/model/ModelLocator.as
+++ org.openwms/trunk/org.openwms.core/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/model/ModelLocator.as
@@ -108,11 +108,6 @@
          * The current logged in User.
          */
         public var loggedInUser : User = null;
-        [Deprecated]
-        /**
-         * DEPRECATED
-         */
-        public var image : Object;

         // --------------------------------------------------------------------
         // Module Management


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

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


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/spark/src/spark/core/IViewport.as
+++ frameworks/projects/spark/src/spark/core/IViewport.as
@@ -207,28 +207,6 @@
      */
     function get clipAndEnableScrolling():Boolean;
     function set clipAndEnableScrolling(value:Boolean):void;
-
-    /**
-     *  If clipAndEnabledScrolling is true and
-     *  inputMode is touch,
-     *  scrollAxis specifies which direction this scroller
-     *  can scroll.
-     *
-     *  Possible values for this property are vertical,
-     *  horizontal, and diagonal.
-     *
-     *  @default vertical
-     *
-     *  @see mx.core.UIComponent#inputMode
-     *  @see #clipAndEnableScrolling
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4.5
-     */
-    function get scrollAxis():String;
-    function set scrollAxis(value:String):void;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/utils/DataItem.as
+++ frameworks/projects/spark/src/spark/utils/DataItem.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 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 spark.utils
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 16143
Author:   sameer@adobe.com
Date:     2010-05-17T11:05:14.835012Z

Log Message:
-----------
Updating the length of the HierarchicalCollectionView in case of refresh event.

QE notes: None
Doc notes: None
Bugs: http://bugs.adobe.com/jira/browse/FLEXDMV-2426
Reviewer: Sreeni
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/collections/HierarchicalCollectionView.as

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

--- frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
+++ frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as
@@ -1425,7 +1425,12 @@
         if (event is CollectionEvent)
         {
             var ce:CollectionEvent = CollectionEvent(event);
-            if (ce.kind == CollectionEventKind.RESET)
+			if (ce.kind == CollectionEventKind.REFRESH)
+			{
+				// collection refreshed, update length
+				updateLength();
+			}
+			else if (ce.kind == CollectionEventKind.RESET)
             {
                 // initialize the collection again - its source is modified
                 if (hierarchicalData)


Revert last change which shouldn't have been submitted.

git-svn-id: f8d5f742b420a6a114b58659a4f85f335318e53c@1453607 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/spark/src/spark/components/gridClasses/GridHeaderViewLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridHeaderViewLayout.as
@@ -34,7 +34,6 @@
 import spark.components.GridColumnHeaderGroup;
 import spark.components.Group;
 import spark.components.supportClasses.GroupBase;
-import spark.core.NavigationUnit;
 import spark.layouts.supportClasses.LayoutBase;

 use namespace mx_internal;
@@ -381,11 +380,6 @@
         var visibleLeft:Number = 0;
         var visibleRight:Number = 0;

-        const dataGrid:DataGrid = grid.dataGrid;
-        const vsbVisible:Boolean =
-            (dataGrid && dataGrid.scroller &&
-             dataGrid.scroller.verticalScrollBar && dataGrid.scroller.verticalScrollBar.visible);
-
         // This isn't quite as simple as:
         //     for each (var columnIndex:int in visibleColumnIndices)
         // since the GridColumnHeaderGroup may be wider than the grid because it
@@ -430,19 +424,9 @@
 			var rendererX:Number = gridViewLayout.gridDimensionsView.getCellX(0, headerViewColumnIndex);
             var rendererWidth:Number = grid.getColumnWidth(columnIndex);

-            // If this is the last visible column and there is a visible vertical scroll bar then
-            // adjust the width of the last visible column header so it includes the small space
-            // on top of the vertical scroll bar.
-
-            // ToDo: This needs more work. I'm not sure what the correct behavior should be.  With
-            // the adjustment below the width of the last visible renderer seems to include most of
-            // the space over the sb but not all of it.  What is the correct width?
-            // The default header renderer will truncate the text if it doesn't fit in the width.
-            // If we're scrolling horizontally to the right, and there are more columns to the right
-            // should the header be truncated or clipped if it doesn't all fit in the width?
-            if (isLastColumn && vsbVisible)
+			if (isLastColumn)
                 rendererWidth = horizontalScrollPosition + unscaledWidth - rendererX - 1; // TODO: this is a temporary hack
-
+
             renderer.setLayoutBoundsSize(rendererWidth, rendererHeight);
             renderer.setLayoutBoundsPosition(rendererX, rendererY);

@@ -1055,4 +1039,5 @@
         gridColumnHeaderGroup.visibleSortIndicatorIndices = indices;
     }
 }
-}+}
+


Deleting items from side palette now consistently works without destroying tree structure

--- flexEditor/src/org/arisgames/editor/view/GameEditorObjectPaletteView.as
+++ flexEditor/src/org/arisgames/editor/view/GameEditorObjectPaletteView.as
@@ -621,11 +621,12 @@

     private function handleRedrawTreeEvent(evt:DynamicEvent):void
     {
-        trace("In handleRefreshTreeEvent...");
-        refreshData = true;
-        this.renderTree();
-		paletteTree.openFolders();
-        trace("Done in handleRefreshTreeEvent.");
+        trace("In handleRedrawTreeEvent...");
+
+		this.refreshData = true;
+		AppServices.getInstance().getFoldersAndContentByGameId(GameModel.getInstance().game.gameId, new Responder(handleLoadFoldersAndContentForObjectPalette, handleFault));
+
+        trace("Done in handleRedrawTreeEvent.");
     }

     public function renderTree():void
@@ -669,21 +670,7 @@
 				Alert.show("This folder has items in it and can't be deleted until they are first removed.  Please do so and then try deleting the folder again.", "Can't Delete Folder Yet");

             }
-			else if (it.parentFolderId != 0){
-				trace("This folder is a child, so can't allow it to be deleted.");
-				okDrop = false;
-				Alert.show("This folder is in a folder, and cannot be deleted until it is first removed. Please do so and then try deleting it again.", "Can't Delete Nested Object");
-
-			}
-        }
-		else
-		{
-			if(it.parentContentFolderId != 0)
-			{
-				trace("This object is in a folder, so don't allow it to be deleted.");
-				okDrop = false;
-			}
-		}
+        }

         if (okDrop)
         {
@@ -694,11 +681,7 @@
             // Accept the drop.
             DragManager.acceptDragDrop(dropTarget);
         }
-        else
-        {
-			if(!it.isFolder())
-				Alert.show("This item is in a folder, and cannot be deleted until it is first removed. Please do so and then try deleting it again.", "Can't Delete Nested Object");
-		}
+
     }

     public function trashDragExitHandler(evt:DragEvent):void
@@ -728,22 +711,9 @@
             AppServices.getInstance().deleteContent(GameModel.getInstance().game.gameId, it, new Responder(handleDeleteContent, handleFault));
         }

-        // Remove From Client Data Model
-        var index:Number;
-        for (var lc:Number = 0; lc < treeModel.length; lc++)
-        {
-            var t:ObjectPaletteItemBO = treeModel[lc] as ObjectPaletteItemBO;
-            if (t.id == it.id)
-            {
-                index = lc;
-                break;
-            }
-        }
-        trace("Found index to remove...");
-        treeModel.removeItemAt(index);
-        refreshData = true;
-        this.renderTree();
-		paletteTree.openFolders();
+        // Refresh Client Data Model
+		this.refreshData = true;
+		AppServices.getInstance().getFoldersAndContentByGameId(GameModel.getInstance().game.gameId, new Responder(handleLoadFoldersAndContentForObjectPalette, handleFault));

         // Stop Effect And Reset Trash Bin To Original State
         glowImage.end();


Transferred from the Adobe Open Source Subversion Repository

Revision: 11995
Author:   doug.lee@ssbbartgroup.com
Date:     2009-11-19T18:50:30.831767Z

Log Message:
-----------
Updated all AccImpls that use MSAA constants (except TextLayout) to
use the new AccConst references instead of hard-coding hex numbers and
local copies of the constants.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LabelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextInputAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/accessibility/WindowedApplicationAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SpinnerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TextBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SliderAccImpl.as</path>
<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/RichEditableTextAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/NumericStepperAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/SkinnableTextBaseAccImpl.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/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ToggleButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/accessibility/WindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/RadioButtonAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/RadioButtonAccImpl.as
@@ -12,6 +12,7 @@
 package spark.accessibility
 {

+import mx.accessibility.AccConst;
 import mx.core.UIComponent;
 import mx.core.mx_internal;

@@ -93,7 +94,7 @@
     {
         super(master);

-        role = 0x2D; // ROLE_SYSTEM_RADIOBUTTON
+        role = AccConst.ROLE_SYSTEM_RADIOBUTTON;
     }

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