Transferred from the Adobe Open Source Subversion Repository

Revision: 18608
Author:   dloverin@adobe.com
Date:     2010-11-16T12:47:31.739520Z

Log Message:
-----------
Grid item editor bug fixes.

http://bugs.adobe.com/jira/browse/SDK-28556
Stop an infinite loop in DataGridEditor. Added some code in getNextEditableCell() to stop when the row is negative. Also modified the logic to restore the data grid’s focusable items flags.

https://bugs.adobe.com/jira/browse/SDK-28476
Don’t edit a column that is not visible.

https://bugs.adobe.com/jira/browse/SDK-28349
When clicking outside of a cell editor, cancel the editor if the data cannot be saved (most likely because it is invalid).

https://bugs.adobe.com/jira/browse/SDK-28327
Call event.stopPropagation() on mouseMove events over the item editor to keep the datagrid from showing hover effects.

A few other small changes:

DataGridEditor:
     Call the DataGrid’s startItemEditorSession() instead of the local startItemEditorSession().

DefaultItemEditor:
     Tweaked the work around for TextArea growing past its max size. Changed the magic number from three pixels to two pixels.

QE notes: None.
Doc notes: None.
Bugs: SDK-28566, SDK-28476, SDK-28349, SDK-28327
Reviewer: Hans
Tests run: checkintests
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/DefaultGridItemEditor.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/DataGridEditor.as
@@ -505,10 +505,7 @@

             if (restoreFocusableChildren)
             {
-                dataGrid.hasFocusableChildren = saveDataGridHasFocusableChildren;
-
-                if (dataGrid.scroller)
-                    dataGrid.scroller.hasFocusableChildren = saveScrollerHasFocusableChildren;
+                restoreFocusableChildrenFlags();
             }

             itemEditorInstance = null;
@@ -738,7 +735,7 @@

         var column:GridColumn = grid.columns.getItemAt(columnIndex) as GridColumn;

-        if (!column)
+        if (!column || !column.visible)
             return false;

         // The START_GRID_ITEM_EDITOR_SESSION event is cancelable
@@ -949,7 +946,7 @@
             nextCell = getNextEditableCell(nextCell.x, nextCell.y, backward);

             if (nextCell)
-                openedEditor = startItemEditorSession(nextCell.x, nextCell.y);
+                openedEditor = dataGrid.startItemEditorSession(nextCell.x, nextCell.y);
         } while (nextCell && !openedEditor);

         return openedEditor;
@@ -987,7 +984,7 @@
                 // move to next row.
                 columnIndex = backward ? dataGrid.grid.columns.length - 1: 0;
                 var nextRow:int = rowIndex + increment;
-                if (nextRow < dataGrid.dataProvider.length)
+                if (nextRow >= 0 && nextRow < dataGrid.dataProvider.length)
                     rowIndex += increment;
                 else
                     return null;
@@ -1113,6 +1110,20 @@
                 (editedItemRenderer == child ||
                      IUIComponent(editedItemRenderer).owns(DisplayObject(child)))));
     }
+
+    /**
+     *  @private
+     *
+     *  Restore the focusable children flags.
+     */
+    private function restoreFocusableChildrenFlags():void
+    {
+        dataGrid.hasFocusableChildren = saveDataGridHasFocusableChildren;
+
+        if (dataGrid.scroller)
+            dataGrid.scroller.hasFocusableChildren = saveScrollerHasFocusableChildren;
+
+    }

     //--------------------------------------------------------------------------
     //
@@ -1176,7 +1187,7 @@
             }
             else
             {
-                startItemEditorSession(grid.caretRowIndex, grid.caretColumnIndex);
+                dataGrid.startItemEditorSession(grid.caretRowIndex, grid.caretColumnIndex);
             }
         }
     }
@@ -1218,7 +1229,12 @@
         // if an editor is already up, close it without starting a new editor.
         if (itemEditorInstance)
         {
-            dataGrid.endItemEditorSession();
+            // if the user clicks outside the cell but we can't save the data,
+            // say, because the data was invalid, then cancel the save.
+            if (!dataGrid.endItemEditorSession())
+            {
+                dataGrid.endItemEditorSession(true);
+            }
             return;
         }

@@ -1300,7 +1316,7 @@
                         InteractiveObject(lastItemDown).doubleClickEnabled == false)
                     {
                         // we don't need to wait on the time since editing double click is ok.
-                        startItemEditorSession(rowIndex, columnIndex);
+                        dataGrid.startItemEditorSession(rowIndex, columnIndex);
                     }
                     else
                     {
@@ -1365,7 +1381,12 @@
         // focus back to the dataGrid.
         if (itemEditorInstance || editedItemRenderer)
         {
-            dataGrid.endItemEditorSession();
+            // If we can't save the data, say, because the data was invalid,
+            // then cancel the save.
+            if (!dataGrid.endItemEditorSession())
+            {
+                dataGrid.endItemEditorSession(true);
+            }
             dataGrid.setFocus();
         }
     }
@@ -1388,8 +1409,14 @@
             return;

         if (itemEditorInstance || editedItemRenderer)
-            dataGrid.endItemEditorSession();
-
+        {
+            // If we can't save the data, say, because the data was invalid,
+            // then cancel the save.
+            if (!dataGrid.endItemEditorSession())
+            {
+                dataGrid.endItemEditorSession(true);
+            }
+        }
     }

     /**
@@ -1469,7 +1496,10 @@
                     {
                         if (!openEditorInNextEditableCell(lastRow, lastColumn - 1, false))
                         {
+                            // We didn't start an editor so restore the data grid's
+                            // focusable chidlren flags.
                             restoreFocusableChildren = true;
+                            restoreFocusableChildrenFlags();
                         }
                     }
                 }
@@ -1509,7 +1539,10 @@
                                                   lastEditedItemPosition.columnIndex,
                                                   event.shiftKey))
                 {
-                    restoreFocusableChildren = true;
+                    // We didn't start an editor so restore the data grid's
+                    // focusable chidlren flags.
+                    restoreFocusableChildren = true;
+                    restoreFocusableChildrenFlags();
                 }
             }
         }
@@ -1520,7 +1553,12 @@
      */
     private function editorAncestorResizeHandler(event:Event):void
     {
-        dataGrid.endItemEditorSession();
+        // If we can't save the data, say, because the data was invalid,
+        // then cancel the save.
+        if (!dataGrid.endItemEditorSession())
+        {
+            dataGrid.endItemEditorSession(true);
+        }
     }

     /**
@@ -1541,7 +1579,12 @@
             return;
         }

-        dataGrid.endItemEditorSession();
+        // If we can't save the data, say, because the data was invalid,
+        // then cancel the save.
+        if (!dataGrid.endItemEditorSession())
+        {
+            dataGrid.endItemEditorSession(true);
+        }

         // set focus back to the grid so grid logic will deal if focus doesn't
         // end up somewhere else


Transferred from the Adobe Open Source Subversion Repository

Revision: 18871
Author:   smgilson@adobe.com
Date:     2010-11-30T20:10:44.561987Z

Log Message:
-----------
Fix ASDoc version tags

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/automation_spark/src/spark/automation/tabularData/SparkDataGridTabularData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultComplexItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkScrollBarBaseAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultGridHeaderRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SprakTextAreaAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemEditor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGridAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/skins/spark/SparkDefaultGridItemRendererAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/GapStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkButtonBarBaseAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/mediaClasses/SparkVolumeBarAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkButtonBarAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SprakSkinnableTextBaseAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
@@ -288,10 +288,10 @@
      */
     override mx_internal function get exitApplicationOnBackKey():Boolean
     {
-    	if (activeNavigator)
-    		return activeNavigator.exitApplicationOnBackKey;
-
-    	return super.exitApplicationOnBackKey;
+        if (activeNavigator)
+            return activeNavigator.exitApplicationOnBackKey;
+
+        return super.exitApplicationOnBackKey;
     }

     //----------------------------------
