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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

     /**


clear old updateIcons placement

clear old updateIcons placement

--- bin/Data/Scripts/Editor/EditorView.as
+++ bin/Data/Scripts/Editor/EditorView.as
@@ -1623,7 +1623,6 @@
     }

     ViewRaycast(false);
-    UpdateViewDebugIcons();
 }

 void DrawNodeDebug(Node@ node, DebugRenderer@ debug, bool drawNode = true)


+ 空方法准备好

+ 空方法准备好

--- ageb/src/ageb/modules/document/SceneDocument.as
+++ ageb/src/ageb/modules/document/SceneDocument.as
@@ -3,6 +3,7 @@
 	import flash.filesystem.File;
 	import ageb.modules.ae.SceneInfoEditable;
 	import ageb.modules.scene.SceneDocumentView;
+	import ageb.utils.FlashTip;

 	/**
 	 * 场景文档
@@ -70,5 +71,23 @@
 		{
 			return SceneDocumentView;
 		}
+
+		/**
+		 * @inheritDoc
+		 *
+		 */
+		override public function preview():void
+		{
+			FlashTip.show("没做好");
+		}
+
+		/**
+		 * @inheritDoc
+		 *
+		 */
+		override public function publish():void
+		{
+			FlashTip.show("没做好");
+		}
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/colorPickerClasses/SwatchPanel.as
+++ frameworks/projects/mx/src/mx/controls/colorPickerClasses/SwatchPanel.as
@@ -19,6 +19,7 @@
 import flash.events.MouseEvent;
 import flash.geom.Rectangle;
 import flash.ui.Keyboard;
+
 import mx.collections.ArrayList;
 import mx.collections.IList;
 import mx.controls.ColorPicker;
@@ -983,22 +984,7 @@
                 textInput = new textInputClass();
             }

-			if (FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0)
-			{
-				textInput.styleName = this;
-				textInput.setStyle("borderCapColor", 0x919999);
-				textInput.setStyle("buttonColor", 0x6F7777);
-				textInput.setStyle("highlightColor", 0xC4CCCC);
-				textInput.setStyle("shadowColor", 0xc);
-				textInput.setStyle("shadowCapColor", 0xD5DDDD);
-				textInput.setStyle("borderStyle", "inset");
-				textInput.setStyle("backgroundColor", 0xFFFFFF);
-				textInput.setStyle("borderColor", 0xD5DDDD);
-			}
-			else
-			{
-				textInput.styleName = getStyle("textFieldStyleName");
-			}
+			textInput.styleName = getStyle("textFieldStyleName");

 			textInput.editable = _editable;
 			textInput.maxChars = 6;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableDataContainer.as
