Transferred from the Adobe Open Source Subversion Repository

Revision: 18845
Author:   chiedozi@adobe.com
Date:     2010-11-30T00:33:21.466204Z

Log Message:
-----------
Calling showActionBar, hideActionBar, showTabBar and hideTabBar on a View's navigator now properly updates the corresponding properties on the active view.
Improved performance of tabBar hide and show animations.
The orientation event handler for View is now added on creationComplete to avoid RTEs related to a null systemManager.

QE notes:
Doc notes:
Bugs:SDK-28664
Reviewer: Corey
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<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/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -1409,6 +1409,7 @@
         {
             if (transitionsEnabled && animateActionBarVisbility)
             {
+                actionBarProps = {target:actionBar, showing:showingActionBar};
                 actionBarVisibilityEffect = showingActionBar ?
                                             createActionBarShowEffect() :
                                             createActionBarHideEffect();
@@ -1420,7 +1421,10 @@
             }
             else
             {
-                actionBar.visible = actionBar.includeInLayout = !actionBar.visible;
+                actionBar.visible = actionBar.includeInLayout = showingActionBar;
+
+                if (activeView)
+                    activeView.setActionBarVisible(showingActionBar);
             }
         }

@@ -1469,9 +1473,9 @@
 	{
 		var effect:IEffect;
 		var finalEffect:Parallel = new Parallel();
-
+
         // Grab initial values
-        actionBarProps = { target:actionBar, start:captureAnimationValues(actionBar) };
+        actionBarProps.start = captureAnimationValues(actionBar);
         contentGroupProps = { target:contentGroup, start:captureAnimationValues(contentGroup) };

         // Update actionBar layout properties so we can capture the final state of
@@ -1611,9 +1615,7 @@
         animate.motionPaths.push(new SimpleMotionPath("height", props.start.height, props.end.height));
         animate.motionPaths.push(new SimpleMotionPath("y", props.start.y, props.end.y));

-        props.target.includeInLayout = false;
-        props.target.cacheAsBitmap = true;
-
+        contentGroup.includeInLayout = false;
         return animate;
     }

@@ -1631,20 +1633,25 @@

         // Clear flags and temporary properties
 		actionBarVisibilityEffect = null;
