Transferred from the Adobe Open Source Subversion Repository

Revision: 3634
Author:   mhorn@adobe.com
Date:     2008-10-14T20:28:10.010975Z

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/FilledElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/QuadraticBezierSegment.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as
@@ -34,161 +34,170 @@
  */
 public class StrokedElement extends GraphicElement
 {
-	include "../core/Version.as";
-	//--------------------------------------------------------------------------
-	//
-	//  Constructor
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Constructor.
-	 */
-	public function StrokedElement()
-	{
-		super();
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Properties
-	//
-	//--------------------------------------------------------------------------
-
-	//----------------------------------
-	//  stroke
-	//----------------------------------
-
-	mx_internal var _stroke:IStroke;
-
-	[Bindable("propertyChange")]
-	[Inspectable(category="General")]
-
-	/**
-	 *  The stroke used by this element.
-	 */
-	public function get stroke():IStroke
-	{
-		return _stroke;
-	}
-
-	public function set stroke(value:IStroke):void
-	{
-		var strokeEventDispatcher:EventDispatcher;
-		var oldValue:IStroke = _stroke;
-
-		strokeEventDispatcher = _stroke as EventDispatcher;
-		if (strokeEventDispatcher)
-			strokeEventDispatcher.removeEventListener(
-				PropertyChangeEvent.PROPERTY_CHANGE,
-				stroke_propertyChangeHandler);
-
-		_stroke = value;
-
-		strokeEventDispatcher = _stroke as EventDispatcher;
-		if (strokeEventDispatcher)
-			strokeEventDispatcher.addEventListener(
-				PropertyChangeEvent.PROPERTY_CHANGE,
-				stroke_propertyChangeHandler);
-
-		dispatchPropertyChangeEvent("stroke", oldValue, _stroke);
-
-		invalidateDisplayList();
-		// Parent layout takes stroke into account
-		invalidateParentSizeAndDisplayList();
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  IGraphicElement Implementation
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @inheritDoc
-	 */
+    include "../core/Version.as";
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     */
+    public function StrokedElement()
+    {
+        super();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  stroke
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    mx_internal var _stroke:IStroke;
+
+    [Bindable("propertyChange")]
+    [Inspectable(category="General")]
+
+    /**
+     *  The stroke used by this element.
+     */
+    public function get stroke():IStroke
+    {
+        return _stroke;
+    }
+
+    /**
+     *  @private
+     */
+    public function set stroke(value:IStroke):void
+    {
+        var strokeEventDispatcher:EventDispatcher;
+        var oldValue:IStroke = _stroke;
+
+        strokeEventDispatcher = _stroke as EventDispatcher;
+        if (strokeEventDispatcher)
+            strokeEventDispatcher.removeEventListener(
+                PropertyChangeEvent.PROPERTY_CHANGE,
+                stroke_propertyChangeHandler);
+
+        _stroke = value;
+
+        strokeEventDispatcher = _stroke as EventDispatcher;
+        if (strokeEventDispatcher)
+            strokeEventDispatcher.addEventListener(
+                PropertyChangeEvent.PROPERTY_CHANGE,
+                stroke_propertyChangeHandler);
+
+        dispatchPropertyChangeEvent("stroke", oldValue, _stroke);
+
+        invalidateDisplayList();
+        // Parent layout takes stroke into account
+        invalidateParentSizeAndDisplayList();
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  IGraphicElement Implementation
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @inheritDoc
+     */
     override protected function updateDisplayList(unscaledWidth:Number,
                                                   unscaledHeight:Number):void
-	{
-		//trace("StrokedElement.updateDisplayList w",unscaledWidth,"h",unscaledHeight,"drawnDisplayObject",drawnDisplayObject,"this",this);
-	    if (!drawnDisplayObject || !(drawnDisplayObject is Sprite))
-	        return;
-
-	    if (displayObject is Sprite)
-	       	Sprite(displayObject).graphics.clear();
-	    else if (displayObject is Shape)
-	    	Shape(displayObject).graphics.clear();
-
-	    var g:Graphics = (drawnDisplayObject as Sprite).graphics;
-
-		beginDraw(g);
-		drawElement(g);
-		endDraw(g);
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  Set up the drawing for this element. This is the first of three steps
-	 *  taken during the drawing process. In this step, the stroke properties
-	 *  are applied.
-	 */
-	protected function beginDraw(g:Graphics):void
-	{
-		if (stroke)
-			stroke.draw(g,new Rectangle(measuredX, measuredY, width, height));
-		else
-			g.lineStyle();
-
-		// Even though this is a stroked element, we still need to beginFill/endFill
-		// otherwise subsequent fills could get messed up.
-		g.beginFill(0, 0);
-	}
-
-	/**
-	 *  Draw the element. This is the second of three steps taken during the drawing
-	 *  process. Override this method to implement your drawing. The stroke
-	 *  (and fill, if applicable) have been set in beginDraw. Your override should
-	 *  only contain drawing commands like moveTo(), curveTo(), and drawRect().
-	 */
-	protected function drawElement(g:Graphics):void
-	{
-		// override to do your drawing
-	}
-
-	/**
-	 *  Finalize drawing for this element. This is the final of the three steps taken
-	 *  during the drawing process. In this step, fills are closed.
-	 */
-	protected function endDraw(g:Graphics):void
-	{
-		g.endFill();
-	}
-
+    {
+        //trace("StrokedElement.updateDisplayList w",unscaledWidth,"h",unscaledHeight,"drawnDisplayObject",drawnDisplayObject,"this",this);
+        if (!drawnDisplayObject || !(drawnDisplayObject is Sprite))
+            return;
+
+        if (displayObject is Sprite)
+            Sprite(displayObject).graphics.clear();
+        else if (displayObject is Shape)
+            Shape(displayObject).graphics.clear();
+
+        var g:Graphics = (drawnDisplayObject as Sprite).graphics;
+
+        beginDraw(g);
+        drawElement(g);
+        endDraw(g);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Set up the drawing for this element. This is the first of three steps
+     *  taken during the drawing process. In this step, the stroke properties
+     *  are applied.
+     */
+    protected function beginDraw(g:Graphics):void
+    {
+        if (stroke)
+            stroke.draw(g,new Rectangle(measuredX, measuredY, width, height));
+        else
+            g.lineStyle();
+
+        // Even though this is a stroked element, we still need to beginFill/endFill
+        // otherwise subsequent fills could get messed up.
+        g.beginFill(0, 0);
+    }
+
+    /**
+     *  Draw the element. This is the second of three steps taken during the drawing
+     *  process. Override this method to implement your drawing. The stroke
+     *  (and fill, if applicable) have been set in the beginDraw() method.
+     *  Your override should only contain calls to drawing methods such as
+     *  moveTo(), curveTo(), and drawRect().
+     */
+    protected function drawElement(g:Graphics):void
+    {
+        // override to do your drawing
+    }
+
+    /**
+     *  Finalize drawing for this element. This is the final of the three steps taken
+     *  during the drawing process. In this step, fills are closed.
+     *
+     *  @param g The graphics element to finish drawing.
+     */
+    protected function endDraw(g:Graphics):void
+    {
+        g.endFill();
+    }
+
     override protected function getStroke():IStroke
     {
-    	return stroke;
-    }
-
-	//--------------------------------------------------------------------------
-	//
-	//  EventHandlers
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	protected function stroke_propertyChangeHandler(event:Event):void
-	{
-		invalidateDisplayList();
-	    // Parent layout takes stroke into account
-		invalidateParentSizeAndDisplayList();
-	}
+        return stroke;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  EventHandlers
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    protected function stroke_propertyChangeHandler(event:Event):void
+    {
+        invalidateDisplayList();
+        // Parent layout takes stroke into account
+        invalidateParentSizeAndDisplayList();
+    }

 }


Started to modularize the app

Started to modularize the app

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

--- org.openwms/trunk/source/org.openwms.client.flex.app/src/main/flex/org/openwms/web/flex/client/control/MainController.as
+++ org.openwms/trunk/source/org.openwms.client.flex.app/src/main/flex/org/openwms/web/flex/client/control/MainController.as
@@ -1,83 +0,0 @@
-/*
- * openwms.org, the Open Warehouse Management System.
- *
- * This file is part of openwms.org.
- *
- * openwms.org is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * openwms.org is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with this software. If not, write to the Free
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
- */
-package org.openwms.web.flex.client.control
-{
-    import com.adobe.cairngorm.control.FrontController;
-
-    import org.openwms.web.flex.client.command.*;
-    import org.openwms.web.flex.client.event.*;
-
-    /**
-     * A MainController.
-     *
-     * @author Heiko Scherrer
-     * @version $Revision$
-     */
-    public class MainController extends FrontController
-    {
-        public function MainController():void
-        {
-            super();
-            setupEventHandler();
-        }
-
-        private function setupEventHandler():void
-        {
-            this.addCommand(UserEvent.LOAD_ALL_USERS, LoadUsersCommand);
-            this.addCommand(UserEvent.ADD_USER, AddUserCommand);
-            this.addCommand(UserEvent.SAVE_USER, SaveUserCommand);
-            this.addCommand(UserEvent.DELETE_USER, DeleteUserCommand);
-
-            this.addCommand(SwitchScreenEvent.SHOW_STARTSCREEN, ShowStartscreenCommand);
-            this.addCommand(SwitchScreenEvent.SHOW_MODULE_MGMT_VIEW, ShowModuleManagementViewCommand);
-            this.addCommand(SwitchScreenEvent.SHOW_LOCATION_VIEW, ShowLocationViewCommand);
-            this.addCommand(SwitchScreenEvent.SHOW_LOCATIONGROUP_VIEW, ShowLocationGroupCommand);
-            this.addCommand(SwitchScreenEvent.SHOW_USER_MGMT_VIEW, ShowUserManagementViewCommand);
-            this.addCommand(SwitchScreenEvent.SHOW_TRANSPORTUNIT_VIEW, ShowTransportUnitCommand);
-
-            this.addCommand(LoadLocationGroupsEvent.LOAD_ALL_LOCATION_GROUPS, LoadLocationGroupsCommand);
-            this.addCommand(LocationEvent.LOAD_ALL_LOCATIONS, LoadLocationsCommand);
-
-            this.addCommand(ApplicationEvent.LOAD_ALL_MODULES, LoadModulesCommand);
-            this.addCommand(ApplicationEvent.SAVE_MODULE, SaveModuleCommand);
-            this.addCommand(ApplicationEvent.DELETE_MODULE, DeleteModuleCommand);
-        }
-
-        /**
-         * Register a new command as handler for incoming events. If the event occurrs,
-         * the command is executed.
-         */
-        public function registerHander(event:String, command:Class):void
-        {
-            this.addCommand(event, command);
-        }
-
-        /**
-         * Unregister a command. This is useful when an application module is unloaded. In
-         * that case, all commands belonging to that module and that are registered previously
-         * must be unregistered again.
-         */
-        public function unregisterHandler(event:String):void
-        {
-            this.removeCommand(event)
-        }
-    }
-}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

-/*
- *  The methods here would normally just be in IInteractiveObject,
- *  but for backward compatibility, their ancestor methods have to be included
- *  directly into IFlexDisplayObject, so these also have to be kept in
- *  this separate include file so it can be used in ITextField
- */

-    /**
-     *  @copy flash.display.InteractiveObject#tabEnabled
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
     function get tabEnabled():Boolean;
     function set tabEnabled(enabled:Boolean):void;


Transferred from the Adobe Open Source Subversion Repository

Revision: 22547
Author:   tkraikit@adobe.com
Date:     2011-09-14T01:55:26.518084Z

Log Message:
-----------
SDK-31442: clean up internal handling of Date properties, taking into account defensive copies on the getters
SDK-31535: stop animations when DateSpinner date-related properties are set

QE notes: also added code to handle setting minDate and maxDate bigger or smaller than the defaults; not sure if that was being tested in the past
Doc notes: n/a
Bugs: SDK-31442, SDK-31535
Reviewer: jszeto, jasonsj
Tests run: checkintests, cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
+++ frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as
@@ -464,7 +464,7 @@
     //  maxDate
     //----------------------------------

-    private var _maxDate:Date;
+    private var _maxDate:Date = new Date(MAX_DATE_DEFAULT.time);

     private var maxDateChanged:Boolean = false;

@@ -484,7 +484,7 @@
      */
     public function get maxDate():Date
     {
-        return _maxDate != null ? new Date(_maxDate.time) : new Date(MAX_DATE_DEFAULT.time);
+        return new Date(_maxDate.time);
     }

     /**
@@ -492,14 +492,21 @@
      */
     public function set maxDate(value:Date):void
     {
+        // don't allow minDate to be outside of the defaults
+        if (value &&
+            (value.time < MIN_DATE_DEFAULT.time || value.time > MAX_DATE_DEFAULT.time))
+            value = null;
+
+        // ignore if no change
         if ((_maxDate && value && _maxDate.time == value.time)
             || (_maxDate == null && value == null))
             return;

-        _maxDate = value != null ? new Date(value.time) : value;
+        _maxDate = new Date(value != null ? value.time : MAX_DATE_DEFAULT.time);
         populateYearDataProvider = true;
         populateDateDataProvider = true;
         maxDateChanged = true;
+        syncSelectedDate = true;

         invalidateProperties();
     }
@@ -508,7 +515,7 @@
     //  minDate
     //----------------------------------

-    private var _minDate:Date;
+    private var _minDate:Date = new Date(MIN_DATE_DEFAULT.time);

     private var minDateChanged:Boolean = false;

@@ -529,7 +536,7 @@
      */
     public function get minDate():Date
     {
-        return _minDate != null ? new Date(_minDate.time) : new Date(MIN_DATE_DEFAULT.time);
+        return new Date(_minDate.time);
     }

     /**
@@ -537,14 +544,21 @@
      */
     public function set minDate(value:Date):void
     {
+        // don't allow minDate to be outside of the defaults
+        if (value &&
+            (value.time < MIN_DATE_DEFAULT.time || value.time > MAX_DATE_DEFAULT.time))
+            value = null;
+
+        // ignore if no change
         if ((_minDate && value && _minDate.time == value.time)
             || (_minDate == null && value == null))
             return;

-        _minDate = value != null ? new Date(value.time) : value;
+        _minDate = new Date(value != null ? value.time : MIN_DATE_DEFAULT.time);
         populateYearDataProvider = true;
         populateDateDataProvider = true;
-        minDateChanged = true;
+        minDateChanged = true;
+        syncSelectedDate = true;

         invalidateProperties();
     }
@@ -589,6 +603,7 @@
         _minuteStepSize = value;
         minuteStepSizeChanged = true;
         populateMinuteDataProvider = true;
+        syncSelectedDate = true;

         invalidateProperties();
     }
@@ -718,6 +733,10 @@
             refreshDateTimeFormatter = false;
         }

+        // stop any animations if we might be resetting the visible values
+        if (syncSelectedDate)
+            stopAllAnimations();
+
         // ==================================================
         // switch out lists if the display mode changed

@@ -740,7 +759,7 @@
         if (minDateChanged || maxDateChanged || syncSelectedDate || minuteStepSizeChanged)
         {
             // check min <= max
-            if (minDate.time > maxDate.time)
+            if (_minDate.time > _maxDate.time)
             {
                 // note assumption here that we're not using the defaults since they
                 // should always maintain minDate < maxDate integrity
@@ -753,19 +772,19 @@
             }

             // make sure there's at least one minuteStepSize between the min and max
-            if ((maxDate.time - minDate.time) < (minuteStepSize * 60 * 1000))
-                maxDate.time = minDate.time + (minuteStepSize * 60 * 1000);
+            if ((_maxDate.time - _minDate.time) < (minuteStepSize * 60 * 1000))
+                _maxDate.time = _minDate.time + (minuteStepSize * 60 * 1000);

             var origSelectedDate:Date = new Date(_selectedDate.time);

             // check minDate <= selectedDate <= maxDate
-            if (!selectedDate || selectedDate.time < minDate.time)
-            {
-                _selectedDate = new Date(minDate.time);
-            }
-            else if (selectedDate.time > maxDate.time)
-            {
-                _selectedDate = new Date(maxDate.time);
+            if (!_selectedDate || _selectedDate.time < _minDate.time)
+            {
+                _selectedDate = new Date(_minDate.time);
+            }
+            else if (_selectedDate.time > _maxDate.time)
+            {
+                _selectedDate = new Date(_maxDate.time);
             }

             minDateChanged = false;
@@ -774,15 +793,15 @@
             if (minuteStepSizeChanged)
             {
                 // verify minutes are a multiple of minuteStepSize
-                if ((selectedDate.minutes % minuteStepSize) != 0)
+                if ((_selectedDate.minutes % minuteStepSize) != 0)
                 {
                     // adjust to the closest number evenly disible by minuteStepSize
-                    selectedDate.minutes = Math.round(selectedDate.minutes / minuteStepSize) * minuteStepSize;
+                    _selectedDate.minutes = Math.round(_selectedDate.minutes / minuteStepSize) * minuteStepSize;

                     // last adjustment to make sure we didn't accidentally go outside of bounds
-                    if (selectedDate.time < minDate.time)
+                    if (_selectedDate.time < _minDate.time)
                         _selectedDate.minutes += minuteStepSize;
-                    else if (selectedDate.time > maxDate.time)
+                    else if (_selectedDate.time > _maxDate.time)
                         _selectedDate.minutes -= minuteStepSize;
                 }

@@ -792,9 +811,7 @@
             if (origSelectedDate.time != _selectedDate.time)
                 dispatchValueCommitEvent = true;

-            disableInvalidSpinnerValues(selectedDate);
-
-            syncSelectedDate = true;
+            disableInvalidSpinnerValues(_selectedDate);
         }

         // ==================================================
@@ -1013,8 +1030,8 @@
         // populate lists that are being shown
         if (yearList && populateYearDataProvider)
         {
-            yearList.dataProvider = new YearProvider(localeStr, minDate.fullYear,
-                maxDate.fullYear, today);
+            yearList.dataProvider = new YearProvider(localeStr, _minDate.fullYear,
+                _maxDate.fullYear, today);

             // set size to longest string
             if (!longestYearItem)
@@ -1037,7 +1054,7 @@
         {
             if (displayMode == DateSelectorDisplayMode.DATE_AND_TIME)
             {
-                dateList.dataProvider = new DateAndTimeProvider(localeStr, minDate, maxDate,
+                dateList.dataProvider = new DateAndTimeProvider(localeStr, _minDate, _maxDate,
                     today);

                 // set size to longest string
@@ -1276,38 +1293,38 @@
         if (yearList)
         {
             dateTimeFormatter.dateTimePattern = dateTimeFormatterEx.getYearPattern();
-            newIndex = yearList.dataProvider.getItemIndex( generateDateItemObject(dateTimeFormatter.format(selectedDate), selectedDate.fullYear) );
+            newIndex = yearList.dataProvider.getItemIndex( generateDateItemObject(dateTimeFormatter.format(_selectedDate), _selectedDate.fullYear) );
             goToIndex(yearList, newIndex, useAnimation);
         }

         if (monthList)
-            goToIndex(monthList, selectedDate.month, useAnimation);
+            goToIndex(monthList, _selectedDate.month, useAnimation);

         if (dateList)
         {
             if (displayMode == DateSelectorDisplayMode.DATE)
             {
-                goToIndex(dateList, selectedDate.date - 1, useAnimation);
+                goToIndex(dateList, _selectedDate.date - 1, useAnimation);
             }
             else // DATE_AND_TIME mode
             {
-                newIndex = dateList.dataProvider.getItemIndex( generateDateItemObject(dayMonthDateFormatter.format(selectedDate), selectedDate.time) );
+                newIndex = dateList.dataProvider.getItemIndex( generateDateItemObject(dayMonthDateFormatter.format(_selectedDate), _selectedDate.time) );
                 goToIndex(dateList, newIndex, useAnimation);
             }
         }
         if (hourList)
         {
-            newIndex = use24HourTime ? selectedDate.hours : (selectedDate.hours + 11) % 12;
+            newIndex = use24HourTime ? _selectedDate.hours : (_selectedDate.hours + 11) % 12;
             goToIndex(hourList, newIndex, useAnimation);
         }
         if (minuteList)
         {
-            newIndex = findDateItemIndexInDataProvider(selectedDate.minutes, minuteList.dataProvider);
+            newIndex = findDateItemIndexInDataProvider(_selectedDate.minutes, minuteList.dataProvider);
             goToIndex(minuteList, newIndex, useAnimation);
         }
         if (!use24HourTime && meridianList)
         {
-            newIndex = selectedDate.hours < 12 ? 0 : 1;
+            newIndex = _selectedDate.hours < 12 ? 0 : 1;
             goToIndex(meridianList, newIndex, useAnimation);
         }
     }
@@ -1335,10 +1352,10 @@
                 var numDaysInMonth:int = cd.numDaysInMonth;
                 var listLength:int = listData.length;

-                var minMonthMatch:Boolean = (tempDate.fullYear == minDate.fullYear
-                    && tempDate.month == minDate.month);
-                var maxMonthMatch:Boolean = (tempDate.fullYear == maxDate.fullYear
-                    && tempDate.month == maxDate.month);
+                var minMonthMatch:Boolean = (tempDate.fullYear == _minDate.fullYear
+                    && tempDate.month == _minDate.month);
+                var maxMonthMatch:Boolean = (tempDate.fullYear == _maxDate.fullYear
+                    && tempDate.month == _maxDate.month);

                 for (var i:int = 0; i < listLength; i++)
                 {
@@ -1352,9 +1369,9 @@
                         // test for outside min/max range
                         tempDate.date = curObj.data;

-                        if (minMonthMatch && tempDate.date < minDate.date)
+                        if (minMonthMatch && tempDate.date < _minDate.date)
                             newEnabledValue = false;
-                        if (maxMonthMatch && tempDate.date > maxDate.date)
+                        if (maxMonthMatch && tempDate.date > _maxDate.date)
                             newEnabledValue = false;
                     }

@@ -1382,10 +1399,10 @@
                 newEnabledValue = true;

                 tempDate.month = i;
-                if ((tempDate.fullYear == minDate.fullYear
-                    && tempDate.month < minDate.month) ||
-                    (tempDate.fullYear == maxDate.fullYear
-                        && tempDate.month > maxDate.month))
+                if ((tempDate.fullYear == _minDate.fullYear
+                    && tempDate.month < _minDate.month) ||
+                    (tempDate.fullYear == _maxDate.fullYear
+                        && tempDate.month > _maxDate.month))
                     newEnabledValue = false;

                 curObj = listData[i];
@@ -1406,12 +1423,12 @@
             listData = hourList.dataProvider;
             listLength = listData.length;

-            var minDateMatch:Boolean = (tempDate.fullYear == minDate.fullYear
-                && tempDate.month == minDate.month
-                && tempDate.date == minDate.date);
-            var maxDateMatch:Boolean = (tempDate.fullYear == maxDate.fullYear
-                && tempDate.month == maxDate.month
-                && tempDate.date == maxDate.date);
+            var minDateMatch:Boolean = (tempDate.fullYear == _minDate.fullYear
+                && tempDate.month == _minDate.month
+                && tempDate.date == _minDate.date);
+            var maxDateMatch:Boolean = (tempDate.fullYear == _maxDate.fullYear
+                && tempDate.month == _maxDate.month
+                && tempDate.date == _maxDate.date);

             for (i = 0; i < listLength; i++)
             {
@@ -1420,14 +1437,14 @@
                 newEnabledValue = true;

                 if (!use24HourTime)
-                    tempDate.hours = (i + 1) % 12 + ((selectedDate.hours >= 12)? 12 : 0);
+                    tempDate.hours = (i + 1) % 12 + ((_selectedDate.hours >= 12)? 12 : 0);
                 else
                     tempDate.hours = i;

-                if (minDateMatch && tempDate.hours < minDate.hours)
+                if (minDateMatch && tempDate.hours < _minDate.hours)
                     newEnabledValue = false;

-                if (maxDateMatch && tempDate.hours > maxDate.hours)
+                if (maxDateMatch && tempDate.hours > _maxDate.hours)
                     newEnabledValue = false;

                 if (curObj[SpinnerList.ENABLED_PROPERTY_NAME] != newEnabledValue)
@@ -1446,14 +1463,14 @@
             listData = minuteList.dataProvider;
             listLength = listData.length;

-            var minHourMatch:Boolean = (tempDate.fullYear == minDate.fullYear
-                && tempDate.month == minDate.month
-                && tempDate.date == minDate.date
-                && tempDate.hours == minDate.hours);
-            var maxHourMatch:Boolean = (tempDate.fullYear == maxDate.fullYear
-                && tempDate.month == maxDate.month
-                && tempDate.date == maxDate.date
-                && tempDate.hours == maxDate.hours);
+            var minHourMatch:Boolean = (tempDate.fullYear == _minDate.fullYear
+                && tempDate.month == _minDate.month
+                && tempDate.date == _minDate.date
+                && tempDate.hours == _minDate.hours);
+            var maxHourMatch:Boolean = (tempDate.fullYear == _maxDate.fullYear
+                && tempDate.month == _maxDate.month
+                && tempDate.date == _maxDate.date
+                && tempDate.hours == _maxDate.hours);

             for (i = 0; i < listLength; i++)
             {
@@ -1463,10 +1480,10 @@

                 tempDate.minutes = curObj.data;

-                if (minHourMatch && tempDate.minutes < minDate.minutes)
+                if (minHourMatch && tempDate.minutes < _minDate.minutes)
                     newEnabledValue = false;

-                if (maxHourMatch && tempDate.minutes > maxDate.minutes)
+                if (maxHourMatch && tempDate.minutes > _maxDate.minutes)
                     newEnabledValue = false;

                 if (curObj[SpinnerList.ENABLED_PROPERTY_NAME] != newEnabledValue)
@@ -1780,6 +1797,21 @@
         }
     }

+    private function stopAllAnimations():void
+    {
+        if (spinnersAnimating)
+        {
+            var len:int = listContainer.numElements;
+            for (var i:int = 0; i < len; i++)
+            {
+                var list:SpinnerList = listContainer.getElementAt(i) as SpinnerList;
+                // return true as soon as we have one list still in touch interaction
+                if (list && list.scroller && list.scroller.inTouchInteraction)
+                    list.scroller.stopAnimations();
+            }
+        }
+    }
+
     //----------------------------------------------------------------------------------------------
     //
     //  Event handlers
@@ -1799,7 +1831,7 @@
         }

         // start with the previous selectedDate
-        var newDate:Date = new Date(selectedDate.time);
+        var newDate:Date = new Date(_selectedDate.time);

         var tempDate:Date;
         var cd:CalendarDate;
@@ -1821,7 +1853,7 @@
                     // rollback date if past end of month
                     if (dateList)
                     {
-                        tempDate = new Date(selectedDate.fullYear, newValue.data, 1);
+                        tempDate = new Date(_selectedDate.fullYear, newValue.data, 1);
                         cd = new CalendarDate(tempDate);
                         if (dateList.selectedItem.data > cd.numDaysInMonth)
                         {
@@ -1849,7 +1881,7 @@
                     // rollback date if past end of month
                     if (dateList)
                     {
-                        tempDate = new Date(newValue.data, selectedDate.month, 1);
+                        tempDate = new Date(newValue.data, _selectedDate.month, 1);
                         cd = new CalendarDate(tempDate);
                         if (dateList.selectedItem.data > cd.numDaysInMonth)
                         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 22646
Author:   mhorn@adobe.com
Date:     2011-09-20T14:43:51.831864Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/DateSpinnerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/DateSpinnerItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/DateSpinner.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
@@ -241,7 +241,7 @@
     }

     /**
-     *  @inheritDoc
+     *  @copy spark.components.DataGroup#dataProvider
      *
      *  @langversion 3.0
      *  @playerversion AIR 3
@@ -304,7 +304,7 @@
     }

     /**
-     *  @inheritDoc
+     *  @private
      *
      *  @langversion 3.0
      *  @playerversion AIR 3


Adapted file watching support in DebugInterface to changes in Trazzle

git-svn-id: e38e7cdd6ace00d8230583a2d3b43e9a55f5c011@916 bc4816be-ef27-423a-9c4d-fc420be121a2

--- src/reprise/debug/DebugInterface.as
+++ src/reprise/debug/DebugInterface.as
@@ -17,9 +17,6 @@
 	import reprise.ui.DocumentView;
 	import reprise.ui.UIComponent;
 	import reprise.ui.UIObject;
-
-	import com.nesium.events.FileMonitorEvent;
-	import com.nesium.logging.FileMonitor;

 	import flash.display.DisplayObject;
 	import flash.display.Sprite;
@@ -62,23 +59,13 @@
 		***************************************************************************/
 		reprise function startWatchingStylesheets() : void
 		{
-			FileMonitor.instance().removeEventListener(
-				FileMonitorEvent.FILE_CHANGED, file_changed);
 			var stylesheets : Array = m_document.styleSheet.stylesheetURLs();
-			var containsLocalFiles : Boolean;
 			for each (var url : String in stylesheets)
 			{
 				if (url.indexOf('file://') == 0)
 				{
-					FileMonitor.instance().startMonitoringFile(url.substr(7));
-					containsLocalFiles = true;
-				}
-			}
-			if (containsLocalFiles)
-			{
-				log('d start watching stylesheets');
-				FileMonitor.instance().addEventListener(
-					FileMonitorEvent.FILE_CHANGED, file_changed);
+					zz_observe_file(url.substr(7), file_changed);
+				}
 			}
 		}

@@ -292,7 +279,7 @@
 			}
 		}

-		protected function file_changed(event : FileMonitorEvent):void
+		protected function file_changed(path : String) : void
 		{
 			reloadStyles();
 		}
@@ -336,4 +323,4 @@
 		{
 		}
 	}
-}
+}


removed deprecated; added test folder

removed deprecated; added test folder

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

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

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


fix id handling on objects

fix id handling on objects

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MXMLDataInterpreter.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/utils/MXMLDataInterpreter.as
@@ -97,18 +97,27 @@
                 else if (simple == false)
                     value = generateMXMLObject(document, value as Array);
                 if (name == "id")
+                    id = value as String;
+                if (name == "document" && !comp.document)
+                    comp.document = document;
+                else if (name == "_id")
+                    id = value as String; // and don't assign to comp
+                else if (name == "id")
                 {
-                    document[value] = comp;
-                    id = value as String;
+                    // not all objects have to have their own id property
+                    try {
+                        comp["id"] = value;
+                    } catch (e:Error)
+                    {
+
+                    }
                 }
-                else if (name == "_id")
-                {
-                    document[value] = comp;
-                    id = value as String;
-                    continue; // skip assignment to comp
-                }
-                comp[name] = value;
+                else
+                    comp[name] = value;
             }
+            if (id)
+                document[id] = comp;
+
             if (comp is IDocument)
                 comp.setDocument(document, id);
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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

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

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

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LinearLayoutVector.as
@@ -35,6 +35,11 @@
  *
  *  Default major/minor sizes is used for items whose size hasn't
  *  been specified.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public final class LinearLayoutVector
 {
@@ -42,6 +47,11 @@
      *  Specifies that the majorAxis is vertical.
      *
      *  @see majorAxis
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const VERTICAL:uint = 0;

@@ -50,6 +60,11 @@
      *  Specifies that the majorAxis is horizontal.
      *
      *  @see majorAxis
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static const HORIZONTAL:uint = 1;

@@ -59,6 +74,11 @@
      * BLOCK_SHIFT is the power of 2 and BLOCK_MASK masks off as many
      * low order bits.  The blockTable contains all of the allocated
      * blocks and has length/BLOCK_SIZE elements which are allocated lazily.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     internal static const BLOCK_SIZE:uint = 128;
     internal static const BLOCK_SHIFT:uint = 7;
@@ -95,6 +115,11 @@
      *  The number of item size valued elements.
      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get length():uint
     {
@@ -125,6 +150,11 @@
      *
      *  @default 20
      *  @see #cacheDimensions
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get defaultMajorSize():Number
     {
@@ -153,6 +183,11 @@
      *  @default 0
      *  @see #cacheDimensions
      *  @see majorAxis
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get minorSize():Number
     {
@@ -185,6 +220,11 @@
      *  @default 0
      *  @see #cacheDimensions
      *  @see majorAxis
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get minMinorSize():Number
     {
@@ -211,6 +251,11 @@
      *
      *  @default VERTICAL
      *  @see #cacheDimensions
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get majorAxis():uint
     {
@@ -235,6 +280,11 @@
      *  The distance between items.
      *
      *  @default 6
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get gap():Number
     {
@@ -261,6 +311,11 @@
      *
      *  @param index The item's index.
      *  @see defaultMajorSize
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getMajorSize(index:uint):Number
     {
@@ -282,6 +337,11 @@
      *  @param index The item's index.
      *  @param value The item's size.
      *  @see defaultMajorSize
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function setMajorSize(index:uint, value:Number):void
     {
@@ -330,6 +390,11 @@
      *
      *  @param index The item's index.
      *  @see #end
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function start(index:uint):Number
     {
@@ -377,6 +442,11 @@
      *
      *  @param index The item's index.
      *  @see #start
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function end(index:uint):Number
     {
@@ -390,6 +460,11 @@
      *  if start(i) <= distance < end(i).
      *
      *  If no such item exists, -1 is returned.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function indexOf(distance:Number):int
     {
@@ -471,6 +546,11 @@
      *  @see minorSize
      *  @see minMinorSize
      *  @see majorAxis
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function cacheDimensions(index:uint, elt:ILayoutElement):void
     {
@@ -510,6 +590,11 @@
      *
      *  @param index The item's index.
      *  @param bounds The Rectangle to return or null for a new Rectangle
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getBounds(index:uint, bounds:Rectangle = null):Rectangle
     {


忽略高宽为0的subtexture

--- src/utils/BitmapDataUtil.as
+++ src/utils/BitmapDataUtil.as
@@ -14,12 +14,15 @@
 			for(var subTextureName:String in rectDic)
 			{
 				var rect:Rectangle = rectDic[subTextureName];
-				var matrix:Matrix = new Matrix();
-				matrix.tx = -rect.x;
-				matrix.ty = -rect.y;
-				var subBitmapData:BitmapData = new BitmapData(rect.width, rect.height, true, 0xFF00FF);
-				subBitmapData.draw(bitmapData, matrix);
-				subBitmapDataDic[subTextureName] = subBitmapData;
+				if(rect.width && rect.height)
+				{
+					var matrix:Matrix = new Matrix();
+					matrix.tx = -rect.x;
+					matrix.ty = -rect.y;
+					var subBitmapData:BitmapData = new BitmapData(rect.width, rect.height, true, 0xFF00FF);
+					subBitmapData.draw(bitmapData, matrix);
+					subBitmapDataDic[subTextureName] = subBitmapData;
+				}
 			}
 			return subBitmapDataDic;
 		}


get this to size better

get this to size better

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/ImageButtonView.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/ImageButtonView.as
@@ -29,7 +29,8 @@
 	import org.apache.flex.core.IBead;
 	import org.apache.flex.core.IBeadView;
 	import org.apache.flex.core.IStrand;
-	import org.apache.flex.core.ValuesManager;
+	import org.apache.flex.core.UIButtonBase;
+    import org.apache.flex.core.ValuesManager;

 	/**
 	 *  The ImageButtonView class provides an image-only view
@@ -103,7 +104,17 @@
 				var url:String = backgroundImage as String;
 				loader.load(new URLRequest(url));
 				loader.contentLoaderInfo.addEventListener(flash.events.Event.COMPLETE, function (e:flash.events.Event):void {
-					updateHitArea();
+                    var host:UIButtonBase = UIButtonBase(_strand);
+                    if (isNaN(host.explicitWidth) && isNaN(host.percentWidth))
+                        host.setWidth(loader.content.width);
+                    else
+                        loader.content.width = host.width;
+
+                    if (isNaN(host.explicitHeight) && isNaN(host.percentHeight))
+                        host.setHeight(loader.content.height);
+                    else
+                        loader.content.height = host.height;
+                    updateHitArea();
 				});
 			}
 		}
@@ -117,7 +128,6 @@
 			shape.graphics.beginFill(0xCCCCCC);
 			shape.graphics.drawRect(0, 0, upSprite.width, upSprite.height);
 			shape.graphics.endFill();
-
 		}
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutElementHelper.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2008 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.layouts.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3789
Author:   gosmith@adobe.com
Date:     2008-10-21T19:55:26.771480Z

Log Message:
-----------
Integrated Build 192 of what used to be called TCAL (and, before that, Vellum).

The Text Component ActionScript Library (TCAL) has been renamed to the Text Layout Framework. Its classes are now in the package flashx.textLayout rather than in flashx.tcal, and they are packaged into SWCs named textLayout_xxx.swc rather than tcal_xxx.swc. The XML namespace for importable markup is now "http://ns.adobe.com/textLayout/2008" rather than "http://ns.adobe.com/tcal/2008".

QE Notes: Please update package names (and XML namespaces, if necessary) in all test files.
Doc Notes: Please eliminate all references to "Text Component ActionScript Library" or "TCAL" and use "Text Layout Framework" instead.
Bugs: -
Reviewer: -

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/events/TextOperationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/TextUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/TextGraphic.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/textLayout_conversion.swc</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/textLayout_edit.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/tcal_conversion.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/tcal_edit.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/libs/textLayout_core.swc</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/libs/tcal_core.swc</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/fxg-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/TextFlowComposer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as
@@ -23,8 +23,8 @@
 import mx.events.TextOperationEvent;
 import mx.managers.IFocusManagerComponent;

-import flashx.tcal.events.SelectionEvent;
-import flashx.tcal.formats.LineBreak;
+import flashx.textLayout.events.SelectionEvent;
+import flashx.textLayout.formats.LineBreak;

 //--------------------------------------
 //  Events


Transferred from the Adobe Open Source Subversion Repository

Revision: 22051
Author:   cframpto@adobe.com
Date:     2011-08-17T17:54:21.282289Z

Log Message:
-----------
Mouse up to end touch scroll wasn't detected if it happened over StageText.  MOUSE_UP listener has to be on the stage to be detected.  Need to access stage correctly so it doesn't blow up in the Marshall plan scenario.

QE notes:
Doc notes:
Bugs: SDK-31077
Reviewer: Alex
Tests run: cyclone but no mappings for touch scrolling - tested in ADL and on Android device
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollHelper.as

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollHelper.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollHelper.as
@@ -25,6 +25,7 @@
 import mx.events.SandboxMouseEvent;
 import mx.events.TouchInteractionEvent;
 import mx.events.TouchInteractionReason;
+import mx.managers.ISystemManager;
 import mx.utils.GetTimerUtil;

 use namespace mx_internal;
@@ -358,10 +359,16 @@
      */
     private function installMouseListeners():void
     {
-        var sbRoot:DisplayObject = target.systemManager.getSandboxRoot();
+        const sm:ISystemManager = target.systemManager;
+        const sbRoot:DisplayObject = sm.getSandboxRoot();

         sbRoot.addEventListener(MouseEvent.MOUSE_MOVE, sbRoot_mouseMoveHandler, true);
         sbRoot.addEventListener(MouseEvent.MOUSE_UP, sbRoot_mouseUpHandler, true);
+
+        // If mouseUp is on StageText the only way to know that is to listen for it on the Stage.
+        if (sm.stage && sm.isTopLevelRoot())
+            sm.stage.addEventListener(MouseEvent.MOUSE_UP, sbRoot_mouseUpHandler);
+
         sbRoot.addEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE, sbRoot_mouseUpHandler);

         target.systemManager.deployMouseShields(true);
@@ -372,13 +379,18 @@
      */
     private function uninstallMouseListeners():void
     {
-        var sbRoot:DisplayObject = target.systemManager.getSandboxRoot();
+        const sm:ISystemManager = target.systemManager;
+        const sbRoot:DisplayObject = sm.getSandboxRoot();

         // mouse events added in installMouseListeners()
         sbRoot.removeEventListener(MouseEvent.MOUSE_MOVE, sbRoot_mouseMoveHandler, true);
         sbRoot.removeEventListener(MouseEvent.MOUSE_UP, sbRoot_mouseUpHandler, true);
+
+        if (sm.stage && sm.isTopLevelRoot())
+            sm.stage.removeEventListener(MouseEvent.MOUSE_UP, sbRoot_mouseUpHandler);
+
         sbRoot.removeEventListener(SandboxMouseEvent.MOUSE_UP_SOMEWHERE, sbRoot_mouseUpHandler);
-
+
         target.systemManager.deployMouseShields(false);
     }

@@ -577,7 +589,7 @@
             dragTimer.stop();
         }
     }
-
+
     /**
      *  @private
      *  Called when the user releases the mouse/touches up


commented out debug code

commented out debug code

Change-Id: I2196d0d24402e8ddff5f427bfcf11de23b915894

--- WeaveCore/src/weave/core/SessionManager.as
+++ WeaveCore/src/weave/core/SessionManager.as
@@ -414,8 +414,10 @@
 					}
 					else
 					{
+						/*
 						if (property != null)
-							trace("ignoring duplicate object:",name,property);
+							trace("ignoring duplicate object:",name,property);
+						*/
 					}
 				}
 				// special case if there are no child objects -- return null


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
+++ frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as
@@ -268,7 +268,8 @@

 		_dragImage = dragImage;

-		if (dragImage is IUIComponent && !UIComponent(dragImage).initialized && dragInitiator)
+		if (dragImage is IUIComponent && dragImage is ILayoutManagerClient &&
+			!ILayoutManagerClient(dragImage).initialized && dragInitiator)
 		{
 			dragImage.addEventListener(FlexEvent.UPDATE_COMPLETE,initiateDrag);
 			dragInitiator.systemManager.popUpChildren.addChild(DisplayObject(dragImage));
@@ -290,8 +291,10 @@
 				proxyHeight = dragImage.measuredHeight;
 			}

-			if (dragImage is UIComponent)
-				(dragImage as UIComponent).validateNow();
+			if (dragImage is ILayoutManagerClient )
+			{
+				UIComponentGlobals.layoutManager.validateClient(ILayoutManagerClient(dragImage));
+			}
 		}
 		else
 		{


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 18551
Author:   smgilson@adobe.com
Date:     2010-11-12T14:08:11.380016Z

Log Message:
-----------
Update ASDoc comments with invalid HTML

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/PopUpCloseEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as
@@ -51,7 +51,7 @@
  *  true to the commit parameter and optionally passing in
  *  any relevant data.  When the SkinnablePopUpContainer has completed closing,
  *  it will dispatch this event.  Then, in the listener, the developer can check
- *  the commit parameter and perform the appropriate action.
+ *  the commit parameter and perform the appropriate action.

  *
  *  @eventType mx.events.PopUpCloseEvent.CLOSE
  *
@@ -233,7 +233,7 @@
      *  true to the commit parameter and optionally passing in
      *  any relevant data.  When the SkinnablePopUpContainer has completed closing,
      *  it will dispatch this event.  Then, in the listener, the developer can check
-     *  the commit parameter and perform the appropriate actions.
+     *  the commit parameter and perform the appropriate actions.

      *
      *  @param commit The value for the commit property of the PopUpClose event.
      *  @param data The value for the data property for the PopUpClose event.


Transferred from the Adobe Open Source Subversion Repository

Revision: 3522
Author:   jimurphy@adobe.com
Date:     2008-10-08T19:35:01.705756Z

Log Message:
-----------
rename of the rename:
-FxItemsComponent to FxContainer
-FxDataComponent to FxDataContainer
-FxItemsComponentSkin to FxContainerSkin
-FxDataComponentSkin to FxDataContainerSkin
-FxSelector to FxListBase

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxItemsComponentSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDataComponentSkin.mxml" copyfrom-rev="3519" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDataContainerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSelector.as" copyfrom-rev="3519" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxSelectorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxItemsComponentSkin.mxml" copyfrom-rev="3519" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxContainerSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxItemsComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/flex4/flex4test.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSelector.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/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataComponent.as" copyfrom-rev="3519" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxDataComponentSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxItemsComponent.as" copyfrom-rev="3519" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as
@@ -17,7 +17,7 @@
 import mx.events.ItemExistenceChangedEvent;

 import mx.collections.IList;
-import mx.components.FxDataComponent;
+import mx.components.FxDataContainer;
 import mx.events.IndexChangedEvent;
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;
@@ -37,7 +37,7 @@
  *  The Selector class is the base class for all components that support
  *  selection.
  */
-public class FxSelector extends FxDataComponent
+public class FxListBase extends FxDataContainer
 {
     include "../../core/Version.as";

@@ -68,7 +68,7 @@
 	/**
 	 *  Constructor.
 	 */
-	public function FxSelector()
+	public function FxListBase()
     {
     	super();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6266
Author:   egeorgie@adobe.com
Date:     2009-04-24T23:09:01.304621Z

Log Message:
-----------
Layout PARB changes

Major (most probably will require updates):
- LayoutBase.getScrollPositionDelta() -> getScrollPositionDeltaToElement()
- HorizontalLayout, VerticalLayout method inView() -> fractionOfElementInView()
- LayoutElementFactory is deleted, interface ILayoutElement is implemented by UIComponent, GraphicElement, VisualSprite, no need for casting in those cases, cast to ILayoutElement in case of type Object.
- TileLayout.elementHorizontalAlign -> horizontalAlign
- TileLayout.elementVerticalAlign -> verticalAlign
- TileJustifyRows -> RowAlign
- TileJustifyColumsn > ColumnAlign
- TileLayout.justifyRows -> rowAlign
- TileLayout.justifyColumns -> columnAling
- TileJustifyRows.NONE, "none" -> TOP, "top"
- TileJustifyRows.GAP_SIZE, "gapSize" -> JUSTIFY_USING_GAP, "justifyUsingGap"
- TileJustifyRows.ROW_SIZE, "rowSize" -> JUSTIFY_USING_HEIGHT, "justifyUsingHeight"
- TileJustifyColumns.NONE, "none" -> LEFT, "left"
- TileJustifyColumns.GAP_SIZE, "gapSize" -> JUSTIFY_USING_GAP, "justifyUsingGap"
- TileJustifyColumns.COLUMN_SIZE, "columnSize" -> JUSTIFY_USING_WIDTH, "justifyUsingWidth"
- TileLayout.set rowCount -> set requestedRowCount
- add TileLayout.get requestedRowCount
- TileLayout.set columnCount -> set requestedColumnCount
- add TileLayout.get requestedColumnCount

Minor (may require updates, but not that probable):
- get baselinePosition() is moved from IVisualElement to ILayoutElement.
- setLayoutBoundsSize() does not have default NaN values for width & height (but still logic is the same).
- name of ILayoutInterface methods' parameter "postTransform" is renamed to "postLayoutTransform".
- name of ILayoutInterface methods' parameter "triggerLayout" is renamed to "invalidateLayout".
- LayoutBase methods invalidateTargetSizeAndDisplayList() and invalidateTargetSize() are removed.
- LayoutBase method getTargetScrollRect() is renamed to getScrollRect().

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Hans, Ryan
tests: checkintests, mustella (gumbo/layout, gumbo/group, gumbo/dataGroup)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/RowAlign.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileJustifyRows.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Animate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/ColumnAlign.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LayoutElementFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBarHorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/TileJustifyColumns.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/TextBaseClass.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/Block.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/supportClasses/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -666,11 +666,11 @@
      *  text reflow. This is a convenient place, as the layout passes NaN
      *  for a dimension not constrained to the parent.
      */
-    override public function setLayoutBoundsSize(width:Number=NaN,
-                                                 height:Number=NaN,
-                                                 postTransform:Boolean=true):void
-    {
-        super.setLayoutBoundsSize(width, height, postTransform);
+    override public function setLayoutBoundsSize(width:Number,
+                                                 height:Number,
+                                                 postLayoutTransform:Boolean = true):void
+    {
+        super.setLayoutBoundsSize(width, height, postLayoutTransform);

         // TODO EGeorgie: possible optimization - if we reflow the text
         // immediately, we'll be able to detect whether the constrained
@@ -714,7 +714,7 @@
         // We support reflow only when we don't have a transform.
         // We could add support for scale, but not skew or rotation.
         var matrix:Matrix;
-        if (postTransform)
+        if (postLayoutTransform)
             matrix = computeMatrix();
         if (null != matrix)
             return;


FLEX-34625 If it's a container, we're dealing with Flex 3 classes; if not, it means flexunit is compiled to expect an AS-only project.

--- frameworks/projects/spark/src/tests/spark/skins/spark/FLEX_34625_Tests.as
+++ frameworks/projects/spark/src/tests/spark/skins/spark/FLEX_34625_Tests.as
@@ -61,8 +61,11 @@
         public function test_focus_skin_with_zero_focus_thickness():void
         {
             //from setUp(), for debugging
+            trace("UIImpersonator root:" + UIImpersonator.testDisplay);
+
             assertNotNull("UIImpersonator is not available!", UIImpersonator.testDisplay);
             assertTrue("It's not a Sprite!", UIImpersonator.testDisplay is Sprite);
+            assertTrue("It's not a Container!", UIImpersonator.testDisplay is Container);
             assertTrue("It's not a Group!", UIImpersonator.testDisplay is Group);
             assertTrue("It's not an IFocusManagerContainer!", UIImpersonator.testDisplay is IFocusManagerContainer);


Transferred from the Adobe Open Source Subversion Repository

Revision: 16762
Author:   deeptika@adobe.com
Date:     2010-07-01T08:55:25.822171Z

Log Message:
-----------
Computing automation class for record events only when we are in recording mode.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_dmv/src/mx/automation/delegates/advancedDataGrid/AdvancedListBaseAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkDataGroupAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation/src/mx/automation/delegates/controls/ListBaseAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkListBaseAutomationImpl.as</path>

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

--- frameworks/projects/automation/src/mx/automation/delegates/controls/ListBaseAutomationImpl.as
+++ frameworks/projects/automation/src/mx/automation/delegates/controls/ListBaseAutomationImpl.as
@@ -182,7 +182,8 @@

 			var indexSelection:Boolean = false;

-			if (!Automation.automationManager || !Automation.automationManager.automationEnvironment)
+			if (!Automation.automationManager || !Automation.automationManager.automationEnvironment
+				|| !Automation.automationManager.recording)
 				return ;

 			var automationClass:IAutomationClass = Automation.automationManager.automationEnvironment.getAutomationClassByInstance(listBase);


Actually, let's only allow suppressing flushing.

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@5690 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- src/as/com/threerings/util/Config.as
+++ src/as/com/threerings/util/Config.as
@@ -79,8 +79,7 @@
     /**
      * Returns the value specified.
      */
-    public function setValue (
-        name :String, value :Object, notify :Boolean = true, flush :Boolean = true) :void
+    public function setValue (name :String, value :Object, flush :Boolean = true) :void
     {
         _data[name] = value;
         if (flush && _so != null) {
@@ -88,9 +87,7 @@
         }

         // dispatch an event corresponding
-        if (notify) {
-            dispatchEvent(new ConfigValueSetEvent(name, value));
-        }
+        dispatchEvent(new ConfigValueSetEvent(name, value));
     }

     /**


Change default Streamio API URL to use .com instead of .se.

--- src/goplayer/ConfigurationParser.as
+++ src/goplayer/ConfigurationParser.as
@@ -3,7 +3,7 @@
   public class ConfigurationParser
   {
     public static const DEFAULT_API_URL : String
-      = "http://staging.streamio.se/api"
+      = "http://staging.streamio.com/api"
     public static const DEFAULT_SKIN_URL : String = "goplayer-skin.swf"
     public static const DEFAULT_TRACKER_ID : String = "global"


f audio

f audio

--- src/PlayState.as
+++ src/PlayState.as
@@ -159,7 +159,7 @@
     private function setupPlatformAndPlayerAfter():void
     {
       setupCamera();
-      FlxG.playMusic(SndMain);
+      setupAudio();
     }
     // Hooked routines.
     private function setupPlayer(start:FlxPoint):void
@@ -214,6 +214,13 @@
       platform.follow();
       // Don't show the floor.
       FlxG.camera.setBounds(bg.bounds.x, bg.bounds.y, bg.bounds.width, bg.bounds.height);
+    }
+    private function setupAudio():void
+    {
+      if (!FlxG.debug)
+      {
+        FlxG.playMusic(SndMain);
+      }
     }
     private function setupBg():void
     {
@@ -259,6 +266,7 @@
     private function updatePlatformAndPlayerAfter():void
     {
       updateCamera(player.justFell());
+      updateAudio();
       updateGameState();
     }
     // Hooked routines.
@@ -293,6 +301,10 @@
           FlxCamera.SHAKE_VERTICAL_ONLY
         );
       }
+    }
+    private function updateAudio():void
+    {
+
     }
     private function updateGameState(doChecks:Boolean=false):void
     {


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

--- frameworks/projects/framework/src/mx/effects/effectClasses/FadeInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/FadeInstance.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2005-2007 Adobe Systems Incorporated
-//  All Rights Reserved.
-//
-//  NOTICE: Adobe permits you to use, modify, and distribute this file
-//  in accordance with the terms of the license agreement accompanying it.
+//  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
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

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:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/messaging/messages/AcknowledgeMessageExt.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/AcknowledgeMessageExt.as
@@ -44,6 +44,12 @@

     /**
      *  The unique id for the message.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     override public function get messageId():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18567
Author:   klin@adobe.com
Date:     2010-11-13T00:28:51.781896Z

Log Message:
-----------
Fix for Bindable metadata being in the wrong place in DataGrid, Grid and GridColumn. Made GridColumn.editable Bindable. variableRowHeight and resizableColumns were also not dispatching a change event. I also took the liberty of performing some code clean up and fixing some docs.

QE notes: Check properties to make sure they're Bindable
Doc notes: No
Bugs: SDK-28464
Reviewer: Hans
Tests run: DataGrid, checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/events/GridEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/CellPosition.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridRowList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/IGridItemRendererOwner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/CellRegion.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridRowNode.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridSelectionMode.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/CellPosition.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/CellPosition.as
@@ -68,14 +68,6 @@
     private var _columnIndex:int;

     /**
-     *  @private
-     */
-    public function get columnIndex():int
-    {
-        return _columnIndex;
-    }
-
-    /**
      *  The 0-based column index of the cell.
      *  A value of -1 indicates "not set".
      *
@@ -85,6 +77,14 @@
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
+     */
+    public function get columnIndex():int
+    {
+        return _columnIndex;
+    }
+
+    /**
+     *  @private
      */
     public function set columnIndex(value:int):void
     {
@@ -98,14 +98,6 @@
     private var _rowIndex:int;

     /**
-     *  @private
-     */
-    public function get rowIndex():int
-    {
-        return _rowIndex;
-    }
-
-    /**
      *  The 0-based row index of the cell.
      *  A value of -1 indicates "not set".
      *
@@ -115,6 +107,14 @@
      *  @playerversion Flash 10
      *  @playerversion AIR 2.0
      *  @productversion Flex 4.5
+     */
+    public function get rowIndex():int
+    {
+        return _rowIndex;
+    }
+
+    /**
+     *  @private
      */
     public function set rowIndex(value:int):void
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 4547
Author:   egeorgie@adobe.com
Date:     2009-01-16T00:23:22.050443Z

Log Message:
-----------
Change Group's measured minimum size computation.
In this change:
If a Group clips content or resizeMode is scale, then measured minimum is zeroed out.

QE Notes: A couple of FxContainer and FxDataContainer tests will fail. Other tests that depend on measured minimum size of a Group with clipContent="true" or resizeMode="scale" will fail and need to be updated.
Doc Notes:
Bugs: None
Reviewer: Hans
tests: compile, checkintests, mustella (gumbo/core/..., gumbo/components/FxContainer, gumbo/components/FxDataContainer)

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -245,6 +245,9 @@
             _layout.clipContent = value;
         else
             _layoutProperties.clipContent = value;
+
+        // Clip content affects measured minimum size
+        invalidateSize();
     }

     //----------------------------------
@@ -636,6 +639,14 @@

             layoutInvalidateSizeFlag = false;
             _layout.measure();
+
+            // Special case: If the group clips content, or resizeMode is "scale"
+            // then measured minimum size is zero
+            if (clipContent || resizeMode == ResizeMode.SCALE)
+            {
+                measuredMinWidth = 0;
+                measuredMinHeight = 0;
+            }
         }
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.charts.series.renderData
 {


Added commented-out method that was added to our Java counterpart.

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@4302 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- src/as/com/threerings/util/MessageBundle.as
+++ src/as/com/threerings/util/MessageBundle.as
@@ -59,6 +59,31 @@
     }

     /**
+     * Adds all messages whose key starts with the specified prefix to the
+     * supplied array.
+     *
+     * @param includeParent if true, messages from our parent bundle (and its
+     * parent bundle, all the way up the chain will be included).
+     */
+   /* COMMENTED OUT: pending proper implementation (and need)
+   public function getAll (
+            prefix :String, messages :Array, includeParent :Boolean = true) :void
+    {
+        var key :String;
+        // TODO: possibly patch ResourceBundle to have getKeys()
+        //for (key in _bundle.getKeys()) {
+        //    if (StringUtil.startsWith(key, prefix)) {
+        //        messages.push(get(key));
+        //    }
+        //}
+
+        if (includeParent && _parent != null) {
+            _parent.getAll(prefix, messages, includeParent);
+        }
+    }
+    */
+
+    /**
      * Get a String from the resource bundle, or null if there was an
      * error.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 2754
Author:   jimurphy@adobe.com
Date:     2008-08-06T13:58:45.183868Z

Log Message:
-----------
Merged 3.0.x revision [2748] -> trunk

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

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

--- frameworks/projects/mx/src/mx/controls/Alert.as
+++ frameworks/projects/mx/src/mx/controls/Alert.as
@@ -13,17 +13,23 @@
 {

 import flash.display.DisplayObject;
+import flash.geom.Rectangle;
 import flash.display.Sprite;
 import flash.events.Event;
+import flash.events.EventPhase;
 import mx.containers.Panel;
 import mx.controls.alertClasses.AlertForm;
 import mx.core.Application;
 import mx.core.EdgeMetrics;
 import mx.core.FlexVersion;
+import mx.core.IFlexDisplayObject;
 import mx.core.mx_internal;
 import mx.core.UIComponent;
 import mx.events.CloseEvent;
+import mx.events.FlexEvent;
 import mx.events.MarshalEvent;
+import mx.events.SandboxBridgeRequest;
+import mx.graphics.RadialGradient;
 import mx.managers.ISystemManager;
 import mx.managers.ISystemManager2;
 import mx.managers.PopUpManager;
@@ -31,9 +37,6 @@
 import mx.resources.IResourceManager;
 import mx.resources.ResourceManager;
 import mx.utils.SandboxUtil;
-import flash.geom.Rectangle;
-import mx.graphics.RadialGradient;
-import mx.events.SandboxBridgeRequest;

 use namespace mx_internal;

@@ -521,7 +524,7 @@

         alert.setActualSize(alert.getExplicitOrMeasuredWidth(),
                             alert.getExplicitOrMeasuredHeight());
-        PopUpManager.centerPopUp(alert);
+        alert.addEventListener(FlexEvent.CREATION_COMPLETE, static_creationCompleteHandler);

         return alert;
     }
@@ -571,6 +574,19 @@
 		static_resourcesChanged();
 	}

+
+    /**
+     *  @private
+     */
+    private static function static_creationCompleteHandler(event:FlexEvent):void
+    {
+        if (event.target is IFlexDisplayObject && event.eventPhase == EventPhase.AT_TARGET)
+        {
+            event.target.removeEventListener(FlexEvent.CREATION_COMPLETE, static_creationCompleteHandler);
+            PopUpManager.centerPopUp(IFlexDisplayObject(event.target));
+        }
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Constructor


Transferred from the Adobe Open Source Subversion Repository

Revision: 10203
Author:   klin@adobe.com
Date:     2009-09-12T23:14:39.753219Z

Log Message:
-----------
http://bugs.adobe.com/jira/browse/SDK-23113 - Bug where backgroundColor and backgroundAlpha would show up twice in the ASDocs.

I pulled out the two styles into separate style files that distinguish between having just the halo theme (some components) or both halo and spark (Container and container subclasses). Updated other components to include the right style files.

QE notes: None
Doc notes: Check to make sure duplicates are not there.
Bugs: SDK-23113
Reviewer: Glenn
Tests run: local asdoc
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BackgroundStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/ContainerBackgroundStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -172,20 +172,9 @@

 include "../styles/metadata/BarColorStyle.as"
 include "../styles/metadata/BorderStyles.as"
+include "../styles/metadata/ContainerBackgroundStyles.as"
 include "../styles/metadata/PaddingStyles.as"
 include "../styles/metadata/TextStyles.as"
-
-// Re-define backgroundAlpha and backgroundColor styles here to set the theme attribute to spark and halo
-
-/**
- *  @inheritDoc
- */
-[Style(name="backgroundAlpha", type="Number", inherit="no", theme="halo, spark")]
-
-/**
- *  @inheritDoc
- */
-[Style(name="backgroundColor", type="uint", format="Color", inherit="no", theme="halo, spark")]

 /**
  *  If a background image is specified, this style specifies


Transferred from the Adobe Open Source Subversion Repository

Revision: 12568
Author:   gruehle@adobe.com
Date:     2009-12-05T00:33:54.244586Z

Log Message:
-----------
Fix the theme attribute for cornerRadius metadata on mx components. This required moving the metadata out of BorderStyles.as and into each file that includes BorderStyle.as

QE notes: -
Doc notes: -
Bugs: SDK-24437
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/controls/VideoDisplay.as
+++ frameworks/projects/mx/src/mx/controls/VideoDisplay.as
@@ -46,6 +46,18 @@
  *  @productversion Flex 4
  */
 [Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark")]
+
+/**
+ *  Radius of component corners.
+ *
+ *  @default 0
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

 /**
  *  Dispatched when the NetConnection object is closed, whether by timing