@@ -9,13 +9,14 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package flex.component
+package mx.components
 {

-import flex.core.DataGroup;
-import flex.events.FlexEvent;
-import flex.events.ItemExistenceChangedEvent;
-import flex.layout.LayoutBase;
+import mx.components.DataGroup;
+import mx.components.baseClasses.FxContainerBase;
+import mx.events.FlexEvent;
+import mx.events.ItemExistenceChangedEvent;
+import mx.layout.LayoutBase;

 import mx.collections.IList;
 import mx.core.IFactory;
@@ -28,7 +29,7 @@
  * data content. This class is not typically instantiated in MXML. It is primarily
  * used as a base class, or as a SkinPart.
  */
-public class DataComponent extends ContainerBase
+public class FxDataComponent extends FxContainerBase
 {
     include "../core/Version.as";

@@ -41,7 +42,7 @@
     /**
      *  Constructor.
      */
-	public function DataComponent()
+	public function FxDataComponent()
 	{
 		super();

@@ -76,7 +77,7 @@
 	private var _dataProvider:IList;

 	/**
-	 *  @copy flex.core.DataGroup#dataProvider
+	 *  @copy mx.components.DataGroup#dataProvider
 	 */
 	[Bindable]
 	public function get dataProvider():IList
@@ -103,7 +104,7 @@
 	//----------------------------------

 	/**
-	 *  @copy flex.core.DataGroup#layout
+	 *  @copy mx.components.DataGroup#layout
 	 */

 	private var _layout:LayoutBase;
@@ -130,7 +131,7 @@
 	private var _itemRenderer:IFactory;

 	/**
-	 *  @copy flex.core.Group#itemRenderer
+	 *  @copy mx.components.Group#itemRenderer
 	 */
 	public function get itemRenderer():IFactory
 	{
@@ -158,7 +159,7 @@
 	private var _itemRendererFunction:Function;

 	/**
-	 *  @copy flex.core.Group#itemRendererFunction
+	 *  @copy mx.components.Group#itemRendererFunction
 	 */
 	public function get itemRendererFunction():Function
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 17878
Author:   hmuller@adobe.com
Date:     2010-09-27T17:41:47.539391Z

Log Message:
-----------
The following Grid properties are defined as DataGrid skin parts: caretIndicator, columnSeparator, hoverIndicator, rowSeparator, selectionIndicator.

Added a headerRenderer property to DataGrid.  It's role is the same as for DataGrid/itemRenderer, it defines the default header renderer for all columns.

QE notes:
Doc notes:
Bugs:
Reviewer: Kevin
Tests run: checkin, mustella cyclone
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridColumn.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/skins/spark/DataGridSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridColumn.as
@@ -16,9 +16,10 @@

 import mx.core.ClassFactory;
 import mx.core.IFactory;
+import mx.core.Singleton;
 import mx.core.mx_internal;
-import mx.core.Singleton;
-
+
+import spark.components.DataGrid;
 import spark.components.Grid;

 use namespace mx_internal;
@@ -172,6 +173,19 @@
         dispatchChangeEvent("dataFieldChanged");
     }

+
+    //----------------------------------
+    //  dataGrid (private, read-only)
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    private function get dataGrid():spark.components.DataGrid
+    {
+        return (grid) ? grid.gridOwner as DataGrid : null;
+    }
+
     //----------------------------------
     //  dataTipField
     //----------------------------------
@@ -276,7 +290,8 @@
     [Bindable("headerRendererChanged")]

     /**
-     *  A factory for the IGridItemRenderer used as the header for this column.
+     *  A factory for the IGridItemRenderer used as the header for this column.  If null,
+     *  the value of the DataGrid headerRenderer property is returned.
      *
      *  @default null
      *
@@ -285,7 +300,11 @@
      */
     public function get headerRenderer():IFactory
     {
-        return _headerRenderer;
+        if (_headerRenderer)
+            return _headerRenderer;
+
+        const dataGrid:DataGrid = dataGrid;
+        return (dataGrid) ? dataGrid.headerRenderer : null;
     }

     /**
@@ -298,7 +317,7 @@

         _headerRenderer = value;

-        // TBD: invalidate the CHB
+        // TBD(hmuller) invalidate CHB

         dispatchChangeEvent("headerRendererChanged");
     }


Added refs into ResultEvent and FaultEvent on RemoteObject for the AsyncToken.

--- src/main/flex/mx/rpc/remoting/test/RemoteOperationStub.as
+++ src/main/flex/mx/rpc/remoting/test/RemoteOperationStub.as
@@ -111,11 +111,11 @@
       {
          if(result is Fault)
          {
-            return new FaultEvent(FaultEvent.FAULT,  false,  true,  result as Fault);
+            return new FaultEvent(FaultEvent.FAULT,  false,  true,  result as Fault, token);
          }
          else
          {
-            return new ResultEvent(ResultEvent.RESULT,  false,  true,  result);
+            return new ResultEvent(ResultEvent.RESULT,  false,  true,  result, token);
          }
       }
    }


refined code

refined code

--- DataTools.as
+++ DataTools.as
@@ -74,7 +74,7 @@
         protected function register():void {
         	ExternalInterface.addCallback('setFileName', setFileName);
         	ExternalInterface.addCallback('setCharset', setCharset);
-        	ExternalInterface.addCallback('setStrData', setStrData);
+        	ExternalInterface.addCallback('setStrData', setData);
         }

         // set file name
@@ -87,7 +87,7 @@
             charset = newCharset;
         }

-        public function setStrData(newData:String):void {
+        public function setData(newData:String):void {
             data = newData;
         }
     }


Resolved issues loading non-Linux formatted manifest files

--- src/org/mangui/hls/playlist/Manifest.as
+++ src/org/mangui/hls/playlist/Manifest.as
@@ -130,9 +130,9 @@
         /** loading complete handler **/
         private function _loadCompleteHandler(event : Event) : void {
             _metrics.loading_end_time = getTimer();
-            onLoadedData(String(_urlloader.data));
-        };
-
+            onLoadedData(StringUtil.toLinux(String(_urlloader.data)));
+        };
+
         private function onLoadedData(data : String) : void {
             _success(data, _url, _index, _metrics);
         }


Add animation instance and fix viewer for this

--- src/com/merlinds/miracle_tool/viewer/ViewerView.as
+++ src/com/merlinds/miracle_tool/viewer/ViewerView.as
@@ -9,6 +9,7 @@
 	import com.merlinds.debug.log;
 	import com.merlinds.miracle.Miracle;
 	import com.merlinds.miracle.animations.Animation;
+	import com.merlinds.miracle.display.MiracleDisplayObject;
 	import com.merlinds.miracle.display.MiracleImage;
 	import com.merlinds.miracle.utils.Asset;
 	import com.merlinds.miracle.utils.MafReader;
@@ -111,8 +112,6 @@
 			if(_assets.length > 1){
 				this.choseAnimation();
 				Miracle.createScene(_assets, 1);
-				Miracle.currentScene.createImage(_name)
-						.addEventListener(Event.ADDED_TO_STAGE, this.imageAddedToStage);
 				Miracle.resume();
 			}else{
 				this.createHandler(true);
@@ -122,12 +121,14 @@
 		private function selectAnimationHandler(event:Event):void {
 			var list:List = event.target as List;
 			//add animation to miracle
-			var name:String = list.selectedItem.toString();
-			log(this, "selectAnimationHandler", name);
+			var animation:String = list.selectedItem.toString();
+			log(this, "selectAnimationHandler", animation);
+			Miracle.currentScene.createAnimation(_name, animation)
+					.addEventListener(Event.ADDED_TO_STAGE, this.imageAddedToStage);
 		}

 		private function imageAddedToStage(event:Event):void {
-			var target:MiracleImage = event.target as MiracleImage;
+			var target:MiracleDisplayObject = event.target as MiracleDisplayObject;
 			target.moveTO(
 					this.stage.stageWidth - target.width >> 1,
 					this.stage.stageHeight - target.height >> 1


Apache license 2.0 added.

Apache license 2.0 added.

--- tui_flashdevelop3/lib/touchAll/pong/cl/kirill/PongGame.as
+++ tui_flashdevelop3/lib/touchAll/pong/cl/kirill/PongGame.as
@@ -1,3 +1,20 @@
+/*
+ * Tangible User Interfacer (former TouchAll) misc code.
+ *
+ * Copyright 2016 Gonçalo Amador <g.n.p.amador@gmail.com>
+ *
+ * Licensed 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.
+ */
 package touchAll.pong.cl.kirill
 {
 	import flash.display.MovieClip;


changed ArcBallController.bindDefaultInptuts() return value to AbstractCamera

--- src/aerys/minko/scene/controller/camera/ArcBallController.as
+++ src/aerys/minko/scene/controller/camera/ArcBallController.as
@@ -179,16 +179,20 @@
 			_up.changed.add(updateNextFrameHandler);
 		}

-		public function bindDefaultControls(dispatcher : IEventDispatcher) : void
+		public function bindDefaultControls(dispatcher : IEventDispatcher) : ArcBallController
 		{
 			dispatcher.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);
 			dispatcher.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
-		}
-
-		public function unbindDefaultControls(dispatcher : IEventDispatcher) : void
+
+			return this;
+		}
+
+		public function unbindDefaultControls(dispatcher : IEventDispatcher) : ArcBallController
 		{
 			dispatcher.removeEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler);
 			dispatcher.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler);
+
+			return this;
 		}

 		override protected function targetAddedHandler(ctrl 	: EnterFrameController,


Adding comment block to explain reasoning for duplicate class.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -80,21 +80,17 @@
 		[Event(name="qosUpdate", type="org.osmf.events.QoSInfoEvent")]

 		/**
+		 * HLSHTTPNetStream is a duplicate of the OSMF HTTPNetStream class,
+		 * which can accept input via the appendBytes method.  In general,
+		 * the assumption is that a large media file is broken up into a
+		 * number of smaller fragments.
 		 *
-		 * @private
+		 * We use a duplicate of the class instead of extending the original
+		 * because the original is completely closed and private, and unable
+		 * to be properly extended to override the desired functionality.
 		 *
-		 * HTTPNetStream is a NetStream subclass which can accept input via the
-		 * appendBytes method.  In general, the assumption is that a large media
-		 * file is broken up into a number of smaller fragments.
-		 *
-		 * There are two important aspects of working with an HTTPNetStream:
-		 * 1) How to map a specific playback time to the media file fragment
-		 * which holds the media for that time.
-		 * 2) How to unmarshal the data from a media file fragment so that it can
-		 * be fed to the NetStream as TCMessages.
-		 *
-		 * The former is the responsibility of HTTPStreamingIndexHandlerBase,
-		 * the latter the responsibility of HTTPStreamingFileHandlerBase.
+		 * The org.osmf.net.httpstreaming namespace is required due to
+		 * internal namespace usage.
 		 */
 		public class HLSHTTPNetStream extends NetStream
 		{


Transferred from the Adobe Open Source Subversion Repository

Revision: 16596
Author:   cframpto@adobe.com
Date:     2010-06-18T15:50:44.761276Z

Log Message:
-----------
The following changes apply to Spark DataGrid only.   Code reviews have been deferred until the implementation is closer to completion.

More work on ColumnHeaderBar.  It is no longer commented out in the DataGridSkin but if you have problems you can comment it out again.

checkintests pass

Modified Paths:
--------------
<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/ColumnHeaderBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DefaultColumnHeaderRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ColumnHeaderBarSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DataGridSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/GridContainerBase.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ColumnHeaderBarLayout.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/utils/MouseEventUtil.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as
@@ -11,7 +11,6 @@

 package spark.components.supportClasses
 {
-import flash.display.DisplayObject;
 import flash.geom.Rectangle;
 import flash.utils.Dictionary;

@@ -25,15 +24,11 @@
 import mx.events.CollectionEvent;
 import mx.events.CollectionEventKind;

-import org.osmf.metadata.IFacet;
-
 import spark.components.ColumnHeaderBar;
 import spark.components.DataGrid;
 import spark.components.Grid;
 import spark.components.Group;
-import spark.layouts.HorizontalLayout;
 import spark.layouts.supportClasses.LayoutBase;
-import spark.primitives.Rect;

 use namespace mx_internal;

@@ -151,24 +146,68 @@
         if (!grid)
             return;

-        // ToDo: Need to take typicalLayoutElement into account
-        //var rowCount:int = grid.dataProvider.length;
-        //var columnCount:int = grid.columns.length;
-
-        var measuredWidth:Number = 640; //typicalLayoutElement.getPreferredBoundsWidth() * columnCount;
-        var measuredHeight:Number = 480; //typicalLayoutElement.getPreferredBoundsHeight() * rowCount;
-        var measuredMinWidth:Number = 640;
-        var measuredMinHeight:Number = 480;;
+        var measuredWidth:Number;
+        var measuredHeight:Number;
+
+        if (!isNaN(grid.explicitWidth))
+        {
+            measuredWidth = grid.explicitWidth;
+        }
+        else
+        {
+            const columns:IList = grid.columns;
+            const numColumns:int = columns.length;
+            var columnCount:int;
+            for (var i:int = 0; i < numColumns; i++)
+            {
+                var c:GridColumn = columns.getItemAt(i) as GridColumn;
+                if (c && c.visible)
+                    columnCount ++;
+            }
+
+            const defaultColumnWidth:Number =
+                typicalLayoutElement.getPreferredBoundsWidth();
+            const columnGap:Number = gridDimensions.columnGap;
+
+            measuredWidth = (columnCount * (defaultColumnWidth + columnGap)) - columnGap;
+        }
+
+        if (!isNaN(grid.explicitHeight))
+        {
+            measuredHeight = grid.explicitWidth;
+        }
+        else
+        {
+            const rowCount:int = grid.dataProvider.length;
+            const rowGap:Number = gridDimensions.rowGap;
+            const defaultRowHeight:Number =
+                typicalLayoutElement.getPreferredBoundsHeight();
+
+            measuredHeight = rowCount * (defaultRowHeight + rowGap);
+
+            // One less row gap if there isn't a column header bar.
+            const columnHeaderBar:ColumnHeaderBar = getColumnHeaderBar();
+            if (!columnHeaderBar || !columnHeaderBar.visible)
+                measuredHeight -= rowGap;
+        }
+
+        // ToDo:(cframpto)  If there is a scroller without an explicit size,
+        // what should the measured size of the grid?
+
+        measuredWidth = Math.min(measuredWidth, 600);
+        measuredHeight = Math.min(measuredHeight, 480);

         // Use Math.ceil() to make sure that if the content partially occupies
         // the last pixel, we'll count it as if the whole pixel is occupied.

         grid.measuredWidth = Math.ceil(measuredWidth);
-        grid.measuredHeight = Math.ceil(measuredHeight);
-        grid.measuredMinWidth = Math.ceil(measuredMinWidth);
-        grid.measuredMinHeight = Math.ceil(measuredMinHeight);
-
-       // trace("GridLayout.measure", grid.measuredWidth, grid.measuredHeight);
+        grid.measuredHeight = Math.ceil(measuredHeight);
+
+        // Not used if virtual layout so don't bother to calculate.
+        grid.measuredMinWidth = grid.measuredWidth;
+        grid.measuredMinHeight = grid.measuredHeight;
+
+       //trace("GridLayout.measure", grid.measuredWidth, grid.measuredHeight);
     }

     /**
@@ -211,6 +250,10 @@
         visibleColumnSeparators = layoutLinearElements(grid.columnSeparator, overlayGroup,
             visibleColumnSeparators, oldVisibleColumnIndices, visibleColumnIndices, layoutColumnSeparator, lastColumnIndex);

+        // Tell the ColumnHeaderBar to update its layout.
+
+        layoutColumnHeaderBar();
+
         // Layout the hoverIndicator, caretIndicator, and selectionIndicators

         layoutHoverIndicator(grid.backgroundGroup);
@@ -227,7 +270,7 @@

         const contentWidth:Number = Math.ceil(gridDimensions.contentWidth);
         const contentHeight:Number = Math.ceil(gridDimensions.contentHeight);
-        grid.setContentSize(contentWidth, contentHeight);
+        grid.setContentSize(contentWidth, contentHeight);
     }

     /**
@@ -283,10 +326,10 @@
     private function getGridColumnHeader(columnIndex:int):IVisualElement
     {
         const headerBar:ColumnHeaderBar = getColumnHeaderBar();
-        if (headerBar == null)
+        if (headerBar == null || headerBar.dataGroup == null)
             return null;

-        return headerBar.getElementAt(columnIndex);
+        return headerBar.dataGroup.getElementAt(columnIndex);
     }

     /**
@@ -402,32 +445,11 @@
                 var colWidth:Number = gridDimensions.getColumnWidth(colIndex);
                 layoutGridElement(renderer, cellX, cellY, colWidth, rowHeight);

-                // If there is a column header, it should be the same width
-                // as the column.
-                var headerElement:IVisualElement = getGridColumnHeader(colIndex);
-                if (headerElement)
-                    headerElement.width = colWidth;
-
                 // TBD(hmuller): need a local preferred bounds method once layoutGridElement supports constraints
                 gridDimensions.setCellHeight(rowIndex, colIndex, renderer.getPreferredBoundsHeight());
                 cellX += colWidth + colGap;
             }

-            // ToDo(cframpto): where and how should this be done?
-            const columnHeaderBar:ColumnHeaderBar = getColumnHeaderBar();
-            if (columnHeaderBar)
-            {
-                // Horizontal layout repositions all the elements.  The layout
-                // starts at paddingLeft.  There is "gap" between each element.
-                if (columnHeaderBar.layout is HorizontalLayout)
-                {
-                    var headerBarLayout:HorizontalLayout =
-                        HorizontalLayout(columnHeaderBar.layout);
-                    headerBarLayout.gap = colGap;
-                    headerBarLayout.paddingLeft = grid.x;
-                }
-            }
-
             // TBD: if gridDimensions.rowHeight is now larger, we need to make another
             // pass to fix up the item renderer heights.

@@ -439,7 +461,7 @@
             else
                 availableHeight -= rowHeight + rowGap;
         }
-
+
         // Free renderers that aren't in use

         for each (var oldRenderer:IVisualElement in visibleItemRenderers)
@@ -473,6 +495,59 @@
         visibleColumnIndices = newVisibleColumnIndices;
     }

+
+    /**
+     *  @private
+     *  ToDo(cframpto): what is the correct way to do this?
+     *
+     *  For now, header width is determined by the grid column width and the
+     *  header height, is the column bar header height if it has been explicitly
+     *  set, otherwise it is the column header bar dataGroup's
+     *  typicalLayoutElement height.
+     */
+    private function layoutColumnHeaderBar():void
+    {
+        const colGap:int = gridDimensions.columnGap;
+
+        const columnHeaderBar:ColumnHeaderBar = getColumnHeaderBar();
+        if (columnHeaderBar)
+        {
+            const layout:ColumnHeaderBarLayout =
+                columnHeaderBar.layout as ColumnHeaderBarLayout;
+            if (layout)
+                layout.updateLayout(this);
+        }
+    }
+
+    /**
+     *  @private
+     *  Callback for the ColumnHeaderBar layout to use to layout the column
+     *  header separators so all the layout code doesn't have to be duplicated.
+     */
+    mx_internal function layoutColumnHeaderSeparators(
+                        oldVisibleColumnIndices:Vector.<int>,
+                        visibleColumnIndices:Vector.<int>,
+                        visibleHeaderSeparators:Vector.<IVisualElement>):Vector.<IVisualElement>
+    {
+        // ToDo(cframpto): the factory and group should come in as args
+
+        const columnHeaderBar:ColumnHeaderBar = getColumnHeaderBar();
+        if (columnHeaderBar)
+        {
+            const factory:IFactory =
+                columnHeaderBar.headerSeparator ?
+                columnHeaderBar.headerSeparator : grid.columnSeparator;
+            const lastColumnIndex:int = gridDimensions.columnCount - 1;
+
+            visibleHeaderSeparators =  layoutLinearElements(factory,
+                columnHeaderBar.overlayGroup, visibleHeaderSeparators,
+                oldVisibleColumnIndices, visibleColumnIndices,
+                layoutHeaderSeparator, lastColumnIndex);
+        }
+
+        return visibleHeaderSeparators;
+    }
+
     /**
      *  @private
      *  Creates a new IR for cell 0,0 using the grid's typicalItem.  If the
@@ -505,10 +580,10 @@

         grid.itemRendererGroup.addElement(renderer);

+        // Initialize cell 0,0.
         initializeItemRenderer(renderer, 0, 0, typicalItem, false);
-
         layoutGridElement(renderer, 0, 0, NaN, NaN);
-
+
         grid.itemRendererGroup.removeElement(renderer);

         return renderer;
@@ -874,6 +949,17 @@
         layoutGridElement(separator, x, y, width, height);
     }

+    private function layoutHeaderSeparator(separator:IVisualElement, columnIndex:int):void
+    {
+        var columnHeaderBar:ColumnHeaderBar = getColumnHeaderBar();
+        const width:Number = 1;  // TBD: should be max(1, rowGap)
+        const height:Number = columnHeaderBar.height;
+        const columnBounds:Rectangle = gridDimensions.getColumnBounds(columnIndex);
+        const x:Number = columnBounds.right;
+        const y:Number = columnBounds.top;
+        layoutGridElement(separator, x, y, width, height);
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Selection Indicators


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

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


Added test for listener removing itself during a dispatch.

--- tests/org/osflash/signals/SignalTest.as
+++ tests/org/osflash/signals/SignalTest.as
@@ -164,5 +164,19 @@
 		{
 			assertTrue(sprite is Sprite);
 		}
+		//////
+		[Test]
+		public function add_2_listeners_first_listener_removes_itself_should_call_2nd_listener():void
+		{
+			completed.add(selfRemover);
+			completed.add(addAsync(newEmptyHandler(), 10));
+			completed.dispatch();
+		}
+
+		private function selfRemover():void
+		{
+			completed.remove(selfRemover);
+		}
+
 	}
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6125
Author:   dloverin@adobe.com
Date:     2009-04-10T15:07:49.535097Z

Log Message:
-----------
Complete Spark WindowedApplication and Spark Window.

* When you turn System Chrome off you do not get Flex Chrome automatically anymore. You need to set the skinClass style to use FlexChromeSkin. This means if System Chrome is not present the WindowedApplication will not have chrome.

* FlexChromeSkin brightens/dims its chrome depending on its active/inactive state.

* The TitleBarSkin was split into two skins, TitleBarSkin and MacTitleBarSkin. TitleBarSkin has just the Windows look. MacTitleBarSkin has the mac look. TitleBar will automatically switch between the skins depending on the OS.

* Implemented titleIcon in TitleBar.

* titleText in the TitleBarSkin and the MacTitleBarSkin is truncated when the text doesn't fit in the Window.

* statusText in FlexChromeSkin is truncated if the text does not fit with the status bar.

QE Notes: Ready for testing.
Doc Notes: None
Bugs:
Reviewer: Ryan, Glenn
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/FlexChromeSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMinimizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMaximizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/CloseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/TitleBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/GripperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/spark-air-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MinimizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/WindowExistenceEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MaximizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/RestoreButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacCloseButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacTitleBarSkin.mxml</path>

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

--- frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
+++ frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
@@ -39,6 +39,7 @@

 import mx.core.EventPriority;
 import mx.core.FlexSprite;
+import mx.core.IRawChildrenContainer;
 import mx.core.ISWFBridgeGroup;
 import mx.core.ISWFBridgeProvider;
 import mx.core.ISWFLoader;
@@ -48,7 +49,7 @@
 import mx.core.IUIComponent;
 import mx.core.Singleton;
 import mx.core.SWFBridgeGroup;
-import mx.core.Window;
+import mx.core.IWindow;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.FlexChangeEvent;
@@ -136,7 +137,7 @@
      *  @private
      *  pointer to Window, for cleanup
      */
-    private var myWindow:Window;
+    private var myWindow:IWindow;

     /**
      *  @private
@@ -795,14 +796,14 @@
     /**
      *  @private
      */
-    private var _window:Window = null;
-
-    mx_internal function get window():Window
+    private var _window:IWindow = null;
+
+    mx_internal function get window():IWindow
     {
         return _window;
     }

-    mx_internal function set window(value:Window):void
+    mx_internal function set window(value:IWindow):void
     {
         _window = value;
     }
@@ -2794,7 +2795,9 @@
             {
                 var n:int = forms.length;
                 var p:DisplayObject = DisplayObject(event.target);
-                var isApplication:Boolean = document.rawChildren.contains(p);
+                var isApplication:Boolean = document is IRawChildrenContainer ?
+                                            IRawChildrenContainer(document).rawChildren.contains(p) :
+                                            document.contains(p);
                 while (p)
                 {
                     for (var i:int = 0; i < n; i++)
@@ -4464,7 +4467,7 @@
                      is NativeDragManagerImpl)
             NativeDragManagerImpl(Singleton.getClass("mx.managers::IDragManager").getInstance()).unregisterSystemManager(this);
         SystemManagerGlobals.topLevelSystemManagers.splice(SystemManagerGlobals.topLevelSystemManagers.indexOf(this), 1);
-        myWindow.removeEventListener("close", cleanup);
+        myWindow.nativeWindow.removeEventListener("close", cleanup);
         myWindow = null;
     }

@@ -4472,7 +4475,7 @@
      *  @private
      *  only registers Window for later cleanup.
      */
-    mx_internal function addWindow(win:Window):void
+    mx_internal function addWindow(win:IWindow):void
     {
         myWindow = win;
         myWindow.nativeWindow.addEventListener("close", cleanup);


Transferred from the Adobe Open Source Subversion Repository

Revision: 12943
Author:   gosmith@adobe.com
Date:     2009-12-15T04:57:18.720091Z

Log Message:
-----------
Dealt with my FIXMEs, except for one involving Label truncation which I reassigned to Carol to assess.

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/FTETextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -619,8 +619,8 @@
         var contentHeight:Number = Math.ceil(bounds.bottom);
         var contentWidth:Number = Math.ceil(bounds.right);

-        // FIXME (gosmith): optimize for right-to-left text so compose isn't always done
-        // when height or width changes.
+        // TODO (gosmith):Optimize for right-to-left text
+		// so composition isn't always done when the height or width changes.
         if (invalidateCompose ||
             composeForAlignStyles(unscaledWidth, unscaledHeight, contentWidth, contentHeight))
         {
@@ -802,7 +802,7 @@
             }
         }

-        // FIXME (gosmith): optimize this case.
+        // TODO (gosmith): Handle this case properly.
         if (getStyle("blockProgression") != "tb")
             return true;

@@ -823,7 +823,7 @@
                 return true;
         }

-        // FIXME (gosmith): optimize this case.
+        // TODO (gosmith): Handle this case properly.
         if (getStyle("blockProgression") != "tb")
             return true;


Transferred from the Adobe Open Source Subversion Repository

Revision: 4736
Author:   chaase@adobe.com
Date:     2009-01-29T19:31:04.898445Z

Log Message:
-----------
API improvements in some of the effects classes, such as:

- PropertyValuesHolder renamed to AnimationProperty
	- Also, values[] array changed to valueFrom and valueTo Objects
	- Also, 'delta' property changed to valueBy Object property
- FxAnimate.propertyValuesList renamed to FxAnimate.animationProperties
- Constant interpolator renamed Linear (old Linear interpolator went away)
- ColorInterpolator renamed RGBInterpolator
- HSBInterpolator now exists (not used by default: FxAnimateColor uses RGBInterpolator)
- HSBColor: new data structure in mx.utils for holding HSB colors and converting from/to RGB
- various changes to *Instance classes in effects (but these are not generally used externally)

QE Notes: Mustella tests will break due to class and property renames. QE is fixing these issues and a follow-up putback to Mustella is expected
Doc Notes: None
Bugs: -
Reviewer: Gordon
tests: checkintests, Mustella: tests/Effects tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as" copyfrom-rev="4610" action="R">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ColorInterpolator.as" copyfrom-rev="4610" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/HSBColor.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ColorInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ArrayInterpolator.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/projects/flex4/src/mx/effects/effectClasses/FxAnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateShaderTransitionInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/EaseInOut.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AnimationProperty.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as
+++ frameworks/projects/spark/src/spark/effects/animation/SimpleMotionPath.as
@@ -0,0 +1,112 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.effects
+{
+
+/**
+ * This class is used to hold the name of a property and the values that
+ * that property will assume over time for instances of the FxAnimate
+ * effect, or subclasses of that effect.
+ *
+ * @see FxAnimate
+ */
+public class AnimationProperty
+{
+    /**
+     * The name of the property to be animated. The property can
+     * be either a property of the target object in the animation
+     * or a style.
+     */
+    public var property:String;
+
+    private var _valueFrom:Object;
+    /**
+     * The value that the named property will animate from.
+     *
+     *
Null or NaN (in the case of Numbers) element values indicate that a
+     * value must be determined dynamically at runtime, either by
+     * getting the value from the target property directly or calculating
+     * it if the other value is valid and there is also a valid valueBy
+     * value supplied.

+     */
+    public function get valueFrom():Object
+    {
+        return _valueFrom;
+    }
+    public function set valueFrom(value:Object):void
+    {
+        _valueFrom = value;
+    }
+
+    private var _valueTo:Object;
+    /**
+     * The value that the named property will animate to.
+     *
+     *
Null or NaN (in the case of Numbers) element values indicate that a
+     * value must be determined dynamically at runtime, either by
+     * getting the value from the target property directly or calculating
+     * it if the other value is valid and there is also a valid valueBy
+     * value supplied.

+     */
+    public function get valueTo():Object
+    {
+        return _valueTo;
+    }
+    public function set valueTo(value:Object):void
+    {
+        _valueTo = value;
+    }
+
+    private var _valueBy:Object;
+    /**
+     * Optional property which specifies the delta used to calculate
+     * either the valueFrom or valueTo value.
+     * Providing this optional 'by' value gives a
+     * mechanism to calculate necessary from/to values if either
+     * are not provided or are to be determined dynamically when the Animation
+     * begins.
+     *
The way that the valueBy value is used depends on which of the
+     * other values are set. If neither are set, then the valueFrom
+     * value is determined from the current value and the valueTo
+     * value is valueFrom + valueBy.
+     * If one or the other is set, but not both, then
+     * the unset value is calulated by the other value plus or minus the
+     * delta (valueTo = valueFrom + valueBy,
+     * valueFrom = valueTo - valueBy). If both are set, then the
+     * valueBy property is ignored.

+     *
Note that by since valueBy is of type
+     * Object, the system does not know how to calculate the other values
+     * from it. It will call into the supplied interpolator
+     * object to calculate the values through its increment() and decrement()
+     * functions. If no interpolator is set, then it will use NumberInterpolator
+     * by default.

+     */
+    public function get valueBy():Object
+    {
+        return _valueBy;
+    }
+    public function set valueBy(value:Object):void
+    {
+        _valueBy = value;
+    }
+
+    public function AnimationProperty(property:String = null, valueFrom:Object = null,
+        valueTo:Object = null, valueBy:Object = null)
+    {
+        super();
+        this.property = property;
+        this.valueFrom = valueFrom;
+        this.valueTo = valueTo;
+        this.valueBy = valueBy;
+    }
+}
+}


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

--- frameworks/projects/wireframe/src/mx/skins/wireframe/DataGridSortArrow.as
+++ frameworks/projects/wireframe/src/mx/skins/wireframe/DataGridSortArrow.as
@@ -1,14 +1,4 @@

-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

 package mx.skins.wireframe
 {


fixing typo in LinearRegressionResult.as

--- WeaveData/src/weave/services/beans/LinearRegressionResult.as
+++ WeaveData/src/weave/services/beans/LinearRegressionResult.as
@@ -28,7 +28,7 @@
 		public function LinearRegressionResult(result:Object)
 		{
 			this.coefficients = result.coefficients;
-			this.rSquared = result.RSquared;
+			this.rSquared = result.rSquared;
 		}

 		public var coefficients:Array;


Working on ImageTest

Working on ImageTest

git-svn-id: 02605e11d3a461bc7e12f3f3880edf4b0c8dcfd0@4542 3e7533ad-8678-4d30-8e38-00a379d3f0d0

--- test/laml/display/ImageTest.as
+++ test/laml/display/ImageTest.as
@@ -1,6 +1,8 @@
 package laml.display {

 	import asunit.framework.TestCase;
+
+	import flash.utils.setTimeout;

 	import laml.events.PayloadEvent;

@@ -39,12 +41,32 @@
 			image.source = sproutsLogo;
 		}

-		public function testUrl():void {
-			var handler:Function = function(event:PayloadEvent):void {
+		public function testSourceChanged():void {
+			image.preferredWidth = 300;
+			image.preferredHeight = 200;
+			image.x = 300;
+			image.y = 20;
+			image.backgroundColor = 0xFFCC00;
+
+			var completed:Function = function(event:PayloadEvent):void {
 				assertEquals(205, image.width);
 				assertEquals(104, image.height);
 			}
-			image.addEventListener(PayloadEvent.LOADING_COMPLETED, addAsync(handler));
+
+			var updateSource:Function = function():void {
+				image.source = imageUrl;
+			}
+
+			image.addEventListener(PayloadEvent.LOADING_COMPLETED, addAsync(completed));
+			setTimeout(updateSource, 100);
+		}
+
+		public function testUrl():void {
+			var completed:Function = function(event:PayloadEvent):void {
+				assertEquals(205, image.width);
+				assertEquals(104, image.height);
+			}
+			image.addEventListener(PayloadEvent.LOADING_COMPLETED, addAsync(completed));
 			image.source = imageUrl;
 		}
 	}


Fix SPS/PPS parsing.

Fix SPS/PPS parsing.

--- HLSPlugin/src/com/kaltura/hls/m2ts/NALUProcessor.as
+++ HLSPlugin/src/com/kaltura/hls/m2ts/NALUProcessor.as
@@ -6,6 +6,7 @@
     import flash.utils.Endian;
     import flash.utils.IDataInput;
     import flash.utils.IDataOutput;
+    //import com.hurlant.util.Hex;

     /**
      * NALU processing utilities.
@@ -18,11 +19,13 @@
         private static function sortSPS(a:ByteArray, b:ByteArray):int
         {
             var ourEg:ExpGolomb = new ExpGolomb(a);
-            ourEg.readBits(28);
+            ourEg.readBits(8);
+            ourEg.readBits(24);
             var Id_a:int = ourEg.readUE();

             ourEg = new ExpGolomb(b);
-            ourEg.readBits(28);
+            ourEg.readBits(8);
+            ourEg.readBits(24);
             var Id_b:int = ourEg.readUE();

             return Id_a - Id_b;
@@ -76,11 +79,12 @@
                 // Debug dump the SPS
                 var spsLength:uint = spsList[i].length;

-                //trace("SPS #" + i + " profile " + spsList[i][1] + "   " + Hex.fromArray(spsList[i], true));
+                //trace("SPS #" + i + " profile=" + spsList[i][1] + "   " + Hex.fromArray(spsList[i], true));

                 var eg:ExpGolomb = new ExpGolomb(spsList[i]);
                 // constraint_set[0-5]_flag, u(1), reserved_zero_2bits u(2), level_idc u(8)
-                eg.readBits(16);
+                eg.readBits(8);
+                eg.readBits(24);
                 //trace("Saw id " + eg.readUE());

                 avcc.position = cursor;
@@ -99,6 +103,12 @@
             {
                 var ppsLength:uint = ppsList[i].length;
                 //trace("PPS length #" + i + " is " + ppsLength + "   " + Hex.fromArray(ppsList[i], true));
+
+                eg = new ExpGolomb(ppsList[i]);
+                // constraint_set[0-5]_flag, u(1), reserved_zero_2bits u(2), level_idc u(8)
+                eg.readBits(8);
+                //trace("Saw id " + eg.readUE());
+
                 avcc.position = cursor;
                 ppsList[i].position = 0;
                 avcc.writeShort(ppsLength);
@@ -118,40 +128,29 @@
             sps.writeBytes(bytes, cursor, length);

             var ourEg:ExpGolomb = new ExpGolomb(sps);
-            ourEg.readBits(16);
+            ourEg.readBits(8);
+            ourEg.readBits(24);
             var ourId:int = ourEg.readUE();

             // If not present in list add it!
-            var found:Boolean = false;
             for(var i:int=0; i<spsList.length; i++)
             {
                 // If it matches our ID, replace it.
                 var eg:ExpGolomb = new ExpGolomb(spsList[i]);
-                eg.readBits(16);
+                eg.readBits(8);
+                eg.readBits(24);
                 var foundId:int = eg.readUE();

-                if(foundId == ourId)
-                {
-                    //trace("Got SPS match for " + foundId + "!");
-                    spsList[i] = sps;
-                    return;
-                }
-
-                if(spsList[i].length != length)
+                if(foundId != ourId)
                     continue;

-                // If identical don't append to list.
-                for(var j:int=0; j<spsList[i].length && j<sps.length; j++)
-                    if(spsList[i][j] != sps[j])
-                        continue;
-
-                found = true;
-                break;
+                //trace("Got SPS match for " + foundId + "!");
+                spsList[i] = sps;
+                return;
             }

             // Maybe we do have to add it!
-            if(!found)
-                spsList.push(sps);
+            spsList.push(sps);
         }

         /**
@@ -163,38 +162,27 @@
             pps.writeBytes(bytes, cursor, length);

             var ourEg:ExpGolomb = new ExpGolomb(pps);
+            ourEg.readBits(8);
             var ourId:int = ourEg.readUE();

             // If not present in list add it!
-            var found:Boolean = false;
             for(var i:int=0; i<ppsList.length; i++)
             {
                 // If it matches our ID, replace it.
                 var eg:ExpGolomb = new ExpGolomb(ppsList[i]);
+                eg.readBits(8);
                 var foundId:int = eg.readUE();

-                if(foundId == ourId)
-                {
-                    //trace("Got PPS match for " + foundId + "!");
-                    ppsList[i] = pps;
-                    return;
-                }
-
-                if(ppsList[i].length != length)
+                if(foundId != ourId)
                     continue;

-                // If identical don't append to list.
-                for(var j:int=0; j<ppsList[i].length && j<pps.length; j++)
-                    if(ppsList[i][j] != pps[j])
-                        continue;
-
-                found = true;
-                break;
+                //trace("Got PPS match for " + foundId + "!");
+                ppsList[i] = pps;
+                return;
             }

             // Maybe we do have to add it!
-            if(!found)
-                ppsList.push(pps);
+            ppsList.push(pps);
         }

         /**


Fix issue where, when running 'ant-asdoc', the build would fail because Alert is present both in the imports and the 'spark.components' package. Adding mx.controls as a prefix points it squarely at the intended class (too chicken to let it use the experimental spark Alert ;-))

Signed-off-by: Erik de Bruin <c195b508e6f0c57aeafdb5e96947e2b79e6a4b40@ixsoftware.nl>

--- frameworks/projects/airspark/src/spark/components/WindowedApplication.as
+++ frameworks/projects/airspark/src/spark/components/WindowedApplication.as
@@ -1936,7 +1936,7 @@
         }
         else
         {
-            Alert.show(resourceManager.getString("core", "badFile"));
+            mx.controls.Alert.show(resourceManager.getString("core", "badFile"));
         }
     }


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

--- frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
+++ frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2011 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.
 //
 ////////////////////////////////////////////////////////////////////////////////
 package spark.components


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

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

 package spark.automation.delegates.components
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 21594
Author:   deeptika@adobe.com
Date:     2011-07-18T11:39:38.158141Z

Log Message:
-----------
Changing the style setting mechanism in charts (moving to defaults.css) to fix memory leak in charts.
QE notes:
Doc notes:
Bugs: FLEXDMV-2626 (Views with charts not getting GC-ed)
Reviewer:
Tests run: Mustella test suite for charts - cyclone tested by QE
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/CartesianChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/ChartBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/AreaSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BubbleChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/chartClasses/PolarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/ColumnChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-4.X.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/GridLines.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PieSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/PlotSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/BarChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AreaChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/HLOCSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/AxisRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/LineSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PieChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BubbleSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/PlotChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/ColumnSeries.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/CandlestickChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/charts-3.0.0.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/HLOCChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/LineChart.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/charts/src/mx/charts/series/BarSeries.as</path>

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

--- frameworks/projects/charts/src/mx/charts/series/BarSeries.as
+++ frameworks/projects/charts/src/mx/charts/series/BarSeries.as
@@ -1053,19 +1053,13 @@
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
-
-        var barSeriesStyle:CSSStyleDeclaration =
-            HaloDefaults.createSelector("mx.charts.series.BarSeries", styleManager);
-
-        barSeriesStyle.defaultFactory = function():void
-        {
-            this.fill = new SolidColor(0);
-            this.fills = [];
-            this.itemRenderer = new ClassFactory(BoxItemRenderer);
-            this.stroke = HaloDefaults.emptyStroke;
-            this.labelSizeLimit = 9;
-        }
-
+
+		var barSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.BarSeries");
+		barSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.BoxItemRenderer));
+		barSeriesStyle.setStyle("fill", new SolidColor(0x000000));
+		barSeriesStyle.setStyle("fills", []);
+		barSeriesStyle.setStyle("stroke", HaloDefaults.emptyStroke);
+
         return true;
     }

@@ -2079,7 +2073,7 @@
      */
     override public function stylesInitialized():void
     {
-        _localFills = getStyle('fills');
+		_localFills = getStyle('fills');
         if (_localFills != null)
             _fillCount = _localFills.length;
         else


Transferred from the Adobe Open Source Subversion Repository

Revision: 4516
Author:   gosmith@adobe.com
Date:     2009-01-13T23:23:14.594709Z

Log Message:
-----------
Accessibility changes to Panel and TitleWindow, as requested by Freedom Scientific.

These components now report their accessibility role as "grouping" rather than "window". Their accessibility name is now simply their title. They no longer report any child items. Their accessibility location is the bounding rect of the entire Panel or TitleWindow.

The AccessibilityImplementation continues to be attached to the titleBar, not to the Panel/TitleWindow, because the Flash Player ignores Sprites with an AccessibilityImplementation that are inside other Sprites with an AccessibilityImplementation. (The Flash accessibility model is flat, not hierarchical, and "child IDs" are only used for things like list items, not for controls in titled container.)

So although in the display hierarchy the Panel is a parent of its content controls, in the MSAA model it appears as their preceding sibling. JAWS will look at the "grouping" role and understand that because the bounding rect of the grouping includes some of its following siblings, they are "inside". (I don't know what this means in terms of what JAWS will actually speak.)

Also, the AccImpl class now implements getChildIDArray() to return an empty array, so that by default all components have 0 child items (rather than reporting an error).

Finally, subclasses with child items now compute how many they have and then call a new AccImpl utility method, createChildIDArray(), to create an Array that looks like [ 1, 2, 3, 4, 5 ].

QE Notes: None
Doc Notes: None
Bugs: SDK-12390, SDK-16340
Reviewer: Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/TabBarAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/TabBarAccImpl.as
@@ -238,15 +238,9 @@
 	 */
 	override public function getChildIDArray():Array
 	{
-		var childIDs:Array = [];
-
 		var n:int = TabBar(master).numChildren;
-		for (var i:int = 0; i < n; i++)
-		{
-			childIDs[i] = i + 1;
-		}
-
-		return childIDs;
+
+		return createChildIDArray(n);
 	}

 	/**


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

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


Removed include directives for GameObject.as

--- DroneAnarchy/Resources/Scripts/DroneAnarchy.as
+++ DroneAnarchy/Resources/Scripts/DroneAnarchy.as
@@ -7,6 +7,7 @@
 	GS_OUTGAME,
 	GS_PAUSED
 }
+


Update menuColourIdiomes.as

Update menuColourIdiomes.as

--- com/segonquart/menuColourIdiomes.as
+++ com/segonquart/menuColourIdiomes.as
@@ -22,17 +22,25 @@
 		private function mOver()

 		{
+			var i:Number;

-                arrayLang_arr[i].colorTo("#95C60D", 0.3, "easeOutCirc");
-
+				for (var i = 0; i < arrayLang_arr.length; i++)
+				{
+	                		arrayLang_arr[i].colorTo("#95C60D", 0.3, "easeOutCirc");
+	                	]
+
 		}

 		private function mOut()

 		{
+			var i:Number;

-                arrayLang_arr[i].colorTo("#010101", 0.3, "easeInCirc");
-
+				for (var i = 0; i < arrayLang_arr.length; i++)
+				{
+			                arrayLang_arr[i].colorTo("#010101", 0.3, "easeInCirc");
+	                	}
+
 		}

 	}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/menuClasses/IMenuBarItemRenderer.as
+++ frameworks/projects/mx/src/mx/controls/menuClasses/IMenuBarItemRenderer.as
@@ -0,0 +1,99 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.controls.menuClasses
+{
+
+import mx.controls.MenuBar;
+import mx.controls.listClasses.IListItemRenderer;
+import mx.core.IDataRenderer;
+import mx.core.IUIComponent;
+import mx.core.mx_internal;
+import mx.styles.ISimpleStyleClient;
+
+use namespace mx_internal;
+
+/**
+ *  The IMenuBarItemRenderer interface defines the interface
+ *  that an item renderer for the top-level menu bar of a
+ *  MenuBar control must implement.
+ *  The item renderer defines the look of the individual buttons
+ *  in the top-level menu bar.
+ *
+ *  To implement this interface, you must define a
+ *  setter and getter method that implements the menuBar,
+ *  menuBarItemIndex, and menuBarItemState properties.
+ *
+ *  @see mx.controls.MenuBar
+ *  @see mx.controls.menuClasses.MenuBarItem
+ */
+
+public interface IMenuBarItemRenderer extends IDataRenderer, IUIComponent, ISimpleStyleClient, IListItemRenderer
+{
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  menuBar
+    //----------------------------------
+
+    /**
+     *  Contains a reference to the item renderer's MenuBar control.
+     */
+    function get menuBar():MenuBar;
+
+    /**
+     *  @private
+     */
+    function set menuBar(value:MenuBar):void;
+
+    //----------------------------------
+    //  menuBarItemIndex
+    //----------------------------------
+
+    /**
+     *  Contains the index of this item renderer relative to
+     *  other item renderers in the MenuBar control.
+     *  The index of the first item renderer,
+     *  the left most renderer, is 0 and increases by 1 as you
+     *  move to the right in the MenuBar control.
+     */
+    function get menuBarItemIndex():int;
+
+    /**
+     *  @private
+     */
+    function set menuBarItemIndex(value:int):void;
+
+
+    //----------------------------------
+    //  menuBarItemState
+    //----------------------------------
+
+    /**
+     *  Contains the current state of this item renderer.
+     *  The possible values are "itemUpSkin",
+     *  "itemDownSkin", and "itemOverSkin".
+     */
+    function get menuBarItemState():String;
+
+    /**
+     *  @private
+     */
+    function set menuBarItemState(value:String):void;
+
+
+}
+}


updated docs

updated docs

--- WeaveAPI/src/weave/api/services/IURLRequestUtils.as
+++ WeaveAPI/src/weave/api/services/IURLRequestUtils.as
@@ -32,6 +32,7 @@

 		/**
 		 * This function performs an HTTP GET request and calls result or fault handlers when the request succeeds or fails.
+		 * Also calls WeaveAPI.ProgressIndicator.addTask(asyncToken, relevantContext) using the generated AsyncToken so that if relevantContext is an ILinkableObject this will affect busy status.
 		 * @param relevantContext Specifies an object that the async handlers are relevant to.  If the object is disposed via WeaveAPI.SessionManager.dispose() before the download finishes, the async handler functions will not be called.  This parameter may be null.
 		 * @param request The URL to get.
 		 * @param asyncResultHandler A function with the following signature:  function(e:ResultEvent, token:Object = null):void.  This function will be called if the request succeeds.
@@ -39,11 +40,13 @@
 		 * @param token An object that gets passed to the handler functions.
 		 * @param dataFormat The value to set as the dataFormat property of a URLLoader object.
 		 * @return The URLLoader used to perform the HTTP GET request.
+		 * @see weave.api.core.IProgressIndicator#addTask()
 		 */
 		function getURL(relevantContext:Object, request:URLRequest, asyncResultHandler:Function = null, asyncFaultHandler:Function = null, token:Object = null, dataFormat:String = "binary"):URLLoader;

 		/**
 		 * This function will download content from a URL and call the given handler functions when it completes or a fault occurrs.
+		 * Also calls WeaveAPI.ProgressIndicator.addTask(asyncToken, relevantContext) using the generated AsyncToken so that if relevantContext is an ILinkableObject this will affect busy status.
 		 * @param relevantContext Specifies an object that the async handlers are relevant to.  If the object is disposed via WeaveAPI.SessionManager.dispose() before the download finishes, the async handler functions will not be called.  This parameter may be null.
 		 * @param request The URL from which to get content.
 		 * @param asyncResultHandler A function with the following signature:  function(e:ResultEvent, token:Object = null):void.  This function will be called if the request succeeds.
@@ -51,6 +54,7 @@
 		 * @param token An object that gets passed to the handler functions.
 		 * @param useCache A boolean indicating whether to use the cached images. If set to true, this function will return null if there is already a bitmap for the request.
 		 * @return An IURLRequestToken that can be used to cancel the request and cancel the async handlers.
+		 * @see weave.api.core.IProgressIndicator#addTask()
 		 */
 		function getContent(relevantContext:Object, request:URLRequest, asyncResultHandler:Function = null, asyncFaultHandler:Function = null, token:Object = null, useCache:Boolean = true):IURLRequestToken;
 	}


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

--- frameworks/projects/mx/src/mx/styles/metadata/ContainerBackgroundStyles.as
+++ frameworks/projects/mx/src/mx/styles/metadata/ContainerBackgroundStyles.as
@@ -1,28 +1,4 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  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.
-//
-////////////////////////////////////////////////////////////////////////////////

-/**
- *  Alpha level of the color defined by the backgroundColor
- *  property, of the image or SWF file defined by the backgroundImage
- *  style.
- *  Valid values range from 0.0 to 1.0. For most controls, the default value is 1.0,
- *  but for ToolTip controls, the default value is 0.95 and for Alert controls, the default value is 0.9.
- *
- *  @default 1.0
- *
- *  @langversion 3.0
- *  @playerversion Flash 9
- *  @playerversion AIR 1.1
- *  @productversion Flex 3
- */
 [Style(name="backgroundAlpha", type="Number", inherit="no", theme="halo, spark")]

 /**


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

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

 package mx.messaging.errors
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3509
Author:   jimurphy@adobe.com
Date:     2008-10-07T18:19:17.646255Z

Log Message:
-----------
Rename of flex -> mx.

For compatibility reasons it was decided that the new functionality remain integrated with the old framework, although we will continue to build two separate SWCs, one with primarily existing framework classes, and one with new Flex 4 classes. This change removes duplicate names from the Flex 4 framework to avoid class name overlapping with the old framework code.  The naming overlap consists of two major areas:  New Components, and New Effects

Modified Paths:
--------------
386 paths were modified

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -1,4 +1,4 @@
-package flex.core
+package mx.components.baseClasses
 {
 import flash.display.DisplayObject;
 import flash.display.Sprite;
@@ -8,23 +8,25 @@
 import flash.geom.Rectangle;
 import flash.utils.Dictionary;

-import flex.events.FlexEvent;
-import flex.events.ItemExistenceChangedEvent;
-import flex.graphics.Graphic;
-import flex.graphics.IGraphicElement;
-import flex.graphics.IGraphicElementHost;
-import flex.graphics.MaskType;
-import flex.graphics.TransformUtil;
-import flex.graphics.graphicsClasses.GraphicElement;
-import flex.intf.ILayoutItem;
-import flex.intf.IViewport;
-import flex.layout.LayoutBase;
-import flex.layout.BasicLayout;
-import flex.layout.LayoutItemFactory;
+import mx.graphics.IGraphicElementHost;
+import mx.events.FlexEvent;
+import mx.events.ItemExistenceChangedEvent;
+import mx.graphics.Graphic;
+
+import mx.graphics.MaskType;
+import mx.utils.MatrixUtil;
+import mx.graphics.graphicsClasses.GraphicElement;
+import mx.graphics.IGraphicElement;
+import mx.layout.ILayoutItem;
+import mx.core.IViewport;
+import mx.layout.LayoutBase;
+import mx.layout.BasicLayout;
+import mx.layout.LayoutItemFactory;

 import mx.collections.ICollectionView;
 import mx.collections.IList;
 import mx.collections.ListCollectionView;
+import mx.components.ResizeMode;
 import mx.controls.Label;
 import mx.core.IDataRenderer;
 import mx.core.IDeferredInstance;
@@ -41,12 +43,12 @@
 //  Styles
 //--------------------------------------

-include "../styles/metadata/BasicContainerFormatTextStyles.as"
-include "../styles/metadata/AdvancedContainerFormatTextStyles.as"
-include "../styles/metadata/BasicParagraphFormatTextStyles.as"
-include "../styles/metadata/AdvancedParagraphFormatTextStyles.as"
-include "../styles/metadata/BasicCharacterFormatTextStyles.as"
-include "../styles/metadata/AdvancedCharacterFormatTextStyles.as"
+include "../../styles/metadata/BasicContainerFormatTextStyles.as"
+include "../../styles/metadata/AdvancedContainerFormatTextStyles.as"
+include "../../styles/metadata/BasicParagraphFormatTextStyles.as"
+include "../../styles/metadata/AdvancedParagraphFormatTextStyles.as"
+include "../../styles/metadata/BasicCharacterFormatTextStyles.as"
+include "../../styles/metadata/AdvancedCharacterFormatTextStyles.as"

 /**
  *  The GroupBase class.
@@ -337,7 +339,7 @@
     [Bindable]

     /**
-     *  @copy flex.intf.IViewport#horizontalScrollPosition
+     *  @copy mx.core.IViewport#horizontalScrollPosition
      */
     public function get horizontalScrollPosition():Number
     {
@@ -357,7 +359,7 @@
     [Bindable]

     /**
-     *  @copy flex.intf.IViewport#verticalScrollPosition
+     *  @copy mx.core.IViewport#verticalScrollPosition
      */
     public function get verticalScrollPosition():Number
     {
@@ -375,7 +377,7 @@
     //----------------------------------

     /**
-     *  @copy flex.intf.IViewport#horizontalScrollPositionDelta
+     *  @copy mx.core.IViewport#horizontalScrollPositionDelta
      */
     public function horizontalScrollPositionDelta(unit:uint):Number
     {
@@ -383,7 +385,7 @@
     }

     /**
-     *  @copy flex.intf.IViewport#verticalScrollPositionDelta
+     *  @copy mx.core.IViewport#verticalScrollPositionDelta
      */
     public function verticalScrollPositionDelta(unit:uint):Number
     {
@@ -406,7 +408,7 @@
     [Inspectable(category="General")]

     /**
-     *  @copy flex.core.IViewport#contentWidth
+     *  @copy mx.core.IViewport#contentWidth
      */
     public function get contentWidth():Number
     {
@@ -432,7 +434,7 @@
     [Inspectable(category="General")]

     /**
-     *  @copy flex.core.IViewport#contentWidth
+     *  @copy mx.core.IViewport#contentWidth
      */
     public function get contentHeight():Number
     {
@@ -471,7 +473,7 @@
     //----------------------------------

     /**
-     *  @copy flex.intf.IViewport#clipContent
+     *  @copy mx.core.IViewport#clipContent
      */
     public function get clipContent():Boolean
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 3998
Author:   hmuller@adobe.com
Date:     2008-11-03T21:26:02.073063Z

Log Message:
-----------
Fixed 17723, 17870

Removed unused from VerticalLayout, HorizontalLayout: explicitRowHeight,
explicitColumnWidth properties, setRowHeight, setColumnWidth methods.

QE Notes: checkin and mustella tests pass
Doc Notes: None
Bugs: sdk-17723 sdk-17870
Reviewer: Ryan

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

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TrackBase.as
@@ -294,6 +294,7 @@
                                       track_mouseDownHandler);
             track.removeEventListener("updateComplete",
                                       track_updateCompleteHandler);
+            tempTrackSize = NaN;
         }
     }

@@ -573,4 +574,4 @@
     protected function track_mouseDownHandler(event:MouseEvent):void {}
 }

-}+}


default labelField

default labelField

--- skinnable-popup-fx/src/main/actionscript/net/riastar/components/Toaster.as
+++ skinnable-popup-fx/src/main/actionscript/net/riastar/components/Toaster.as
@@ -64,7 +64,7 @@

     public var showTime:int = 5000;

-    private var _labelField:String;
+    private var _labelField:String = "label";
     public function get labelField():String { return _labelField; }
     public function set labelField(value:String):void {
         _labelField = value;