-		actionBarVisibilityInvalidated = false;
-
-        if (actionBarProps)
-        {
-            // Update the actionBar visibility, includeInLayout and cacheAsBitmap flags
+
+        if (activeView)
+            activeView.setActionBarVisible(actionBarProps.showing);
+
+        // Check if the visible and cacheAsBitmap properties have been set.  These are
+        // only set if the default transitions are used.  If developers create their
+        // own animations, these properties won't be set.
+        if (actionBarProps.start != undefined)
+        {
     		actionBar.visible = actionBar.includeInLayout = !actionBarProps.start.visible;
             actionBar.cacheAsBitmap = actionBarProps.start.cacheAsBitmap;
-    		actionBarProps = null;
-        }
-
+        }
+
+        actionBarProps = null;
+
+        // Content group properties object only created if the default transitions were used
         if (contentGroupProps)
         {
 		    contentGroup.includeInLayout = contentGroupProps.start.includeInLayout;
-		    contentGroup.cacheAsBitmap = contentGroupProps.start.cacheAsBitmap;
     		contentGroupProps = null;
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19231
Author:   jszeto@adobe.com
Date:     2010-12-09T19:25:51.943016Z

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

Merging in revisions 18989-19158 from hero_skin_sandbox.

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

Button
CheckBox
RadioButton
TextInput
TextArea
ActionBar
HSlider

Updating MobileSkins test project

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

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

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as
@@ -20,6 +20,7 @@
 import spark.skins.mobile.supportClasses.MobileSkin;
 import spark.skins.mobile160.assets.HSliderTrack;
 import spark.skins.mobile240.assets.HSliderTrack;
+import spark.skins.mobile320.assets.HSliderTrack;

 /**
  *  Actionscript based skin for the HSlider track skin part on mobile applications.
@@ -54,19 +55,27 @@
         // set the right assets and dimensions to use based on the screen density
         switch (authorDensity)
         {
+			case DeviceDensity.PPI_320:
+			{
+				trackWidth = 320;
+				trackHeight = 18;
+
+                visibleTrackWidth = 280;
+                visibleTrackLeftOffset = 20;
+
+				trackClass = spark.skins.mobile320.assets.HSliderTrack;
+
+				break;
+			}
             case DeviceDensity.PPI_240:
             {
-                trackWidth = 240;
-                trackHeight = 65;
-
+                trackWidth = 192;
+                trackHeight = 13;
+
+                visibleTrackWidth = 160;
+                visibleTrackLeftOffset = 16;
+
                 trackClass = spark.skins.mobile240.assets.HSliderTrack;
-
-                visibleTrackRectLeft = 10;
-                visibleTrackRectRight = 11;
-                visibleTrackRectTop = 26;
-                visibleTrackRectHeight = 13;
-                visibleTrackEllipseHeight = 13;
-                visibleTrackEllipseWidth = 13;

                 break;
             }
@@ -74,16 +83,12 @@
             {
                 // default PPI160
                 trackWidth = 160;
-                trackHeight = 40;
+                trackHeight = 9;
+
+                visibleTrackWidth = 140;
+                visibleTrackLeftOffset = 10;

                 trackClass = spark.skins.mobile160.assets.HSliderTrack;
-
-                visibleTrackRectLeft = 5;
-                visibleTrackRectRight = 5;
-                visibleTrackRectTop = 16;
-                visibleTrackRectHeight = 9;
-                visibleTrackEllipseHeight = 9;
-                visibleTrackEllipseWidth = 9;

                 break;
             }
@@ -146,72 +151,28 @@
      *  @productversion Flex 4.5
      */
     protected var trackHeight:int;
-
-    /**
-     *  Specifies the distance of the actual visible track from the left
-     *  of the track image
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    private var visibleTrackRectLeft:int;
-
-    /**
-     *  Specifies the distance of the actual visible track from the right
-     *  of the track image
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    private var visibleTrackRectRight:int;
-
-    /**
-     *  Specifies the distance of the actual visible track from the top
-     *  of the track image
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    private var visibleTrackRectTop:int;
-
-    /**
-     *  Specifies the actual visible track Rect height
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    private var visibleTrackRectHeight:int;
-
-    /**
-     *  Specifies the actual visible track Ellipse height (i.e. the
-     *  ellipse which provides the rounded ends of the track)
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    private var visibleTrackEllipseHeight:int;
-
-    /**
-     *  Specifies the actual visible track Ellipse width (i.e. the
-     *  ellipse which provides the rounded ends of the track)
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    private var visibleTrackEllipseWidth:int;
-
+
+    /**
+     *  Specifies the offset from the left edge to where
+     *  the visible track begins
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var visibleTrackLeftOffset:int;
+
+    /**
+     *  Specifies the width of the actual visible track
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected var visibleTrackWidth:int;
+
     //--------------------------------------------------------------------------
     //
     //  Overridden methods
@@ -251,19 +212,15 @@
      *  @private
      */
     override protected function drawChromeColor(chromeColorGraphics:Graphics, unscaledWidth:Number, unscaledHeight:Number):void
-    {
-        // calculate the track Y location: the visible track is vertically centered as height grows
-        var trackY:int = Math.max(visibleTrackRectTop, Math.round(visibleTrackRectTop / trackHeight * unscaledHeight));
-
-        // calculated track width: excludes gaps on the left and right
-        var trackWidth:int = unscaledWidth - visibleTrackRectLeft - visibleTrackRectRight;
+    {
+        var calculatedTrackWidth:int = unscaledWidth - (2 * visibleTrackLeftOffset);

         // draw the round rect
         var chromeColor:uint = getChromeColor();
         chromeColorGraphics.beginFill(chromeColor, 1);
-        chromeColorGraphics.drawRoundRect(visibleTrackRectLeft, trackY,
-                                          trackWidth, visibleTrackRectHeight,
-                                          visibleTrackEllipseWidth, visibleTrackEllipseHeight);
+        chromeColorGraphics.drawRoundRect(visibleTrackLeftOffset, 0,
+                                          calculatedTrackWidth, trackHeight,
+                                          trackHeight, trackHeight);
         chromeColorGraphics.endFill();
     }
 }


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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPSchema.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPSchema.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


Revert "FLEX-33874 improve binding performance"

This reverts commit ccdbfebd403b913c67d58b096f570d4c088fd0c1.

--- frameworks/projects/framework/src/mx/binding/Binding.as
+++ frameworks/projects/framework/src/mx/binding/Binding.as
@@ -83,7 +83,6 @@
         this.destFunc = destFunc;
         this.destString = destString;
         this.srcString = srcString;
-        this.destFuncFailed = false;

         if (this.srcFunc == null)
         {
@@ -235,8 +234,6 @@
      *  @productversion Flex 3
      */
     mx_internal var destFunc:Function;
-
-    mx_internal var destFuncFailed:Boolean;

 	/**
      *  The destination represented as a String.
@@ -288,15 +285,6 @@
         while (i < (chain.length - 1))
         {
             element = element[chain[i++]];
-            //if the element does not exist : avoid exception as it's heavy on memory allocations
-            if (element == null || element == undefined) {
-                destFuncFailed = true;
-                if (BindingManager.debugDestinationStrings[destString])
-                {
-                    trace("Binding: destString = " + destString + ", error = 1009");
-                }
-                return;
-            }
         }

         element[chain[i]] = value;
@@ -413,9 +401,6 @@
         try
         {
             var result:Object = wrappedFunction.apply(thisArg, args);
-            if (destFuncFailed) {
-                return null;
-            }
             wrappedFunctionSuccessful = true;
             return result;
         }
@@ -507,11 +492,9 @@
         	{
 	            destFunc.call(document, value);

-                if (!destFuncFailed) {
-                    //	Note: state is not updated if destFunc throws
-                    lastValue = value;
-                    hasHadValue = true;
-	            }
+	            //	Note: state is not updated if destFunc throws
+	            lastValue = value;
+	            hasHadValue = true;
 	        }
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6127
Author:   aharui@adobe.com
Date:     2009-04-10T15:24:44.711126Z

Log Message:
-----------
EmbeddedFonts in Modules for TLF.

Requires build 411 of TLF (to be checked in next)

QE Notes: None
Doc Notes: Yes.  New API on DownloadProgressBar
Bugs:
Reviewer: gordon
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/build.xml</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/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/halo/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -18,11 +18,13 @@

 import spark.components.supportClasses.GroupBase;
 import mx.core.Container;
+import mx.core.IFontContextComponent;
 import mx.core.ILayoutElement;
 import mx.core.IUITextField;
 import mx.core.IVisualElement;
 import mx.core.IVisualElementContainer;
 import mx.core.mx_internal;
+import mx.core.UIComponent;
 import spark.events.ElementExistenceEvent;
 import spark.core.IGraphicElement;
 import spark.core.ISharedDisplayObject;
@@ -1087,6 +1089,14 @@

         if (element.layer != 0)
             invalidateLayering();
+
+        // Set the font context in non-UIComponent children.
+        // UIComponent children use moduleFactory.
+        if (child is IFontContextComponent && !child is UIComponent &&
+            IFontContextComponent(child).fontContext == null)
+        {
+            IFontContextComponent(child).fontContext = moduleFactory;
+        }

         if (element is IGraphicElement)
         {


Add new filetypes.

Add new filetypes.

--- lib/src/com/amanitadesign/steam/WorkshopConstants.as
+++ lib/src/com/amanitadesign/steam/WorkshopConstants.as
@@ -21,6 +21,8 @@
 		public static const FILETYPE_Concept:int = 8;
 		public static const FILETYPE_WebGuide:int = 9;
 		public static const FILETYPE_IntegratedGuide:int = 10;
+		public static const FILETYPE_Merch:int = 11;
+		public static const FILETYPE_ControllerBinding:int = 11;

 		public static const ENUMTYPE_RankedByVote:int = 0;
 		public static const ENUMTYPE_Recent:int = 1;


Transferred from the Adobe Open Source Subversion Repository

Revision: 22448
Author:   build@adobe.com
Date:     2011-09-08T19:26:12.465737Z

Log Message:
-----------
Version update to 4.6.0

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/flex-config.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark_dmv/src/spark/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mx/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/build.properties</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/airframework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/advancedgrids/src/mx/core/Version.as</path>

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

--- frameworks/projects/advancedgrids/src/mx/core/Version.as
+++ frameworks/projects/advancedgrids/src/mx/core/Version.as
@@ -15,4 +15,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.5.2.0";
+mx_internal static const VERSION:String = "4.6.0.0";


Transferred from the Adobe Open Source Subversion Repository

Revision: 12469
Author:   jimurphy@adobe.com
Date:     2009-12-03T22:04:16.560316Z

Log Message:
-----------
fix offsets for FB.  Convert line ending from lf to crlf in svn for the proects directory only.  When checking project files in, be sure to save you files this way.  Another update to make sure happens is set the svn properties svn:eol-style = native and svn:mime-type = text/plain (these have been updated on theses files as well)

QE notes: make sure the proper class is selected
Doc notes: no
Bugs: http://bugs.adobe.com/jira/browse/SDK-24498
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
133 paths were modified

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

--- frameworks/projects/spark/src/spark/components/HGroup.as
+++ frameworks/projects/spark/src/spark/components/HGroup.as
@@ -479,4 +479,4 @@
     }
 }

-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.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/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/ButtonBar.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/framework/src/mx/managers/dragClasses/DragProxy.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/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.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/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.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/IStyleModule.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/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.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/modules/compiler/src/java/flex2/tools/PreLink.java</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/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/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.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/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.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/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.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/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/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.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/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.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/Tree.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/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.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/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</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/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as
@@ -67,7 +67,7 @@
 		g.clear();

 		var colors:Array = getStyle("headerColors");
-		StyleManager.getColorNames(colors);
+		styleManager.getColorNames(colors);

 		var matrix:Matrix = new Matrix();
 		matrix.createGradientBox(w, h + 1, Math.PI/2, 0, 0);


Transferred from the Adobe Open Source Subversion Repository

Revision: 20603
Author:   sameer@adobe.com
Date:     2011-03-04T13:14:11.376259Z

Log Message:
-----------
Remove an unwanted check that was causing an rte on focus-in in an editable AdvancedDataGrid

QE notes: Test tabbing behavior in an editable AdvancedDataGrid
Doc notes:  NA
Bugs: http://bugs.adobe.com/jira/browse/FLEXDMV-2571
Reviewer: Sreeni
Tests run: checkintests, some manual testing, cyclone build to QE
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as

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

--- frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
+++ frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGridBaseEx.as
@@ -7299,7 +7299,7 @@
         {
             _editedItemPosition = lastEditedItemPosition;

-            var foundOne:Boolean = editedItemPosition != null;
+            var foundOne:Boolean = false;

             // start somewhere
             if (!_editedItemPosition)
@@ -7314,12 +7314,8 @@
 	                if (_columns[_editedItemPosition.columnIndex].editable &&
 	                    _columns[_editedItemPosition.columnIndex].visible)
 	                {
-	                    var row:Array = listItems[_editedItemPosition.rowIndex];
-	                    if (row && row[_editedItemPosition.columnIndex])
-	                    {
-	                        foundOne = true;
-	                        break;
-	                    }
+                        foundOne = true;
+                        break;
 	                }
 	            }


Transferred from the Adobe Open Source Subversion Repository

Revision: 17261
Author:   chiedozi@adobe.com
Date:     2010-08-11T00:04:51.995702Z

Log Message:
-----------
Added 240 dpi skin for ViewNavigator
Fixed bug where a deactivate event wasn't dispatched on the current view when the application is exiting
Fixed a bug where changing the selectedIndex of a ViewNavigator couldn't be canceled

QE notes:
Doc notes:
Bugs: SDK-27066,SDK-27345
Reviewer: Ryan
Tests run: checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
@@ -67,7 +67,7 @@

         tabBar = new ButtonBar();
         tabBar.requireSelection = true;
-        tabBar.height = 40;
+        tabBar.height = 80;

         actionBar = new ActionBar();

@@ -108,7 +108,6 @@
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
         var top:Number = 0;
-        var bottom:Number = unscaledHeight;
         var componentHeight:Number;

         if (tabBar.includeInLayout)
@@ -150,7 +149,7 @@

     		if (contentGroup.includeInLayout)
     		{
-    			var contentGroupHeight:Number = bottom - top;
+    			var contentGroupHeight:Number = unscaledHeight - top;

     			if (contentGroupHeight < contentGroup.minHeight)
     				contentGroupHeight = contentGroup.minHeight;


Transferred from the Adobe Open Source Subversion Repository

Revision: 17330
Author:   chiedozi@adobe.com
Date:     2010-08-16T17:36:59.538425Z

Log Message:
-----------
Removed the sections functionality from ViewNavigator and refactored that logic into TabbedViewNavigator.  Updated dependent performance tests and components.
Introduced MobileApplicationBase and TabbedMobileApplication do support the tabbed use case for mobile.
Deleted SliderSkin from the framework.  All mobile skins now extend MobileSkin.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/ViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/PersistenceManager.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorSection.as" copyfrom-rev="17260" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/NavigationStack.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="A">/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/effects/FlipViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ScriptRunner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ComponentCatalog.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorSection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewHistoryData.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers/IPersistenceManager.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/IViewTransition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarTrackSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SliderSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as
@@ -1,3 +1,14 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.skins.mobile
 {
 import mx.effects.IEffect;
@@ -8,17 +19,39 @@
 import spark.components.ButtonBar;
 import spark.components.Group;
 import spark.components.ViewNavigator;
-import spark.effects.IViewTransition;
+import spark.effects.ViewTransition;
 import spark.effects.Move;
 import spark.effects.SlideViewTransition;
+import spark.skins.MobileSkin;

-public class ViewNavigatorSkin extends SliderSkin
+/**
+ *  The ActionScript based skin for view navigators in mobile
+ *  applications.  This skin lays out the action bar and content
+ *  group in a vertical fashion, where the action bar is on top.
+ *  This skin also supports navigator overlay modes.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.1
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+public class ViewNavigatorSkin extends MobileSkin
 {
     //--------------------------------------------------------------------------
     //
     //  Constructor
     //
-    //--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    // TODO (chiedozi): File a request to exclude skinstates
     public function ViewNavigatorSkin()
     {
         super();
@@ -33,20 +66,30 @@

     //--------------------------------------------------------------------------
     //
-    //  Variables
-    //
-    //--------------------------------------------------------------------------
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    // TODO (chiedozi): ASDOC propeties
+
+    // Responsible for storing the views
+    public var contentGroup:Group;
+
+    // The action bar to use for the navigator
+    public var actionBar:ActionBar;
+
+    // The default transitions to run
+    public var defaultPushTransition:ViewTransition;
+    public var defaultPopTransition:ViewTransition;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties
+    //
+    //--------------------------------------------------------------------------
+    // TODO (chiedozi): ASDOC
     public var hostComponent:ViewNavigator;

-    // Groups and UI Controls
-    public var contentGroup:Group;
-    public var actionBar:ActionBar;
-    public var tabBar:ButtonBar;
-
-    // Transitions
-    public var defaultPushTransition:IViewTransition;
-    public var defaultPopTransition:IViewTransition;
-
     //--------------------------------------------------------------------------
     //
     // Methods
@@ -54,6 +97,7 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.1
@@ -63,25 +107,23 @@
     override protected function createChildren():void
     {
         contentGroup = new Group();
-        contentGroup.minHeight = 0;
+        contentGroup.id = "contentGroup";

-        tabBar = new ButtonBar();
-        tabBar.requireSelection = true;
-        tabBar.height = 80;
-
         actionBar = new ActionBar();
+        actionBar.id = "actionBar";

         addChild(contentGroup);
         addChild(actionBar);
-        addChild(tabBar);

         defaultPushTransition = new SlideViewTransition(300, SlideViewTransition.SLIDE_LEFT);
         defaultPopTransition = new SlideViewTransition(300, SlideViewTransition.SLIDE_RIGHT);
     }

     /**
+     *  @private
+     *  When the current state is set, need to invalidate the display list
+     *  so that a validation pass runs.
      *
-     *
      *  @langversion 3.0
      *  @playerversion Flash 10.1
      *  @playerversion AIR 2.5
@@ -94,11 +136,32 @@
             super.currentState = value;

             // Force a layout pass on the components
+            invalidateSize();
             invalidateDisplayList();
         }
     }

-    /**
+    override protected function measure():void
+    {
+        super.measure();
+
+        measuredWidth = Math.max(actionBar.getPreferredBoundsWidth(),
+                                 contentGroup.getPreferredBoundsWidth());
+
+        if (currentState == "portraitAndOverlay" || currentState == "landscapeAndOverlay")
+        {
+            measuredHeight = Math.max(actionBar.getPreferredBoundsHeight(),
+                                  contentGroup.getPreferredBoundsHeight());
+        }
+        else
+        {
+            measuredHeight = actionBar.getPreferredBoundsHeight() +
+                                                 contentGroup.getPreferredBoundsHeight();
+        }
+    }
+
+    /**
+     *  @private
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.1
@@ -107,34 +170,27 @@
      */
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
-        var top:Number = 0;
-        var componentHeight:Number;
-
-        if (tabBar.includeInLayout)
-        {
-            tabBar.alpha = .5;
-            componentHeight = tabBar.getPreferredBoundsHeight();
-            tabBar.setLayoutBoundsSize(unscaledWidth, componentHeight);
-            tabBar.setLayoutBoundsPosition(0, top);
-
-            top += componentHeight;
-        }
-
+        super.updateDisplayList(unscaledWidth, unscaledHeight);
+
+        var actionBarHeight:Number;
+
+        // The action bar is always placed at 0,0 and stretches the entire
+        // width of the navigator
         if (actionBar.includeInLayout)
         {
-            actionBar.alpha = .5;
-            componentHeight = actionBar.getPreferredBoundsHeight();
-
-            actionBar.setLayoutBoundsSize(unscaledWidth, componentHeight);
-            actionBar.setLayoutBoundsPosition(0, top);
-
-            top += componentHeight;
-        }
-
-        if (hostComponent.overlayControls)
-        {
-            tabBar.alpha = .5;
-            actionBar.alpha = .5;
+            actionBarHeight = Math.min(actionBar.getPreferredBoundsHeight(), unscaledHeight);
+            actionBar.setLayoutBoundsSize(unscaledWidth, actionBarHeight);
+            actionBar.setLayoutBoundsPosition(0, 0);
+            actionBarHeight = actionBar.getLayoutBoundsHeight();
+        }
+
+        // If the hostComponent is in overlay mode, the contentGroup extends
+        // the entire bounds of the navigator and the alpha for the action
+        // bar changes
+        if (currentState == "portraitAndOverlay" || currentState == "landscapeAndOverlay")
+        {
+            // FIXME (chiedozi): Update when XD spec is written
+            actionBar.alpha = .6;

             if (contentGroup.includeInLayout)
             {
@@ -144,18 +200,17 @@
         }
         else
         {
-            tabBar.alpha = 1.0;
             actionBar.alpha = 1.0;

+            // The content group is placed below the actionBar and spans the
+            // remaining space of the navigator.
     		if (contentGroup.includeInLayout)
     		{
-    			var contentGroupHeight:Number = unscaledHeight - top;
+    			var contentGroupHeight:Number = Math.max(unscaledHeight - actionBarHeight, 0);
+

-    			if (contentGroupHeight < contentGroup.minHeight)
-    				contentGroupHeight = contentGroup.minHeight;
-
                 contentGroup.setLayoutBoundsSize(unscaledWidth, contentGroupHeight);
-                contentGroup.setLayoutBoundsPosition(0, top);
+                contentGroup.setLayoutBoundsPosition(0, actionBarHeight);
     		}
         }
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12291
Author:   smgilson@adobe.com
Date:     2009-11-30T20:05:25.519075Z

Log Message:
-----------
update old effects examples and add new ones. Add back the @includeExample tags to effects classes that had them removed for some reason.

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

Modified Paths:
--------------
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples/assets</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/Scale3DEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/LinearEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/SinePowerEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples/KeyFrameEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/assets/logo.jpg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/AnimateFilterEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/Rotate3DEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Bounce.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/easing/examples/BounceElasticEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/ScaleEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/SetActionEffectExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation/examples/assets/logo.jpg</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/animation</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/Move3DEffectExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Elastic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/effects/examples/RotateEffectExample.mxml</path>

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

--- frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as
+++ frameworks/projects/spark/src/mx/controls/treeClasses/MXTreeItemRenderer.as
@@ -150,6 +150,7 @@
     //--------------------------------------------------------------------------

     /**
+     *  @private
      *  Handle special behavior when clicking on the disclosure icon
      */
     protected function disclosureGroup_mouseDownHandler(event:MouseEvent):void
@@ -171,6 +172,7 @@
     }

     /**
+     *  @private
      *  Handle special behavior when clicking on the disclosure icon
      */
     protected function disclosureGroup_clickHandler(event:MouseEvent):void


For increased sharpness and to avoid artifacts, switch UI texture to nearest filtering when scaling the editor UI.

--- bin/Data/Scripts/Editor.as
+++ bin/Data/Scripts/Editor.as
@@ -64,6 +64,11 @@
     {
         // Should we use the inputScale itself to scale UI?
         ui.scale = 2;
+        // When UI scale is increased, also set the UI atlas to nearest filtering to avoid artifacts
+        // (there is no padding) and to have a sharper look
+        Texture2D@ uiTex = cache.GetResource("Texture2D", "Textures/UI.png");
+        if (uiTex !is null)
+            uiTex.filterMode = FILTER_NEAREST;
     }
     // Use system clipboard to allow transport of text in & out from the editor
     ui.useSystemClipboard = true;


RenderingController.numPasses will now take the post processing passes into accound and now using RenderTarget.resize() to make sure the back buffer render target has the proper dimension before rendering

--- src/aerys/minko/scene/controller/scene/RenderingController.as
+++ src/aerys/minko/scene/controller/scene/RenderingController.as
@@ -95,7 +95,12 @@

 		public function get numPasses() : uint
 		{
-			return _passes.length;
+			var numPasses : uint = _passes.length;
+
+			if (_postProcessingEffect)
+				numPasses += _postProcessingEffect.numPasses;
+
+			return numPasses;
 		}

 		public function get numTriangles() : uint
@@ -197,10 +202,7 @@
 						 || _postProcessingBackBuffer.height != h
 						 || _postProcessingBackBuffer.backgroundColor != bgcolor)
 				{
-					_postProcessingBackBuffer.textureResource.setSize(
-						w,
-						h
-					);
+					_postProcessingBackBuffer.resize(w, h);
 					_postProcessingBackBuffer.backgroundColor = bgcolor;
 				}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/charts/src/mx/charts/AreaChart.as
+++ frameworks/projects/charts/src/mx/charts/AreaChart.as
@@ -0,0 +1,341 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.charts
+{
+
+import mx.charts.chartClasses.CartesianChart;
+import mx.charts.chartClasses.DataTip;
+import mx.charts.chartClasses.DataTransform;
+import mx.charts.chartClasses.IAxis;
+import mx.charts.chartClasses.Series;
+import mx.charts.series.AreaSeries;
+import mx.charts.series.AreaSet;
+import mx.charts.styles.HaloDefaults;
+import mx.core.mx_internal;
+import mx.graphics.IFill;
+import mx.graphics.SolidColor;
+import mx.graphics.Stroke;
+import mx.styles.CSSStyleDeclaration;
+import mx.core.IFlexModuleFactory;
+
+use namespace mx_internal;
+
+[DefaultBindingProperty(destination="dataProvider")]
+
+[DefaultTriggerEvent("itemClick")]
+
+[IconFile("AreaChart.png")]
+
+/**
+ *  The AreaChart control represents data as an area
+ *  bounded by a line connecting the values in the data.
+ *  The AreaChart control can be used to represent different variations,
+ *  including simple areas, stacked, 100% stacked, and high/low.
+ *
+ *
The AreaChart control expects its series property
+ *  to contain an Array of AreaSeries objects.

+ *
+ *
Stacked and 100% area charts override the minField
+ *  property of their AreaSeries objects.

+ *
+ *  @mxml
+ *
+ *
The <mx:AreaChart> tag inherits all the properties
+ *  of its parent classes, and adds the following properties:

+ *
+ *

+ *  <mx:AreaChart
+ *    Properties
+ *    type="overlaid|stacked|100%"
+ *  />
+ *

+ *
+ *  @includeExample examples/Line_AreaChartExample.mxml
+ *
+ *  @see mx.charts.series.AreaSeries
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class AreaChart extends CartesianChart
+{
+    include "../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class initialization
+	//
+	//--------------------------------------------------------------------------
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function AreaChart()
+	{
+		super();
+
+		LinearAxis(horizontalAxis).autoAdjust = false;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var _moduleFactoryInitialized:Boolean = false;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+	//  horizontalAxis
+    //----------------------------------
+
+    [Inspectable(category="Data")]
+
+	/**
+	 *  @private
+	 */
+	override public function set horizontalAxis(value:IAxis):void
+	{
+		if (value is CategoryAxis)
+			CategoryAxis(value).padding = 0;
+
+		super.horizontalAxis = value;
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+	//  type
+    //----------------------------------
+
+	/**
+	 *  @private
+	 *  Storage for the type property.
+	 */
+	private var _type:String = "overlaid";
+
+	[Inspectable(category="General", enumeration="overlaid,stacked,100%", defaultValue="overlaid")]
+
+	/**
+	 *  Type of area chart to render.
+	 *
+	 *
Possible values are:

+	 *

+	 *
"overlaid":
+	 *    Multiple areas are rendered on top of each other,
+	 *    with the last series specified on top.
+	 *    This is the default value.

+	 *
"stacked":
+	 *    Areas are stacked on top of each other and grouped by category.
+	 *    Each area represents the cumulative value
+	 *    of the areas beneath it.

+	 *
"100%":
+	 *    Areas are stacked on top of each other, adding up to 100%.
+	 *    Each area represents the percent that series contributes
+	 *    to the sum of the whole.

+	 *

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public function get type():String
+	{
+		return _type;
+	}
+
+	/**
+	 *  @private
+	 */
+	public function set type(value:String):void
+	{
+		_type = value;
+		invalidateSeries();
+		invalidateData();
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function initStyles():Boolean
+	{
+		HaloDefaults.init(styleManager);
+
+		var areaChartStyle:CSSStyleDeclaration =
+			HaloDefaults.createSelector("mx.charts.AreaChart", styleManager);
+
+		var areaChartSeriesStyles:Array /* of Object */ = [];
+
+		areaChartStyle.defaultFactory = function():void
+		{
+			this.axisColor = 0xD5DEDD;
+			this.chartSeriesStyles = areaChartSeriesStyles;
+			this.dataTipRenderer = DataTip;
+			this.fill = new SolidColor(0xFFFFFF, 0);
+			this.calloutStroke = new Stroke(0x888888,2);
+			this.fontSize = 10;
+			this.horizontalAxisStyleName = "hangingCategoryAxis";
+			this.secondHorizontalAxisStyleName = "hangingCategoryAxis";
+			this.secondVerticalAxisStyleName = "blockNumericAxis";
+			this.textAlign = "left";
+			this.verticalAxisStyleName = "blockNumericAxis";
+			this.horizontalAxisStyleNames = ["hangingCategoryAxis"];
+			this.verticalAxisStyleNames = ["blockNumericAxis"];
+		}
+
+		var n:int = HaloDefaults.defaultFills.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			var styleName:String = "haloAreaSeries" + i;
+			areaChartSeriesStyles[i] = styleName;
+
+			var o:CSSStyleDeclaration =
+				HaloDefaults.createSelector("." + styleName, styleManager);
+
+			var f:Function = function(o:CSSStyleDeclaration, stroke:Stroke,
+									  fill:IFill):void
+			{
+				o.defaultFactory = function():void
+				{
+					this.areaFill = fill;
+					this.fill = fill;
+				}
+			}
+
+			f(o, null, HaloDefaults.defaultFills[i]);
+		}
+
+		return true;
+	}
+
+	/**
+	 *  @inheritDoc
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	override public function set moduleFactory(factory:IFlexModuleFactory):void
+	{
+		super.moduleFactory = factory;
+
+		if (_moduleFactoryInitialized)
+			return;
+
+		_moduleFactoryInitialized = true;
+
+		// our style settings
+		initStyles();
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: ChartBase
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function customizeSeries(seriesGlyph:Series,
+												i:uint):void
+	{
+		var aSeries:AreaSeries = seriesGlyph as AreaSeries;
+
+		if (aSeries)
+		{
+			aSeries.stacker = null;
+			aSeries.stackTotals = null;
+		}
+	}
+
+	/**
+	 *  @private
+	 */
+	override protected function applySeriesSet(seriesSet:Array /* of Series */,
+											   transform:DataTransform):Array /* of Series */
+	{
+		switch (_type)
+		{
+			case "stacked":
+			case "100%":
+			{
+				var newSeriesGlyph:AreaSet = new AreaSet();
+				newSeriesGlyph.series = seriesSet;
+				newSeriesGlyph.type = _type;
+				return [ newSeriesGlyph ];
+			}
+
+			case "overlaid":
+			default:
+			{
+				return super.applySeriesSet(seriesSet, transform);
+			}
+		}
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: CartesianChart
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function initSecondaryMode():void
+	{
+		super.initSecondaryMode();
+
+		if (!secondVerticalAxis)
+			secondVerticalAxis = new LinearAxis();
+
+		if (!secondVerticalAxisRenderer)
+			secondVerticalAxisRenderer = new AxisRenderer();
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 16262
Author:   dloverin@adobe.com
Date:     2010-05-20T18:44:39.210129Z

Log Message:
-----------
Move mx components out of framework.swc into mx.swc

The new mx.swc library lives in the libs/mx directory.

QE notes: Of the 5 failures I saw: 1 was intermittent and 4 are not a bug.
Managers/StyleManager/AdvancedCSS/descendantSelectors/AdvancedCSS_descendantSelectors_Style descendantSelector_combining_nested_style
    This failure was intermittent.

mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ApplicationControlBar_FromTo
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ApplicationControlBar_By
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ControlBar_FromTo
mx/effects/Resize/Containers/Resize_Containers Effects_Resize_Containers_ControlBar_By
    These failures are due to my code changes but I believe the old behavior was incorrect. When a control bar is the last child in a Panel it should appear at the bottom of the Panel. In the test case an ApplicationControlBar/ContorlBar is added to an empty Panel, making it the last child in the Panel. So it should appear at the bottom of the Panel instead of inside the Panel.

Doc notes: new library, mx.swc
Bugs:
Reviewer: Alex
Tests run:
Is noteworthy for integration: Yes

Modified Paths:
--------------
740 paths were modified

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

--- frameworks/projects/framework/src/FrameworkClasses.as
+++ frameworks/projects/framework/src/FrameworkClasses.as
@@ -28,6 +28,7 @@
 	import mx.binding.FunctionReturnWatcher; FunctionReturnWatcher;
 	import mx.binding.IBindingClient; IBindingClient;
 	import mx.binding.IWatcherSetupUtil; IWatcherSetupUtil;
+	import mx.binding.IWatcherSetupUtil2; IWatcherSetupUtil2;
 	import mx.binding.PropertyWatcher; PropertyWatcher;
 	import mx.binding.RepeatableBinding; RepeatableBinding;
 	import mx.binding.RepeaterComponentWatcher; RepeaterComponentWatcher;
@@ -36,24 +37,36 @@
 	import mx.binding.XMLWatcher; XMLWatcher;
 	import mx.binding.utils.BindingUtils; BindingUtils;
 	import mx.binding.utils.ChangeWatcher; ChangeWatcher;
-	import mx.controls.Alert; Alert;
-	import mx.controls.videoClasses.CuePointManager; CuePointManager;
+	import mx.collections.ItemWrapper; ItemWrapper;
+	import mx.containers.errors.ConstraintError; ConstraintError;
+	import mx.containers.utilityClasses.Flex; Flex;
+	import mx.collections.ModifiedCollectionView; ModifiedCollectionView;
+	import mx.containers.utilityClasses.FlexChildInfo; FlexChildInfo;
+	import mx.containers.utilityClasses.IConstraintLayout; IConstraintLayout;
+	import mx.controls.colorPickerClasses.WebSafePalette; WebSafePalette;
+	import mx.controls.listClasses.IListItemRenderer; IListItemRenderer;
 	import mx.core.BitmapAsset; BitmapAsset;
 	import mx.core.ButtonAsset; ButtonAsset;
 	import mx.core.ByteArrayAsset; ByteArrayAsset;
 	import mx.core.ClassFactory; ClassFactory;
+	import mx.core.ContainerGlobals; ContainerGlobals;
+	import mx.core.ContextualClassFactory; ContextualClassFactory;
 	import mx.core.CrossDomainRSLItem; CrossDomainRSLItem;
 	import mx.core.DeferredInstanceFromClass; DeferredInstanceFromClass;
 	import mx.core.DeferredInstanceFromFunction; DeferredInstanceFromFunction;
 	import mx.core.DesignLayer; DesignLayer;
 	import mx.core.FlexLoader; FlexLoader;
 	import mx.core.FontAsset; FontAsset;
+	import mx.core.IDataRenderer; IDataRenderer;
 	import mx.core.IDeferredInstance; IDeferredInstance;
+	import mx.core.INavigatorContent; INavigatorContent;
+	import mx.core.ISelectableList; ISelectableList;
 	import mx.core.ISystemCursorClient; ISystemCursorClient;
 	import mx.core.IUID; IUID;
 	import mx.core.MovieClipAsset; MovieClipAsset;
 	import mx.core.MovieClipLoaderAsset; MovieClipLoaderAsset;
 	import mx.core.MXMLObjectAdapter; MXMLObjectAdapter;
+	import mx.core.ScrollPolicy; ScrollPolicy;
 	import mx.core.SimpleApplication; SimpleApplication;
 	import mx.core.SoundAsset; SoundAsset;
 	import mx.core.TextFieldAsset; TextFieldAsset;
@@ -61,14 +74,11 @@
 	import mx.effects.easing.Back; Back;
 	import mx.effects.easing.Bounce; Bounce;
 	import mx.effects.easing.Circular; Circular;
-	import mx.effects.easing.Cubic; Cubic;
 	import mx.effects.easing.Elastic; Elastic;
 	import mx.effects.easing.Exponential; Exponential;
-	import mx.effects.easing.Linear; Linear;
-	import mx.effects.easing.Quadratic; Quadratic;
-	import mx.effects.easing.Quartic; Quartic;
-	import mx.effects.easing.Quintic; Quintic;
-	import mx.effects.easing.Sine; Sine;
+	import mx.events.CloseEvent; CloseEvent;
+	import mx.events.DropdownEvent; DropdownEvent;
+	import mx.events.ItemClickEvent; ItemClickEvent;
 	import mx.events.ModuleEvent; ModuleEvent;
 	import mx.filters.BaseFilter; BaseFilter;
 	import mx.filters.BaseDimensionFilter; BaseDimensionFilter;
@@ -76,87 +86,48 @@
 	import mx.graphics.ImageSnapshot; ImageSnapshot;
 	import mx.graphics.codec.PNGEncoder; PNGEncoder;
 	import mx.graphics.codec.JPEGEncoder; JPEGEncoder;
-    import mx.graphics.shaderClasses.ColorBurnShader; ColorBurnShader;
-    import mx.graphics.shaderClasses.ColorDodgeShader; ColorDodgeShader;
-    import mx.graphics.shaderClasses.ColorShader; ColorShader;
-    import mx.graphics.shaderClasses.ExclusionShader; ExclusionShader;
-    import mx.graphics.shaderClasses.HueShader; HueShader;
-    import mx.graphics.shaderClasses.LuminosityShader; LuminosityShader;
-    import mx.graphics.shaderClasses.LuminosityMaskShader; LuminosityMaskShader;
-    import mx.graphics.shaderClasses.SaturationShader; SaturationShader;
-    import mx.graphics.shaderClasses.SoftLightShader; SoftLightShader;
+      import mx.graphics.shaderClasses.ColorBurnShader; ColorBurnShader;
+      import mx.graphics.shaderClasses.ColorDodgeShader; ColorDodgeShader;
+      import mx.graphics.shaderClasses.ColorShader; ColorShader;
+      import mx.graphics.shaderClasses.ExclusionShader; ExclusionShader;
+      import mx.graphics.shaderClasses.HueShader; HueShader;
+      import mx.graphics.shaderClasses.LuminosityShader; LuminosityShader;
+      import mx.graphics.shaderClasses.LuminosityMaskShader; LuminosityMaskShader;
+      import mx.graphics.shaderClasses.SaturationShader; SaturationShader;
+      import mx.graphics.shaderClasses.SoftLightShader; SoftLightShader;
 	import mx.logging.ILogger; ILogger;
 	import mx.logging.Log; Log;
 	import mx.logging.targets.TraceTarget; TraceTarget;
 	import mx.managers.DragManager; DragManager;
+	import mx.managers.HistoryManager; HistoryManager;
+	import mx.managers.IHistoryManagerClient; IHistoryManagerClient;
 	import mx.managers.marshalClasses.CursorManagerMarshalMixin; CursorManagerMarshalMixin;
 	import mx.managers.marshalClasses.DragManagerMarshalMixin; DragManagerMarshalMixin;
 	import mx.managers.marshalClasses.FocusManagerMarshalMixin; FocusManagerMarshalMixin;
 	import mx.managers.marshalClasses.PopUpManagerMarshalMixin; PopUpManagerMarshalMixin;
 	import mx.managers.marshalClasses.ToolTipManagerMarshalMixin; ToolTipManagerMarshalMixin;
+      import mx.managers.PopUpManager; PopUpManager;
 	import mx.managers.systemClasses.ActiveWindowManager; ActiveWindowManager;
 	import mx.managers.systemClasses.ChildManager; ChildManager;
 	import mx.managers.systemClasses.MarshallingSupport; MarshallingSupport;
 	import mx.messaging.config.LoaderConfig; LoaderConfig;
 	import mx.modules.IModuleInfo; IModuleInfo;
-	import mx.modules.Module; Module;
 	import mx.modules.ModuleBase; ModuleBase;
-	import mx.modules.ModuleLoader; ModuleLoader;
 	import mx.modules.ModuleManager; ModuleManager;
-    import mx.preloaders.DownloadProgressBar; DownloadProgressBar;
-    import mx.preloaders.SparkDownloadProgressBar; SparkDownloadProgressBar;
+      import mx.preloaders.DownloadProgressBar; DownloadProgressBar;
+      import mx.preloaders.SparkDownloadProgressBar; SparkDownloadProgressBar;
 	import mx.printing.FlexPrintJob; FlexPrintJob;
 	import mx.resources.Locale; Locale;
 	import mx.rpc.IResponder; IResponder;
 	import mx.skins.Border; Border;
-	import mx.skins.halo.AccordionHeaderSkin; AccordionHeaderSkin;
-	import mx.skins.halo.ActivatorSkin; ActivatorSkin;
-	import mx.skins.halo.ApplicationBackground; ApplicationBackground;
 	import mx.skins.halo.BrokenImageBorderSkin; BrokenImageBorderSkin;
 	import mx.skins.halo.BusyCursor; BusyCursor;
-	import mx.skins.halo.ButtonBarButtonSkin; ButtonBarButtonSkin;
-	import mx.skins.halo.ButtonSkin; ButtonSkin;
-	import mx.skins.halo.CheckBoxIcon; CheckBoxIcon;
-	import mx.skins.halo.ColorPickerSkin; ColorPickerSkin;
-	import mx.skins.halo.ComboBoxArrowSkin; ComboBoxArrowSkin;
-	import mx.skins.halo.DataGridColumnResizeSkin; DataGridColumnResizeSkin;
-	import mx.skins.halo.DataGridHeaderBackgroundSkin; DataGridHeaderBackgroundSkin;
-	import mx.skins.halo.DataGridHeaderSeparator; DataGridHeaderSeparator;
-	import mx.skins.halo.DataGridSortArrow; DataGridSortArrow;
-	import mx.skins.halo.DateChooserIndicator; DateChooserIndicator;
-	import mx.skins.halo.DateChooserMonthArrowSkin; DateChooserMonthArrowSkin;
-	import mx.skins.halo.DateChooserYearArrowSkin; DateChooserYearArrowSkin;
 	import mx.skins.halo.DefaultDragImage; DefaultDragImage;
-	import mx.skins.halo.HaloBorder; HaloBorder;
-	import mx.skins.halo.HaloColors; HaloColors;
 	import mx.skins.halo.HaloFocusRect; HaloFocusRect;
-	import mx.skins.halo.SliderHighlightSkin; SliderHighlightSkin;
-	import mx.skins.halo.SliderThumbSkin; SliderThumbSkin;
-	import mx.skins.halo.SliderTrackSkin; SliderTrackSkin;
-	import mx.skins.halo.LinkButtonSkin; LinkButtonSkin;
-	import mx.skins.halo.LinkSeparator; LinkSeparator;
 	import mx.skins.halo.ListDropIndicator; ListDropIndicator;
-	import mx.skins.halo.MenuBarBackgroundSkin; MenuBarBackgroundSkin;
-	import mx.skins.halo.NumericStepperDownSkin; NumericStepperDownSkin;
-	import mx.skins.halo.NumericStepperUpSkin; NumericStepperUpSkin;
-	import mx.skins.halo.PanelSkin; PanelSkin;
-	import mx.skins.halo.PopUpButtonSkin; PopUpButtonSkin;
-	import mx.skins.halo.PopUpIcon; PopUpIcon;
-	import mx.skins.halo.PopUpMenuIcon; PopUpMenuIcon;
-	import mx.skins.halo.ProgressBarSkin; ProgressBarSkin;
-	import mx.skins.halo.ProgressIndeterminateSkin; ProgressIndeterminateSkin;
-	import mx.skins.halo.ProgressMaskSkin; ProgressMaskSkin;
-	import mx.skins.halo.ProgressTrackSkin; ProgressTrackSkin;
-	import mx.skins.halo.RadioButtonIcon; RadioButtonIcon;
-	import mx.skins.halo.ScrollArrowSkin; ScrollArrowSkin;
-	import mx.skins.halo.ScrollThumbSkin; ScrollThumbSkin;
-	import mx.skins.halo.ScrollTrackSkin; ScrollTrackSkin;
-	import mx.skins.halo.TabSkin; TabSkin;
-	import mx.skins.halo.TitleBackground; TitleBackground;
 	import mx.skins.halo.ToolTipBorder; ToolTipBorder;
 	import mx.skins.ProgrammaticSkin; ProgrammaticSkin;
 	import mx.skins.RectangularBorder; RectangularBorder;
-	import mx.skins.halo.WindowBackground; WindowBackground;
 	import mx.styles.IStyleModule; IStyleModule;
 	import mx.utils.ArrayUtil; ArrayUtil;
 	import mx.utils.DescribeTypeCache; DescribeTypeCache;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10131
Author:   chaase@adobe.com
Date:     2009-09-10T21:25:42.980194Z

Log Message:
-----------
Fixes to several effects bugs and one styles-related bug.

QE notes: Fixes to all filed auto-center feature bugs.
Doc notes: None
Bugs: sdk-22994, sdk-22992, sdk-22990, sdk-21850, sdk-22973
Reviewer: Jason (+Glenn for RadioButton/CheckBox changes, 21850)
Tests run: checkintests, Mustella (transform effects, Slider, DataGrid - all passed last week, prior to skin/test changes)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.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/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.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/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.as</path>

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

--- frameworks/projects/mx/src/mx/controls/RadioButton.as
+++ frameworks/projects/mx/src/mx/controls/RadioButton.as
@@ -24,6 +24,8 @@
 import mx.events.ItemClickEvent;
 import mx.managers.IFocusManager;
 import mx.managers.IFocusManagerGroup;
+import mx.core.UITextField;
+import flash.text.TextLineMetrics;

 use namespace mx_internal;

@@ -498,7 +500,18 @@
     {
         super.measure();

-		if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
+        if (!label &&
+            FlexVersion.compatibilityVersion >= FlexVersion.VERSION_4_0)
+        {
+            // Adjust the height to account for text height, even when there
+            // is no label. super.measure() handles non-null label case, so we just
+            // handle null label case here
+            var lineMetrics:TextLineMetrics  = measureText(label);
+            var textH:Number = lineMetrics.height + UITextField.TEXT_HEIGHT_PADDING;
+            textH += getStyle("paddingTop") + getStyle("paddingBottom");
+            measuredMinHeight = measuredHeight = Math.max(textH, measuredMinHeight);
+        }
+        else if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
         {
 	        var textHeight:Number = measureText(label).height;
 	        var iconHeight:Number = currentIcon ? currentIcon.height : 0;


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

--- frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as
+++ frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.
+//
+////////////////////////////////////////////////////////////////////////////////

 package mx.rpc.xml
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 15871
Author:   dloverin@adobe.com
Date:     2010-05-03T19:14:33.392012Z

Log Message:
-----------
Changes so modules and sub-applications will not load RSLs that are already loaded.

Changes to support not loading RSLs that are already loaded.

frameworks/projects/framework/src/mx/core/RSLData.as
            New class to allow access to RSL properties in a structured way.

frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as
            Used new format of rsl data. Cleaned up  constructor.

frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
frameworks/projects/framework/src/mx/managers/SystemManager.as
            Checked if an RSL is already loaded before loading it. In the future this check could retrieve the module factory  of where the RSL should be loaded.

frameworks/projects/framework/src/mx/utils/LoaderUtil.as
            New method to check for loaded RSLs.

modules/compiler/src/java/flex2/tools/PreLink.java
            Generate RSL data in new format. Digests are now always present even when verify-digests is false. The value of verify digests is passed as an RSL property. Cache the value of info().

QE notes: None.
Doc notes: New feature.
Bugs:
Reviewer: Alex
Tests run: checkintests, submitted patch to testing service.
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/RSLData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/LoaderUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
@@ -29,10 +29,13 @@
 import mx.core.RSLItem;
 import mx.core.RSLListLoader;
 import mx.events.ModuleEvent;
+import mx.events.Request;
 import mx.managers.SystemManagerGlobals;
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;
 import mx.utils.LoaderUtil;
+
+use namespace mx_internal;

 [ExcludeClass]

@@ -477,22 +480,28 @@
         var i:int;
         if (cdRsls && cdRsls.length > 0)
         {
+            var request:Request = new Request(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST);
+            dispatchEvent(request);
+            var parentModuleFactory:IFlexModuleFactory = request.value as IFlexModuleFactory;
             var normalizedURL:String = LoaderUtil.normalizeURL(this.loaderInfo);
             var crossDomainRSLItem:Class = Class(getDefinitionByName("mx.core::CrossDomainRSLItem"));
             n = cdRsls.length;
             for (i = 0; i < n; i++)
             {
+                var rslWithFailoverArray:Array = cdRsls[i];
+
+                if (parentModuleFactory &&
+                    LoaderUtil.getRSLLoadData(parentModuleFactory,
+                        cdRsls[i][0]["digest"]))
+                {
+                    continue; // if the rsl is already loaded then skip loading it.
+                }
+
                 // If crossDomainRSLItem is null, then this is a compiler error. It should not be null.
-                var cdNode:Object = new crossDomainRSLItem(
-                    cdRsls[i]["rsls"],
-                    cdRsls[i]["policyFiles"],
-                    cdRsls[i]["digests"],
-                    cdRsls[i]["types"],
-                    cdRsls[i]["isSigned"],
+                var cdNode:Object = new crossDomainRSLItem(rslWithFailoverArray,
                     normalizedURL,
                     this);
-
-                rslList.push(cdNode);
+                rslList.push(cdNode);
             }

         }


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

--- frameworks/projects/framework/src/mx/resources/LocaleSorter.as
+++ frameworks/projects/framework/src/mx/resources/LocaleSorter.as
@@ -362,6 +362,11 @@

 	/**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function LocaleID()
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 13125
Author:   smgilson@adobe.com
Date:     2009-12-21T20:40:37.345444Z

Log Message:
-----------
ASDoc L10N fixes

QE notes: -
Doc notes: -
Bugs: - FLEXDOCS-885, FLEXDOCS-841,FLEXDOCS-839, FLEXDOCS-769, FLEXDOCS-545, FLEXDOCS-540
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.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/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -1283,7 +1283,7 @@
     mx_internal var bSelectOnRelease:Boolean;

     private var mouseDownItem:IListItemRenderer;
-	private var mouseDownIndex:int; // For drag and drop
+    private var mouseDownIndex:int; // For drag and drop

     mx_internal var bSelectionChanged:Boolean = false;
     mx_internal var bSelectedIndexChanged:Boolean = false;
@@ -2249,7 +2249,7 @@
         collectionIterator = collection.createCursor(); //IViewCursor(collection);
         // trace("ListBase added change listener");
         collection.addEventListener(CollectionEvent.COLLECTION_CHANGE, collectionChangeHandler, false, 0, true);
-
+
         clearSelectionData();

         var event:CollectionEvent = new CollectionEvent(CollectionEvent.COLLECTION_CHANGE);
@@ -5689,7 +5689,7 @@
      *  @param data The data to be presented by the item renderer.
      *
      *  @return if data is null, the default item renderer,
-     *  otherwis it returns the custom item renderer.
+     *  otherwise it returns the custom item renderer.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -8377,44 +8377,44 @@
      */
     protected function addDragData(dragSource:Object):void // actually a DragSource
     {
-		// The Hallo drag drop data format
-		dragSource.addHandler(copySelectedItems, "items");
-
-		// The Spark drag drop data format
-		dragSource.addHandler(copySelectedItemsForDragDrop, "itemsByIndex");
-
-		// Calculate the index of the focus item within the vector
-		// of ordered items returned for the "itemsByIndex" format.
-		var caretIndex:int = 0;
-		var draggedIndices:Array = selectedIndices;
-		var count:int = draggedIndices.length;
-		for (var i:int = 0; i < count; i++)
-		{
-			if (mouseDownIndex > draggedIndices[i])
-				caretIndex++;
-		}
-		dragSource.addData(caretIndex, "caretIndex");
-    }
-
-	/**
-	 *  @private
-	 */
-	private function copySelectedItemsForDragDrop():Vector.<Object>
-	{
-		// Copy the vector so that we don't modify the original
-		// since selectedIndices returns a reference.
-		var draggedIndices:Array = selectedIndices.slice(0, selectedIndices.length);
-		var result:Vector.<Object> = new Vector.<Object>(draggedIndices.length);
-
-		// Sort in the order of the data source
-		draggedIndices.sort();
-
-		// Copy the items
-		var count:int = draggedIndices.length;
-		for (var i:int = 0; i < count; i++)
-			result[i] = dataProvider.getItemAt(draggedIndices[i]);
-		return result;
-	}
+        // The Hallo drag drop data format
+        dragSource.addHandler(copySelectedItems, "items");
+
+        // The Spark drag drop data format
+        dragSource.addHandler(copySelectedItemsForDragDrop, "itemsByIndex");
+
+        // Calculate the index of the focus item within the vector
+        // of ordered items returned for the "itemsByIndex" format.
+        var caretIndex:int = 0;
+        var draggedIndices:Array = selectedIndices;
+        var count:int = draggedIndices.length;
+        for (var i:int = 0; i < count; i++)
+        {
+            if (mouseDownIndex > draggedIndices[i])
+                caretIndex++;
+        }
+        dragSource.addData(caretIndex, "caretIndex");
+    }
+
+    /**
+     *  @private
+     */
+    private function copySelectedItemsForDragDrop():Vector.<Object>
+    {
+        // Copy the vector so that we don't modify the original
+        // since selectedIndices returns a reference.
+        var draggedIndices:Array = selectedIndices.slice(0, selectedIndices.length);
+        var result:Vector.<Object> = new Vector.<Object>(draggedIndices.length);
+
+        // Sort in the order of the data source
+        draggedIndices.sort();
+
+        // Copy the items
+        var count:int = draggedIndices.length;
+        for (var i:int = 0; i < count; i++)
+            result[i] = dataProvider.getItemAt(draggedIndices[i]);
+        return result;
+    }

     /**
      *  Returns the index where the dropped items should be added
@@ -10143,9 +10143,9 @@
         {
             dragScrollingInterval = setInterval(dragScroll, 15);
         }
-
-		if (dragEnabled)
-			mouseDownIndex = itemRendererToIndex(item);
+
+        if (dragEnabled)
+            mouseDownIndex = itemRendererToIndex(item);

         // If dragEnabled is true, clicks on selected contents should cause
         // a selection change on mouse up instead of mouse down. Otherwise,
@@ -10175,7 +10175,7 @@
     private function mouseLeaveHandler(event:Event):void
     {
         mouseDownPoint = null;
-		mouseDownIndex = -1;
+        mouseDownIndex = -1;

         mouseIsUp();

@@ -10215,7 +10215,7 @@
     protected function mouseUpHandler(event:MouseEvent):void
     {
         mouseDownPoint = null;
-		mouseDownIndex = -1;
+        mouseDownIndex = -1;
         //trace("mouseUp");
         var item:IListItemRenderer = mouseEventToItemRenderer(event);
         var pt:Point = itemRendererToIndices(item);


Transferred from the Adobe Open Source Subversion Repository

Revision: 19795
Author:   rfrishbe@adobe.com
Date:     2011-01-18T19:15:14.349353Z

Log Message:
-----------
Bunch of small, mostly ASDoc cleanups:

1) Cleaning up ASDoc around alternatingItemColors (after SVN 19684) and mis-spelling "Destroy"

2) Cleaning up an un-needed style in defaults.css since it's set in Scroller.

3) In Spark ListBase, removing an un-needed FIXME, but fixing up the documentation since we were actually doing it correctly before, but the documentation was just wrong.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/ListBase.as
@@ -173,7 +173,7 @@

 /**
  *  The colors to use for the backgrounds of the items in the list.
- *  The value is an array of two or more colors.
+ *  The value is an array of one or more colors.
  *  The backgrounds of the list items alternate among the colors in the array.
  *
  *  <p>For DataGrid controls, all items in a row have the same background color,