@@ -1559,9 +1559,9 @@
      *  assigned.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     private function startTrackingUpdates(item:Object):void
     {
@@ -1580,9 +1580,9 @@
      *  source is assigned.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     private function stopTrackingUpdates(item:Object):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@1264914 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransition.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransition.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.transitions
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22591
Author:   chiedozi@adobe.com
Date:     2011-09-15T23:44:14.763386Z

Log Message:
-----------
Changing the viewNavigatorPopUp type back to Callout in the SplitViewNavigatorSkin class.  This is because the skin relies on Callout specific properties.

QE notes:
Doc notes:
Bugs:
Reviewer: Tom
Tests run: checkintests-mobile
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/SplitViewNavigatorSkin.as
@@ -70,7 +70,7 @@
     /**
      *  @copy spark.components.SplitViewNavigator#viewNavigatorPopUp
      */
-    public var viewNavigatorPopUp:SkinnablePopUpContainer;
+    public var viewNavigatorPopUp:Callout;

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8
Author:   open-source-svn-admin@adobe.com
Date:     2007-12-15T01:49:31.087529Z

Log Message:
-----------
The beginning of the open-source Flex SDK.

Populated the flex/sdk/trunk directory with an open-source subset of files from //depot/flex/sdk/...@191097 in the Faramir Perforce server. This changelist is a bit past the 3.0rc0 build.

The Ant scripts will not successfully build yet. They need to be adapted to the open-source subset.

Modified Paths:
--------------
2532 paths were modified

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

--- frameworks/projects/framework/src/mx/core/ITextFieldInterface.as
+++ frameworks/projects/framework/src/mx/core/ITextFieldInterface.as
@@ -0,0 +1,322 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+/**
+ *  The ITextField interface defines the basic set of APIs
+ *  for flash.display.TextField
+ */
+
+    /**
+     *  @copy flash.text.TextField#alwaysShowSelection
+     */
+    function get alwaysShowSelection():Boolean;
+    function set alwaysShowSelection(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#antiAliasType
+     */
+    function get antiAliasType():String;
+    function set antiAliasType(antiAliasType:String):void;
+
+    /**
+     *  @copy flash.text.TextField#autoSize
+     */
+    function get autoSize():String;
+    function set autoSize(value:String):void;
+
+    /**
+     *  @copy flash.text.TextField#background
+     */
+    function get background():Boolean;
+    function set background(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#backgroundColor
+     */
+    function get backgroundColor():uint;
+    function set backgroundColor(value:uint):void;
+
+    /**
+     *  @copy flash.text.TextField#border
+     */
+    function get border():Boolean;
+    function set border(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#borderColor
+     */
+    function get borderColor():uint;
+    function set borderColor(value:uint):void;
+
+    /**
+     *  @copy flash.text.TextField#bottomScrollV
+     */
+    function get bottomScrollV():int;
+
+    /**
+     *  @copy flash.text.TextField#caretIndex
+     */
+    function get caretIndex():int;
+
+    /**
+     *  @copy flash.text.TextField#condenseWhite
+     */
+    function get condenseWhite():Boolean;
+    function set condenseWhite(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#defaultTextFormat
+     */
+    function get defaultTextFormat():TextFormat;
+    function set defaultTextFormat(format:TextFormat):void;
+
+    /**
+     *  @copy flash.text.TextField#embedFonts
+     */
+    function get embedFonts():Boolean;
+    function set embedFonts(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#gridFitType
+     */
+    function get gridFitType():String;
+    function set gridFitType(gridFitType:String):void;
+
+    /**
+     *  @copy flash.text.TextField#htmlText
+     */
+    function get htmlText():String;
+    function set htmlText(value:String):void;
+
+    /**
+     *  @copy flash.text.TextField#length
+     */
+    function get length():int;
+
+    /**
+     *  @copy flash.text.TextField#maxChars
+     */
+    function get maxChars():int;
+    function set maxChars(value:int):void;
+
+    /**
+     *  @copy flash.text.TextField#maxScrollH
+     */
+    function get maxScrollH():int;
+
+    /**
+     *  @copy flash.text.TextField#maxScrollV
+     */
+    function get maxScrollV():int;
+
+    /**
+     *  @copy flash.text.TextField#mouseWheelEnabled
+     */
+    function get mouseWheelEnabled():Boolean;
+    function set mouseWheelEnabled(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#multiline
+     */
+    function get multiline():Boolean;
+    function set multiline(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#numLines
+     */
+    function get numLines():int;
+
+    /**
+     *  @copy flash.text.TextField#displayAsPassword
+     */
+    function get displayAsPassword():Boolean;
+    function set displayAsPassword(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#restrict
+     */
+    function get restrict():String;
+    function set restrict(value:String):void;
+
+    /**
+     *  @copy flash.text.TextField#scrollH
+     */
+    function get scrollH():int;
+    function set scrollH(value:int):void;
+
+    /**
+     *  @copy flash.text.TextField#scrollV
+     */
+    function get scrollV():int;
+    function set scrollV(value:int):void;
+
+    /**
+     *  @copy flash.text.TextField#selectable
+     */
+    function get selectable():Boolean;
+    function set selectable(value:Boolean):void;
+
+    /**
+     *  @copy flash.text.TextField#selectionBeginIndex
+     */
+    function get selectionBeginIndex():int;
+
+    /**
+     *  @copy flash.text.TextField#selectionEndIndex
+     */
+    function get selectionEndIndex():int;
+
+    /**
+     *  @copy flash.text.TextField#sharpness
+     */
+    function get sharpness():Number;
+    function set sharpness(value:Number):void;
+
+    /**
+     *  @copy flash.text.TextField#styleSheet
+     */
+    function get styleSheet():StyleSheet;
+    function set styleSheet(value:StyleSheet):void;
+
+    /**
+     *  @copy flash.text.TextField#text
+     */
+    function get text():String;
+    function set text(value:String):void;
+
+    /**
+     *  @copy flash.text.TextField#textColor
+     */
+    function get textColor():uint;
+    function set textColor(value:uint):void;
+
+    /**
+     *  @copy flash.text.TextField#textHeight
+     */
+    function get textHeight():Number;
+
+    /**
+     *  @copy flash.text.TextField#textWidth
+     */
+    function get textWidth():Number;
+
+    /**
+     *  @copy flash.text.TextField#thickness
+     */
+    function get thickness():Number;
+    function set thickness(value:Number):void;
+
+    /**
+     *  @copy flash.text.TextField#type
+     */
+    function get type():String;
+    function set type(value:String):void;
+
+    /**
+     *  @copy flash.text.TextField#wordWrap
+     */
+    function get wordWrap():Boolean;
+    function set wordWrap(value:Boolean):void;
+
+
+    /**
+     *  @copy flash.text.TextField#appendText()
+     */
+    function appendText(newText:String):void;
+
+    /**
+     *  @copy flash.text.TextField#getCharBoundaries()
+     */
+    function getCharBoundaries(charIndex:int):Rectangle;
+
+    /**
+     *  @copy flash.text.TextField#getCharIndexAtPoint()
+     */
+    function getCharIndexAtPoint(x:Number, y:Number):int;
+
+    /**
+     *  @copy flash.text.TextField#getFirstCharInParagraph()
+     */
+    function getFirstCharInParagraph(charIndex:int):int;
+
+    /**
+     *  @copy flash.text.TextField#getLineIndexAtPoint()
+     */
+    function getLineIndexAtPoint(x:Number, y:Number):int;
+
+    /**
+     *  @copy flash.text.TextField#getLineIndexOfChar()
+     */
+    function getLineIndexOfChar(charIndex:int):int;
+
+    /**
+     *  @copy flash.text.TextField#getLineLength()
+     */
+    function getLineLength(lineIndex:int):int;
+
+    /**
+     *  @copy flash.text.TextField#getLineMetrics()
+     */
+    function getLineMetrics(lineIndex:int):TextLineMetrics;
+
+    /**
+     *  @copy flash.text.TextField#getLineOffset()
+     */
+    function getLineOffset(lineIndex:int):int;
+
+    /**
+     *  @copy flash.text.TextField#getLineText()
+     */
+    function getLineText(lineIndex:int):String;
+
+    /**
+     *  @copy flash.text.TextField#getParagraphLength()
+     */
+    function getParagraphLength(charIndex:int):int;
+
+    /**
+     *  @copy flash.text.TextField#getTextFormat()
+     */
+    function getTextFormat(beginIndex:int=-1, endIndex:int=-1):TextFormat;
+
+    /**
+     *  @copy flash.text.TextField#replaceSelectedText()
+     */
+    function replaceSelectedText(value:String):void;
+
+    /**
+     *  @copy flash.text.TextField#replaceText()
+     */
+    function replaceText(beginIndex:int, endIndex:int, newText:String):void;
+
+    /**
+     *  @copy flash.text.TextField#setSelection()
+     */
+    function setSelection(beginIndex:int, endIndex:int):void;
+
+    /**
+     *  @copy flash.text.TextField#setTextFormat()
+     */
+    function setTextFormat(format:TextFormat,
+                        beginIndex:int=-1,
+                        endIndex:int=-1):void;
+
+    /**
+     *  @copy flash.text.TextField#getImageReference()
+     */
+    function getImageReference(id:String):DisplayObject;
+
+    /**
+     *  @copy flash.text.TextField#useRichTextClipboard
+     */
+    function set useRichTextClipboard(value:Boolean):void;
+    function get useRichTextClipboard():Boolean;
+


Fixed issue with AM/PM coming after milliseconds

--- frameworks/projects/framework/src/mx/formatters/DateFormatter.as
+++ frameworks/projects/framework/src/mx/formatters/DateFormatter.as
@@ -285,11 +285,13 @@
 						day = num;
 					else if (sec < 0)
 						sec = num;
+					else if (milli < 0)
+						milli = num;
                     else
                         break; //error
                 }

-                // If the current letter is a colon,
+                // If the current letter is a colon or a dot,
                 // assign num to hour or minute or sec.
                 else if (punctuation.hasOwnProperty(letter) && punctuation[letter].time)
                 {
@@ -299,6 +301,8 @@
                         min = num;
 					else if (sec < 0)
 						sec = num;
+					else if (milli < 0)
+						milli = num;
                     else
                         break; //error
                 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5545
Author:   jimurphy@adobe.com
Date:     2009-03-25T19:00:52.330680Z

Log Message:
-----------
1st pass of rename according to the spec http://opensource.adobe.com/wiki/display/flexsdk/Dropping+the+Fx+Prefix

Flex now requires CSS Style declarations to declare @namespace rules and disambiguate between halo and spark components using CSS 3 namespace prefixes on type selectors. At compile time, this namespace information will be used to map type names to qualified ActionScript class names. At runtime, type selectors are matched on qualified ActionScript class name (for example mx.controls.Button rather than just Button). Flex 3 applications must be compiled with -compatibility-version=3.0.0 to get unqualified CSS type selector behavior.

QE: Yes, this build may help in updating test cases to use the new namespaces and class names.
Dev: Not yet
Doc: Not yet

Modified Paths:
--------------
748 paths were modified

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

--- frameworks/projects/spark/src/spark/core/ISharedDisplayObject.as
+++ frameworks/projects/spark/src/spark/core/ISharedDisplayObject.as
@@ -0,0 +1,53 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-2006 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+package spark.core
+{
+/**
+ *  ISharedDisplayObject defines the minimum requirements for a
+ *  DisplayObject to be shared between IGraphicElement
+ *  objects.
+ *
+ *  Group uses ISharedDisplayObject to manage
+ *  invalidation and redrawing of sequences of IGraphicElement
+ *  objects that share a DisplayObject.
+ *
+ *  Typically when implementing a custom IGraphicElement
+ *  Developers also implement this interface for the DisplayObject
+ *  that the custom IGraphicElement creates.
+ *
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public interface ISharedDisplayObject
+{
+    /**
+     *  True when any of the IGraphicElement objects, that share
+     *  this DisplayObject, needs to redraw.  This is used internally
+     *  by the Group class and developers don't typically use this.
+     *  The Group sets and reads back this property in order to
+     *  determine which graphic elements to validate.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    function get redrawRequested():Boolean;
+
+    /**
+     *  @private
+     */
+    function set redrawRequested(value:Boolean):void;
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 6009
Author:   hmuller@adobe.com
Date:     2009-04-07T23:32:38.656651Z

Log Message:
-----------
Virtualization bug fixes, should be ready for sign-off.   We're now delaying setting a DataGroup IR's data property until after the IR has been added to the display list.

QE Notes:
Doc Notes:
Bugs: sdk-19984, sdk-19870
Reviewer: Ryan, Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -153,7 +153,7 @@
     [Inspectable(category="General")]

     /**
-     *  Returns the current number of visible elements.
+     *  Returns the current number of elements in view.
      *
      *  @default -1
      *
@@ -173,9 +173,9 @@
      *
      *  This method is intended to be used by subclass updateDisplayList()
      *  methods to sync the columnCount property with the actual number
-     *  of visible columns.
+     *  of columns in view.
      *
-     *  @param value The number of visible columns.
+     *  @param value The number of columns in view.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -1336,13 +1336,16 @@
         if (!layoutTarget)
             return;

-        if (layoutTarget.numElements == 0)
+        if ((layoutTarget.numElements == 0) || (unscaledWidth == 0) || (unscaledHeight == 0))
         {
             setColumnCount(0);
             setIndexInView(-1, -1);
-            layoutTarget.setContentSize(0, 0);
-        }
-        else if (useVirtualLayout)
+            if (layoutTarget.numElements == 0)
+                layoutTarget.setContentSize(0, 0);
+            return;
+        }
+
+        if (useVirtualLayout)
             updateDisplayListVirtual();
         else
             updateDisplayListReal();


Transferred from the Adobe Open Source Subversion Repository

Revision: 3935
Author:   hmuller@adobe.com
Date:     2008-10-28T23:06:19.450100Z

Log Message:
-----------
Fix for 17281, 17751, 17765, and PARB changes: ClipContent now defaults to false, defined ScrollUnit enum and changed IViewport ScrollPositionDelta methods to use it.   Added "get" prefix to the ScrollPositionDelta methods.

Changed the default value of the clipContent property in GroupBase
and FxContainer from true to false.

Scroller now sets the clipContent of its viewport to true.

Removed clipContent="false" from spark skins, since false is
now the default.

Removed a clipContent="false" hack from CircularScrollbar test.

Removed calls to updateScrollRect from layout updateDisplayList()
methods, since the scrollRect is no longer contingent on
the value of the contentWidth,Height properties.  To keep
the scrollRect in sync with a component's size, we call
layout.updateScrollRect() in GroupBase::updateDisplayList()
and FxContainer::updateDisplayList().

Revised (simplified) the LayoutBase::updateScrollRect ASDoc.

Provisional change to make the FxContainer clipContent property work
correctly.

LayoutBase method renames per PARB feedback:
verticalScrollPositionDelta() => getVerticalScrollPositionDelta()
horizontalScrollPositionDelta() => getHorizontalScrollPositionDelta()

Defined a new mx.core.ScrollUnit enum per PARB feedback.  The
IViewport getHorizontal,VerticalScrollPositionDelta() methods now take
a ScrollUnit type argument, instead of a (character code) uint.

QE Notes: clipContent and ScrollUnit changes will break tests
Doc Notes: None
Bugs: sdk-17751, sdk-17257, sdk-17765
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/ScrollUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxCheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHSliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxRadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
+++ frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as
@@ -19,6 +19,7 @@
 import flash.ui.Keyboard;

 import mx.components.baseClasses.GroupBase;
+import mx.core.ScrollUnit;

 import mx.containers.utilityClasses.Flex;
 import mx.events.PropertyChangeEvent;
@@ -644,7 +645,7 @@
      *  @see lastIndexInView
      *  @see horizontalScrollPosition
      */
-    override public function horizontalScrollPositionDelta(unit:uint):Number
+    override public function getHorizontalScrollPositionDelta(unit:ScrollUnit):Number
     {
         var g:GroupBase = target;
         if (!g)
@@ -661,18 +662,18 @@
         var itemR:Rectangle = null;
         switch(unit)
         {
-            case Keyboard.LEFT:
-            case Keyboard.PAGE_UP:
+            case ScrollUnit.LEFT:
+            case ScrollUnit.PAGE_LEFT:
                 itemR = findLayoutItemBounds(g, firstIndexInView, -1, scrollR);
                 break;

-            case Keyboard.RIGHT:
-            case Keyboard.PAGE_DOWN:
+            case ScrollUnit.RIGHT:
+            case ScrollUnit.PAGE_RIGHT:
                 itemR = findLayoutItemBounds(g, lastIndexInView, +1, scrollR);
                 break;

             default:
-                return super.horizontalScrollPositionDelta(unit);
+                return super.getHorizontalScrollPositionDelta(unit);
         }

         if (!itemR)
@@ -681,22 +682,22 @@
         var delta:Number = 0;
         switch (unit)
         {
-            case Keyboard.LEFT:
+            case ScrollUnit.LEFT:
                 delta = Math.max(-scrollR.width, itemR.left - scrollR.left);
                 break;

-            case Keyboard.RIGHT:
+            case ScrollUnit.RIGHT:
                 delta = Math.min(scrollR.width, itemR.right - scrollR.right);
                 break;

-            case Keyboard.PAGE_UP:
+            case ScrollUnit.PAGE_LEFT:
                 if ((itemR.left < scrollR.left) && (itemR.right >= scrollR.right))
                     delta = Math.max(-scrollR.width, itemR.left - scrollR.left);
                 else
                     delta = itemR.right - scrollR.right;
                 break;

-            case Keyboard.PAGE_DOWN:
+            case ScrollUnit.PAGE_RIGHT:
                 if ((itemR.left < scrollR.left) && (itemR.right >= scrollR.right))
                     delta = Math.min(scrollR.width, itemR.right - scrollR.right);
                 else
@@ -902,7 +903,6 @@
         setColumnCount(visibleColumns);
         setIndexInView(firstColInView, lastColInView);
         layoutTarget.setContentSize(maxX, maxY);
-        updateScrollRect(unscaledWidth, unscaledHeight);
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5123
Author:   cframpto@adobe.com
Date:     2009-03-02T12:58:35.957680Z

Log Message:
-----------
Add support for importing text as XML.

QE Notes: need test cases for XML that's wrapped and not wrapped with <TextFlow> tag.  If we don't already have those cases for String that should be added as well.
Doc Notes:
Bugs: SDK-19026
Reviewers: Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -461,7 +461,7 @@
 		staticConfiguration.textFlowInitialFormat =
             staticTextLayoutFormat;

-        if (markup is String)
+        if (markup is XML || markup is String)
         {
 	        // We need to wrap the markup in a <TextFlow> tag
 	        // unless it already has one.
@@ -472,7 +472,7 @@
             // we use the markup in XML form rather than
             // having TLF reconvert it to XML.
 	        var wrap:Boolean = true;
-            if (markup.indexOf("TextFlow") != -1)
+            if (markup is XML || markup.indexOf("TextFlow") != -1)
             {
                 try
                 {
@@ -490,14 +490,39 @@

 	        if (wrap)
 	        {
-	            markup = '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">' +
-	                     markup +
-	                     '</TextFlow>';
+	            if (markup is String)
+	            {
+                    markup =
+                        '<TextFlow xmlns="http://ns.adobe.com/textLayout/2008">' +
+                        markup +
+                        '</TextFlow>';
+                }
+                else
+                {
+                    // It is XML.  Create a root element and add the markup
+                    // as it's child.
+                    var ns:Namespace =
+                        new Namespace("http://ns.adobe.com/textLayout/2008");
+
+                    xmlMarkup = <TextFlow />;
+                    xmlMarkup.setNamespace(ns);
+                    xmlMarkup.setChildren(markup);
+
+                    // The namespace of the root node is not inherited by
+                    // the children so it needs to be explicitly set on
+                    // every element, at every level.  If this is not done
+                    // the import will fail with an "Unexpected namespace"
+                    // error.
+                    for each (var element:XML in xmlMarkup..*::*)
+                       element.setNamespace(ns);
+
+                    markup = xmlMarkup;
+                }
 	        }
         }
-
-        return TextFilter.importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT,
-                                       staticConfiguration);
+
+        return importToFlow(markup, TextFilter.TEXT_LAYOUT_FORMAT,
+                            staticConfiguration);
     }

     /**
@@ -563,7 +588,7 @@
             var t:String = mx_internal::_text;
             if (t != null && t != "")
             {
-                textFlow = TextFilter.importToFlow(t, TextFilter.PLAIN_TEXT_FORMAT);
+                textFlow = importToFlow(t, TextFilter.PLAIN_TEXT_FORMAT);
             }
             else
             {
@@ -588,6 +613,23 @@
         return textFlow;
     }

+    /**
+     *  @private
+     *
+     *  This will throw on import error.
+     */
+    private function importToFlow(source:Object, format:String,
+                                  config:Configuration = null):TextFlow
+    {
+        var importer:ITextImporter = TextFilter.getImporter(format);
+
+        // Throw import errors rather than return a null textFlow.
+        // Alternatively, the error strings are in the Vector, importer.errors.
+        importer.throwOnError = true;
+
+        return importer.importToFlow(source);
+    }
+
     /**
      *  @private
      */


Transferred from the Adobe Open Source Subversion Repository

Revision: 3321
Author:   hmuller@adobe.com
Date:     2008-09-23T21:21:31.020570Z

Log Message:
-----------
Created ILayout implementation LayoutBase and made it the base
class for the three existing layouts. LayoutBase defines the
following properties:

  target - the Group or DataGroup (GroupBase) that whose
  layout property is _this_ layout.

  verticalScrollPosition, horizontalScrollPosition - the
  origin of the target's scrollRect.  These properties were
  defined by GroupBase.

LayoutBase also adds some new protected methods:

  scrollPositionChanged() - called when the
  vertical,horizontalScrollPosition properties change.

  updateScrollRect() - syncs the scrollRect with the
  vertical,horizontalScrollPosition properties

  invalidateTargetSizeAndDisplayList() - convenience
  method that calls invalidateSize,DisplayList().

LayoutBase also defines empty implementations of measure
and updateDisplayList.

GroupBase now delegates vertical,horizontalScrollPosition
to its layout and redispatches the layout's propertyChange
events for these properties.

QE: No
Doc: No
Checkintests: Pass
Reviewer: Evtim
Bugs:
   SDK-17002 -  includeInLayout no longer being respected

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Selector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/intf/ILayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/Scroller.as</path>

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -12,9 +12,12 @@

 package flex.component
 {
+import flash.events.Event;
+
 import flex.core.SkinnableComponent;
 import flex.core.Group;
 import flex.intf.IViewport;
+
 import mx.events.PropertyChangeEvent;
 import mx.core.ScrollPolicy;


Transferred from the Adobe Open Source Subversion Repository

Revision: 21135
Author:   smgilson@adobe.com
Date:     2011-04-25T17:53:04.218495Z

Log Message:
-----------
fix broken @see tag

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

Modified Paths:
--------------
/private/flex/sdk/trunk/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as

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

--- frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
+++ frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
@@ -26,7 +26,7 @@
  *  Saving incompatible objects does not cause an RTE, but creates
  *  undefined behavior when the data is read back.</p>
  *
- *  @see flash.net.IExternalizable
+ *  @see flash.utils.IExternalizable
  *
  *  @langversion 3.0
  *  @playerversion AIR 2.5


Transferred from the Adobe Open Source Subversion Repository

Revision: 19498
Author:   jasonsj@adobe.com
Date:     2010-12-21T02:16:56.447761Z

Log Message:
-----------
Initial mobile theme ButtonBar and iOS ActionBar Button skins.
Removed DiscouragedForProfile metadata from ButtonBar and HSlider.
Fixed line endings in FXG files.
Removed unnecessary winding="evenOdd" in FXG.

QE notes: Use styleName="ios" in ActionBar buttons in navigationContent and actionContent.
Doc notes:
Bugs:
Reviewer: jszeto
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as
@@ -49,30 +49,30 @@
     public function VScrollBarThumbSkin()
     {
         super();
-		useChromeColor = true;
-
-		// Depending on density set padding
-		switch (applicationDPI)
-		{
-			case DPIClassification.DPI_320:
-			{
-				paddingRight = 5;
-				paddingVertical = 4;
-				break;
-			}
-			case DPIClassification.DPI_240:
-			{
-				paddingRight = 4;
-				paddingVertical = 3;
-				break;
-			}
-			default:
-			{
-				paddingRight = 3;
-				paddingVertical = 2;
-				break;
-			}
-		}
+        useChromeColor = true;
+
+        // Depending on density set padding
+        switch (applicationDPI)
+        {
+            case DPIClassification.DPI_320:
+            {
+                paddingRight = 5;
+                paddingVertical = 4;
+                break;
+            }
+            case DPIClassification.DPI_240:
+            {
+                paddingRight = 4;
+                paddingVertical = 3;
+                break;
+            }
+            default:
+            {
+                paddingRight = 3;
+                paddingVertical = 2;
+                break;
+            }
+        }
     }

     //--------------------------------------------------------------------------
@@ -84,58 +84,58 @@
      * @copy spark.skins.spark.ApplicationSkin#hostComponent
      */
     public var hostComponent:Button;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Variables
-	//
-	//--------------------------------------------------------------------------
-	/**
-	 *  Padding from the right
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
-	 */
-	protected var paddingRight:int;
-
-	/**
-	 *  Vertical padding from top and bottom
-	 *
-	 *  @langversion 3.0
-	 *  @playerversion Flash 10
-	 *  @playerversion AIR 2.5
-	 *  @productversion Flex 4.5
-	 */
-	protected var paddingVertical:int;
-
-
-	//--------------------------------------------------------------------------
-	//
-	//  Overridden methods
-	//
-	//--------------------------------------------------------------------------
-	/**
-	 *  @protected
-	 */
-	override protected function beginChromeColorFill(chromeColorGraphics:Graphics):void
-	{
-		var chromeColor:uint = getChromeColor();
-		chromeColorGraphics.beginFill(chromeColor, 1);
-		chromeColorGraphics.lineStyle(1, 0x000000, 1, false, LineScaleMode.NORMAL, CapsStyle.NONE, JointStyle.ROUND);
-	}
-
-	/**
-	 *  @protected
-	 */
-	override protected function drawChromeColor(chromeColorGraphics:Graphics, unscaledWidth:Number, unscaledHeight:Number):void
-	{
-		var thumbWidth:Number = unscaledWidth - paddingRight;
-		chromeColorGraphics.drawRoundRect(0.5, paddingVertical + 0.5,
-										 thumbWidth, unscaledHeight - 2 * paddingVertical,
-										 thumbWidth, thumbWidth);
-	}
-
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+    /**
+     *  Padding from the right
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var paddingRight:int;
+
+    /**
+     *  Vertical padding from top and bottom
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var paddingVertical:int;
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods
+    //
+    //--------------------------------------------------------------------------
+    /**
+     *  @protected
+     */
+    override protected function beginChromeColorFill(chromeColorGraphics:Graphics):void
+    {
+        var chromeColor:uint = getChromeColor();
+        chromeColorGraphics.beginFill(chromeColor, 1);
+        chromeColorGraphics.lineStyle(1, 0x000000, 1, false, LineScaleMode.NORMAL, CapsStyle.NONE, JointStyle.ROUND);
+    }
+
+    /**
+     *  @protected
+     */
+    override protected function drawChromeColor(chromeColorGraphics:Graphics, unscaledWidth:Number, unscaledHeight:Number):void
+    {
+        var thumbWidth:Number = unscaledWidth - paddingRight;
+        chromeColorGraphics.drawRoundRect(0.5, paddingVertical + 0.5,
+            thumbWidth, unscaledHeight - 2 * paddingVertical,
+            thumbWidth, thumbWidth);
+    }
+
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 10464
Author:   rfrishbe@adobe.com
Date:     2009-09-21T17:40:30.663638Z

Log Message:
-----------
Removing support in Flex framework for compatibility version < 3.  We won't support compatibility-version 2 or 2.01 anymore.  We only keep compatibility-version for one full release, so for Flex 4, we only support compatibility-version = 3.x.

This should reduce our code-size some as we no longer need this old code.  I didn't clean up the compiler's support for compatibility-versioning as it didn't seem worth the effort.

QE notes: -
Doc notes: -
Bugs: SDK-15360
Reviewer: Kevin
Tests run: checkintests, Joan ran all mustella tests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</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/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.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/framework/src/mx/controls/NavBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.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/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserYearArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.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/framework/src/mx/controls/menuClasses/MenuBarItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PanelSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/MenuItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</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/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/Flex.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/LinkBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>

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

--- frameworks/projects/mx/src/mx/skins/halo/HaloBorder.as
+++ frameworks/projects/mx/src/mx/skins/halo/HaloBorder.as
@@ -16,7 +16,6 @@
 import flash.display.Graphics;
 import mx.core.IContainer;
 import mx.core.EdgeMetrics;
-import mx.core.FlexVersion;
 import mx.core.IUIComponent;
 import mx.core.mx_internal;
 import mx.graphics.RectangularDropShadow;
@@ -140,10 +139,7 @@
         if (borderStyle == "default" ||
             borderStyle == "alert")
         {
-            if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-                _borderMetrics = new EdgeMetrics(0, 0, 0, 0);
-            else
-                return EdgeMetrics.EMPTY;
+            return EdgeMetrics.EMPTY;
         }

         else if (borderStyle == "controlBar" ||
@@ -349,71 +345,7 @@
                 case "alert":
                 case "default":
                 {
-                    if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-                    {
-                        // For Panel/Alert, "borderAlpha" is the alpha for the
-                        // title/control/gutter area and "backgroundAlpha"
-                        // is the alpha for the content area.
-                        // We flip-flop the variables here so the "borderAlpha"
-                        // is applied by the background drawing code at the bottom.
-                        var contentAlpha:Number = getStyle("backgroundAlpha");
-                        backgroundAlpha = getStyle("borderAlpha");
-                        backgroundAlphaName = "borderAlpha";
-
-                        radius = getStyle("cornerRadius");
-                        bRoundedCorners =
-                            getStyle("roundedBottomCorners").toString().toLowerCase() == "true";
-                        var br:Number = bRoundedCorners ? radius : 0;
-
-                        drawDropShadow(0, 0, w, h, radius, radius, br, br);
-
-                        // If we don't have rounded corners we need to initialize
-                        // the complex radius object so the background fill code
-                        // below works correctly.
-                        if (!bRoundedCorners)
-                            radiusObj = {};
-
-                        var parentContainer:IContainer = parent as IContainer;
-
-                        if (parentContainer)
-                        {
-                            var vm:EdgeMetrics = parentContainer.viewMetrics;
-
-                            // The backgroundHole is the content area
-                            backgroundHole = {x:vm.left, y:vm.top,
-                                              w: Math.max(0, w - vm.left - vm.right),
-                                              h: Math.max(0, h - vm.top - vm.bottom),
-                                              r:0};
-
-                            if (backgroundHole.w > 0 && backgroundHole.h > 0)
-                            {
-                                // Draw a shadow around the content
-                                // if the content and panel alpha are different.
-                                // This could be a style property if needed
-                                if (contentAlpha != backgroundAlpha)
-                                {
-                                    drawDropShadow(backgroundHole.x, backgroundHole.y,
-                                            backgroundHole.w, backgroundHole.h,
-                                            0, 0, 0, 0);
-                                }
-
-                                // Fill in the content area
-                                g.beginFill(Number(backgroundColor), contentAlpha);
-                                g.drawRect(backgroundHole.x, backgroundHole.y,
-                                        backgroundHole.w, backgroundHole.h);
-                                g.endFill();
-                            }
-                        }
-
-                        // When the content and panel alpha are different, the border
-                        // of the panel is drawn using borderColor. We've already
-                        // drawn the content background so we set backgroundColor to
-                        // borderColor here so the drawing code below is done with the
-                        // border color.
-                        backgroundColor = getStyle("borderColor");
-                    }
-
-                    break;
+                   break;
                 }

                 case "dropdown": // never used
@@ -892,22 +824,6 @@
                 g.endFill();
             }
         }
-
-        var borderStyle:String = getStyle("borderStyle");
-
-        if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0 && (borderStyle == "alert" || borderStyle == "default") && getStyle("headerColors") == null)
-        {
-            var highlightAlphas:Array = getStyle("highlightAlphas");
-            var highlightAlpha:Number = highlightAlphas ? highlightAlphas[0] : 0.3;
-            // edge
-            drawRoundRect(
-                0, 0, w, h,
-                { tl: radius, tr: radius, bl: 0, br: 0 },
-                0xFFFFFF, highlightAlpha, null,
-                GradientType.LINEAR, null,
-                { x: 0, y: 1, w: w, h: h - 1,
-                  r: { tl: radius, tr: radius, bl: 0, br: 0 } });
-        }
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 13362
Author:   jszeto@adobe.com
Date:     2010-01-08T01:22:41.749020Z

Log Message:
-----------
List mouse click selection bug fix

SDK-24963 - Mouse click is ignored by List if  allowMultipleSelection="true" in some cases

Updated setSelectedIndices to perform the single index equality check if selectedIndices has only one index.

QE notes: None
Doc notes: None
Bugs: SDK-24963
Reviewer: Ryan
Tests run: checkintests, List
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/List.as

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

--- frameworks/projects/spark/src/spark/components/List.as
+++ frameworks/projects/spark/src/spark/components/List.as
@@ -792,7 +792,9 @@
     {
         // TODO (jszeto) Do a deep compare of the vectors
         if (_proposedSelectedIndices == value ||
-            (value.length == 1 && value[0] == selectedIndex))
+            (value && value.length == 1 &&
+             selectedIndices && selectedIndices.length == 1 &&
+             value[0] == selectedIndices[0]))
             return;

         if (dispatchChangeEvent)


Transferred from the Adobe Open Source Subversion Repository

Revision: 2464
Author:   jimurphy@adobe.com
Date:     2008-07-14T19:50:33.449468Z

Log Message:
-----------
add flex 4 to trunk

Modified Paths:
--------------
134 paths were modified

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/core/ITextFieldFactory.as
+++ frameworks/projects/framework/src/mx/core/ITextFieldFactory.as
@@ -30,6 +30,11 @@
 	 *  @param moduleFactory May not be null.
 	 *
 	 *  @return A TextField created in the context of the module factory.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	function createTextField(moduleFactory:IFlexModuleFactory):TextField;
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5026
Author:   pfarland@adobe.com
Date:     2009-02-20T20:27:07.892548Z

Log Message:
-----------
Changing pseudo-selector matching by allowing an object to decide whether its state matches a pseudo-selector. This allows top level components like FxApplication to decide whether a pseudo-selector matches its document state OR its skin state.

Also modified StyleManager data structure to allow multiple identical selectors to exist per subject while retaining declaration order. This allows programmatic addition of CSSStyleDeclaration's with identical selectors.

Finally, added preparation for qualified vs unqualified class names in type selectors. This is not yet enabled.

QA: Yes, please retest SDK-19127
Doc: Not yet.
Checkintests: Pass
mustella: AdvancedCSS, and other component style testsuites such as Button and MenuBar passed.
Review: Discussed pseudo-selector approach with Glenn. Other API changes will be part of final PARB review.
Bugs:
SDK-19127 - [Advanced CSS] Pseudo Selectors do not work when you change the "currentState" property of an FxApplication.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/baseClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -86,7 +86,7 @@
         var className:String = object.className;
         var advancedObject:IAdvancedStyleClient = object as IAdvancedStyleClient;

-        var typeHierarchy:OrderedObject = getUnqualifiedTypeHierarchy(object);
+        var typeHierarchy:OrderedObject = getTypeHierarchy(object, false);
         var types:Array = typeHierarchy.propertyList;
         var typeCount:int = types.length;
         var classDecls:Array = null;
@@ -107,7 +107,7 @@
             var type:String = types[i].toString();
             if (StyleManager.hasAdvancedSelectors() && advancedObject != null)
             {
-                var decls:Object = StyleManager.getStyleDeclarations(type);
+                var decls:Array = StyleManager.getStyleDeclarations(type);
                 if (decls)
                 {
                     var matchingDecls:Array = matchStyleDeclarations(decls, advancedObject);
@@ -745,9 +745,10 @@
     /**
      *  @private
      */
-    public static function isAssignableToType(object:IAdvancedStyleClient, type:String):Boolean
-    {
-        return getUnqualifiedTypeHierarchy(object)[type] != null;
+    public static function isTypeSelectorMatch(object:IAdvancedStyleClient, type:String):Boolean
+    {
+        var typeHierarchy:OrderedObject = getTypeHierarchy(object, false);
+        return typeHierarchy[type] != null;
     }

     /**
@@ -770,7 +771,7 @@
             styleDeclarations = [];

         // First, look for universal selectors
-        var universalDecls:Object = StyleManager.getStyleDeclarations("*");
+        var universalDecls:Array = StyleManager.getStyleDeclarations("*");
         styleDeclarations = matchStyleDeclarations(universalDecls, object).concat(styleDeclarations);

         // Next, look for type selectors (includes ActionScript supertype matches)
@@ -791,14 +792,16 @@

     /**
      *  @private
-     *  Returns an ordered map of unqualified class names, starting with the
-     *  object's class name and then each super class name until we hit a stop
-     *  class, such as mx.core::UIComponent.
-     */
-    private static function getUnqualifiedTypeHierarchy(object:IStyleClient):OrderedObject
+     *  @param object - the IStyleClient to be introspected
+     *  @param qualified - whether qualified type names should be used
+     *  @return an ordered map of class names, starting with the object's class
+     *  name and then each super class name until we hit a stop class, such as
+     *  mx.core::UIComponent.
+     */
+    private static function getTypeHierarchy(object:IStyleClient, qualified:Boolean=true):OrderedObject
     {
         var className:String = getQualifiedClassName(object);
-        var hierarchy:OrderedObject = StyleManager.typeHierarchyCache[className];
+        var hierarchy:OrderedObject = StyleManager.typeHierarchyCache[className] as OrderedObject;
         if (hierarchy == null)
         {
             hierarchy = new OrderedObject();
@@ -822,7 +825,12 @@
             {
                 try
                 {
-                    var type:String = NameUtil.getUnqualifiedClassName(className);
+                    var type:String;
+                    if (qualified)
+                        type = className.replace("::", ".");
+                    else
+                        type = NameUtil.getUnqualifiedClassName(className);
+
                     hierarchy[type] = true;
                     className = getQualifiedSuperclassName(
                         myApplicationDomain.getDefinition(className));
@@ -861,15 +869,14 @@
      *  @return An unsorted Array of matching style declarations for the given
      *  subject.
      */
-    private static function matchStyleDeclarations(declarations:Object,
+    private static function matchStyleDeclarations(declarations:Array,
             object:IAdvancedStyleClient):Array // of CSSStyleDeclaration
     {
         var matchingDecls:Array = [];

         // Find the subset of declarations that match this component
-        for (var selector:String in declarations)
-        {
-            var decl:CSSStyleDeclaration = declarations[selector];
+        for each (var decl:CSSStyleDeclaration in declarations)
+        {
             if (decl.isMatch(object))
                 matchingDecls.push(decl);
         }


--- src/org/igniterealtime/xiff/vcard/VCard.as
+++ src/org/igniterealtime/xiff/vcard/VCard.as
@@ -38,6 +38,7 @@
 	import org.igniterealtime.xiff.data.im.RosterItemVO;
 	import org.igniterealtime.xiff.data.vcard.VCardExtension;
 	import org.igniterealtime.xiff.events.VCardEvent;
+	import org.igniterealtime.xiff.util.DateTimeParser;

 	/**
 	 * @eventType org.igniterealtime.xiff.events.VCardEvent.AVATAR_LOADED
@@ -449,7 +450,7 @@
 						{
 							var value:String = photo.text();

-							if (photo.localName() == "BINVAL" && value.length > 0 )
+							if ( photo.localName() == "BINVAL" && value.length > 0 )
 							{
 								/*
 								var decoder:Base64Decoder = new Base64Decoder();
@@ -457,7 +458,7 @@
 								_imageBytes = decoder.flush();
 								*/

-								_imageBytes = Base64.decodeToByteArray( value );
+								_imageBytes = Base64.decodeToByteArrayB( value );
 								dispatchEvent( new VCardEvent( VCardEvent.AVATAR_LOADED,
 															   this, true, false ) );
 							}
@@ -559,9 +560,7 @@
 						var bday:String = child.children()[ 0 ];
 						if ( bday != null && bday.length > 8 )
 						{
-							var dateParts:Array = bday.split( "-" );
-							birthDay = new Date( dateParts[ 0 ], int( dateParts[ 1 ] ) -
-												 1, dateParts[ 2 ] );
+							birthDay = DateTimeParser.string2date( bday );
 						}
 						break;


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

--- frameworks/projects/automation_dmv/src/mx/core/Version.as
+++ frameworks/projects/automation_dmv/src/mx/core/Version.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: 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@1259024 13f79535-47bb-0310-9956-ffa450edef68

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

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

--- frameworks/projects/framework/src/mx/core/IUITextField.as
+++ frameworks/projects/framework/src/mx/core/IUITextField.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 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.
 //
 ////////////////////////////////////////////////////////////////////////////////


added the PostProcessingShaderPart.backBufferTexture getter to be able to sample the back-buffer as one might need (ie blur and co)

--- src/aerys/minko/render/shader/part/PostProcessingShaderPart.as
+++ src/aerys/minko/render/shader/part/PostProcessingShaderPart.as
@@ -10,15 +10,14 @@

 	public final class PostProcessingShaderPart extends ShaderPart
 	{
-		public function PostProcessingShaderPart(main : Shader)
+		public function get backBufferTexture() : SFloat
 		{
-			super(main);
-		}
-
-		public function initializeSettings(settings : ShaderSettings) : void
-		{
-			settings.depthWriteEnabled = false;
-			settings.depthTest = DepthTest.ALWAYS;
+			return sceneBindings.getTextureParameter(
+				"backBuffer",
+				SamplerFiltering.LINEAR,
+				SamplerMipMapping.DISABLE,
+				SamplerWrapping.CLAMP
+			);
 		}

 		public function get vertexPosition() : SFloat
@@ -31,16 +30,20 @@
 			return sampleBackBuffer(interpolate(vertexUV));
 		}

+		public function PostProcessingShaderPart(main : Shader)
+		{
+			super(main);
+		}
+
+		public function initializeSettings(settings : ShaderSettings) : void
+		{
+			settings.depthWriteEnabled = false;
+			settings.depthTest = DepthTest.ALWAYS;
+		}
+
 		public function sampleBackBuffer(uv : SFloat) : SFloat
 		{
-			var backBuffer	: SFloat	= sceneBindings.getTextureParameter(
-				"backBuffer",
-				SamplerFiltering.LINEAR,
-				SamplerMipMapping.DISABLE,
-				SamplerWrapping.CLAMP
-			);
-
-			return sampleTexture(backBuffer, interpolate(vertexUV));
+			return sampleTexture(backBufferTexture, interpolate(vertexUV));
 		}
 	}
 }


Minor changes in module management

Minor changes in module management

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

--- org.openwms/trunk/source/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/module/ModuleLocator.as
+++ org.openwms/trunk/source/org.openwms.client.flex.lib/src/main/flex/org/openwms/web/flex/client/module/ModuleLocator.as
@@ -22,7 +22,6 @@
 {

     import flash.system.ApplicationDomain;
-    import flash.utils.getQualifiedClassName;

     import mx.collections.ArrayCollection;
     import mx.collections.XMLListCollection;
@@ -31,10 +30,8 @@
     import mx.modules.IModuleInfo;
     import mx.modules.ModuleManager;

-    import org.granite.tide.ITideModule;
     import org.granite.tide.events.TideResultEvent;
     import org.granite.tide.spring.Context;
-    import org.granite.tide.spring.Spring;
     import org.openwms.common.domain.Module;
     import org.openwms.web.flex.client.IApplicationModule;
     import org.openwms.web.flex.client.event.ApplicationEvent;
@@ -167,6 +164,11 @@
                     mInf.addEventListener(ModuleEvent.ERROR, onModuleLoaderError);
                     mInf.data = module;
                     modelLocator.unloadedModules.put(module.url, mInf);
+                    var appModule:Object = mInf.factory.create()
+                    if (appModule is IApplicationModule)
+                    {
+                    	(appModule as IApplicationModule).destroyModule();
+                    }
                     mInf.unload();
                     return;
                 }


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkTextBaseAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkTextBaseAutomationImpl.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 spark.automation.delegates.components.supportClasses
 {


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

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

 package mx.events
 {


fix RTE in ADG

fix RTE in ADG

--- frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
+++ frameworks/projects/advancedgrids/src/mx/controls/listClasses/AdvancedListBase.as
@@ -6117,7 +6117,7 @@
         }
         else
         {
-            while (items.length && !collectionIterator.afterLast)
+            while (items && items.length && !collectionIterator.afterLast)
             {
                 var n:int = items.length;
                 var data:Object = collectionIterator.current;


Transferred from the Adobe Open Source Subversion Repository

Revision: 7687
Author:   aharui@adobe.com
Date:     2009-06-09T20:41:18.058354Z

Log Message:
-----------
Forgot to have WindowedSystemManager use instance instead of static for mixins.  (regular SystemManager was changed to use instance instead of static before checkin)

Also fix porting error in MarshallPlan.as

QE Notes: None
Doc Notes: None
Bugs: SDK-21461
Reviewer: darrell
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as
+++ frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as
@@ -784,6 +784,9 @@
 	/**
 	 *  @private
 	 *  Track mouse clicks to see if we change top-level forms.
+     *  Note that we get a FocusEvent here and not a MouseEvent because we
+     *  use a FocusEvent to forward the MouseEvent to the mixin.  That's
+     *  why we use event.relatedObject here and not MouseEvent
 	 */
 	private function mouseDownHandler(event:FocusEvent):void
 	{
@@ -797,7 +800,7 @@
 		// in a bridged application, activate the current document because
 		// the bridge application is considered part of the main application.
 		// We also see mouse clicks on dialogs popped up from compatible applications.
-        var bridge:IEventDispatcher = getSWFBridgeOfDisplayObject(event.target as DisplayObject);
+        var bridge:IEventDispatcher = getSWFBridgeOfDisplayObject(event.relatedObject as DisplayObject);
         if (bridge && bridgeToFocusManager[bridge] == systemManager.document.focusManager)
 		{
 			// trace("SM:mouseDownHandler click in a bridged application");


add hasChanged : Boolean argument to VertexStream.unlock() to avoid executing the VertexStream.changed signal if nothing has changed since VertexStream.lock()

--- src/aerys/minko/render/geometry/stream/VertexStream.as
+++ src/aerys/minko/render/geometry/stream/VertexStream.as
@@ -223,6 +223,7 @@
 			if (_localDispose)
 				throw new Error('Cannot lock stream data which is already disposed.');

+			checkReadUsage(this);
 			checkWriteUsage(this);

 			_locked = true;
@@ -237,7 +238,7 @@
 		 * signal is called only if the bounds of the stream actually changed.
 		 *
 		 */
-		public function unlock() : void
+		public function unlock(hasChanged : Boolean = true) : void
 		{
 			if (!_locked)
 				throw new Error('Cannot unlock a stream that is not locked.');
@@ -247,7 +248,7 @@
 			_locked = false;
 			_invalidMinMax = true;

-			if (_dataHasChanged)
+			if (_dataHasChanged && hasChanged)
 			{
 				_dataHasChanged = false;
 				_changed.execute(this);
@@ -255,7 +256,7 @@

 			if (invalidMinMax)
 				updateMinMax();
-			if (_boundsHaveChanged)
+			if (_boundsHaveChanged && hasChanged)
 				_boundsChanged.execute(this);
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 5573
Author:   jimurphy@adobe.com
Date:     2009-03-26T15:11:59.159776Z

Log Message:
-----------
-more updated package and class names that were missed in the first pass
-remove the mx folder

qa: probably
doc: this updated more asdoc comments so you may want to make sure that this pass made the correct updates
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/SetActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/IEaser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/DataGroupExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/pathSegments/PathSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/asdoc/en_US/mx/components/examples/FxToggleButtonExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/WipeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SetAction.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -51,33 +51,33 @@
  *  You can alter the operation, or cancel the event
  *  to prevent the operation from being processed.
  *
- *  @eventType mx.events.TextOperationEvent.CHANGING
+ *  @eventType spark.events.TextOperationEvent.CHANGING
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Event(name="changing", type="mx.events.TextOperationEvent")]
+[Event(name="changing", type="spark.events.TextOperationEvent")]

 /**
  *  Dispatched after a user editing operation is complete.
  *
- *  @eventType mx.events.TextOperationEvent.CHANGE
+ *  @eventType spark.events.TextOperationEvent.CHANGE
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Event(name="change", type="mx.events.TextOperationEvent")]
+[Event(name="change", type="spark.events.TextOperationEvent")]

 include "../../styles/metadata/AdvancedTextLayoutFormatStyles.as"
 include "../../styles/metadata/BasicTextLayoutFormatStyles.as"
 include "../../styles/metadata/SelectionFormatTextStyles.as"

 /**
- *  @copy mx.components.baseClasses.GroupBase#contentBackgroundColor
+ *  @copy spark.components.supportClasses.GroupBase#contentBackgroundColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -87,7 +87,7 @@
 [Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes")]

 /**
- *  @copy mx.components.baseClasses.GroupBase#focusColor
+ *  @copy spark.components.supportClasses.GroupBase#focusColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10