Transferred from the Adobe Open Source Subversion Repository

Revision: 17305
Author:   gruehle@adobe.com
Date:     2010-08-12T21:18:50.910120Z

Log Message:
-----------
This revision includes the following changes:
* Text skin parts for Spark components changed from TextBase and RichEditableText to IDisplayText and IEditableText
* TextBase implements IDisplayText
* RichEditableText implements IEditableText
* New mobile skins for TextInput and TextArea (TextArea appearance is placeholder for now)
* Add a TOUCH_SCROLL_STARTING handler to SkinnableTextBase. This handler prevents the touch scroll from happening if the text is selectable or editable.
* Change global contentBackgroundColor to #3F3F3F and mobile application backgroundColor to #484848

Now that text skin parts are interfaces they need to be cast to concrete types in a bunch of places. There are two general approaches taken here:
* For required functionality, cast to a known type like InteractiveObject
* For optional functionality, cast to the desired type using “as” and wrap the code with a null check.

QE notes: Mobile TextInput is ready for testing. TextArea has some issues with resizing, so testing should wait for now.
Doc notes: -
Bugs: -
Reviewer: Jason Szeto, Corey L.
Tests run: full mustella pass (thank you cyclone server!), checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInput_border.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/SparkComboBoxAutomationImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/VideoPlayerAccImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/FormHeading.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.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/components/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/automation_spark/src/spark/automation/delegates/components/supportClasses/SparkSkinnableTextBaseAutomationImpl.as</path>

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

--- frameworks/projects/spark/src/spark/components/DropDownList.as
+++ frameworks/projects/spark/src/spark/components/DropDownList.as
@@ -13,10 +13,12 @@
 package spark.components
 {

+import mx.core.IVisualElement;
 import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;

 import spark.components.supportClasses.DropDownListBase;
+import spark.core.IDisplayText;
 import spark.components.supportClasses.TextBase;
 import spark.utils.LabelUtil;

@@ -140,7 +142,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public var labelDisplay:TextBase;
+    public var labelDisplay:IDisplayText;

     //--------------------------------------------------------------------------
     //
@@ -168,7 +170,7 @@
      */
     override public function get baselinePosition():Number
     {
-        return getBaselinePositionForPart(labelDisplay);
+        return getBaselinePositionForPart(labelDisplay as IVisualElement);
     }

     //--------------------------------------------------------------------------
@@ -298,36 +300,38 @@
      */
     override protected function measure():void
     {
+        var labelComp:TextBase = labelDisplay as TextBase;
+
         // If typicalItem is set, then use it for measurement
-        if (labelDisplay && typicalItem != null)
+        if (labelComp && typicalItem != null)
         {
             // Save the labelDisplay's dimensions in case we clear out typicalItem
             if (!sizeSetByTypicalItem)
             {
-                labelDisplayExplicitWidth = labelDisplay.explicitWidth;
-                labelDisplayExplicitHeight = labelDisplay.explicitHeight;
+                labelDisplayExplicitWidth = labelComp.explicitWidth;
+                labelDisplayExplicitHeight = labelComp.explicitHeight;
                 sizeSetByTypicalItem = true;
             }

-            labelDisplay.explicitWidth = NaN;
-            labelDisplay.explicitHeight = NaN;
+            labelComp.explicitWidth = NaN;
+            labelComp.explicitHeight = NaN;

             // Swap in the typicalItem into the labelDisplay
             updateLabelDisplay(typicalItem);
             UIComponentGlobals.layoutManager.validateClient(skin, true);

             // Force the labelDisplay to be sized to the measured size
-            labelDisplay.width = labelDisplay.measuredWidth;
-            labelDisplay.height = labelDisplay.measuredHeight;
+            labelComp.width = labelComp.measuredWidth;
+            labelComp.height = labelComp.measuredHeight;

             // Set the labelDisplay back to selectedItem
             updateLabelDisplay();
         }
-        else if (sizeSetByTypicalItem && typicalItem == null)
+        else if (labelComp && sizeSetByTypicalItem && typicalItem == null)
         {
             // Restore the labelDisplay to its original size
-            labelDisplay.width = labelDisplayExplicitWidth;
-            labelDisplay.height = labelDisplayExplicitHeight;
+            labelComp.width = labelDisplayExplicitWidth;
+            labelComp.height = labelDisplayExplicitHeight;
             sizeSetByTypicalItem = false;
         }


fwr: increase connect timeout to 120 secs

git-svn-id: 8a2ccb88241e16c78017770bc38d91d6d5396a5a@94136 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- generator/sources/as3/com/kaltura/delegates/WebDelegateBase.as
+++ generator/sources/as3/com/kaltura/delegates/WebDelegateBase.as
@@ -52,7 +52,7 @@

 	public class WebDelegateBase extends EventDispatcher implements IKalturaCallDelegate {

-		public static var CONNECT_TIME:int = 60000; //60 secs
+		public static var CONNECT_TIME:int = 120000; //120 secs
 		public static var LOAD_TIME:int = 120000; //120 secs

 		protected var connectTimer:Timer;


Allow access to getComponent through the character manager rather than having to go through the repository.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@994 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/cast/CharacterManager.as
+++ src/as/com/threerings/cast/CharacterManager.as
@@ -79,6 +79,11 @@
     public function getActionSequence (action :String) :ActionSequence
     {
         return _actions.get(action);
+    }
+
+    public function getComponent (compId :int) :CharacterComponent
+    {
+        return _crepo.getComponent(compId);
     }

     public function getActionFrames (descrip :CharacterDescriptor, action :String) :ActionFrames


Transferred from the Adobe Open Source Subversion Repository

Revision: 6957
Author:   jimurphy@adobe.com
Date:     2009-05-15T16:11:59.737851Z

Log Message:
-----------
Merged beta1 revisions 6898,6906,6913,6915,6917,6926,6930 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ImageHelper.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/flash-integration/FlexComponentKit.mxp</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/fxg/swf/FXG2SWFTranscoder.java</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/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/ShapeHelper.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/dom/filters/GlowFilterNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/FlexComponentKit.mxi</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/fxgutils/src/java/com/adobe/internal/fxg/swf/TypeHelper.java</path>

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

--- frameworks/projects/mx/src/mx/controls/VRule.as
+++ frameworks/projects/mx/src/mx/controls/VRule.as
@@ -86,6 +86,8 @@
 //--------------------------------------

 [IconFile("VRule.png")]
+
+[Alternative(replacement="spark.primitives.Line", since="4.0")]

 /**
  *  The VRule control creates a single vertical line.


added Weave.IS()

added Weave.IS()

--- WeaveJS/src/Weave.as
+++ WeaveJS/src/Weave.as
@@ -436,6 +436,13 @@
 			return objectOrClass ? objectOrClass.prototype is ILinkableObject : false;
 		}

+		/**
+		 * @return (object is type)
+		 */
+		public static function IS(object:Object, type:Class):Boolean
+		{
+			return object is type;
+		}

 		//////////////////////////////////////////////////////////////////////////////////


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

--- frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as
+++ frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as
@@ -0,0 +1,181 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.skins.halo
+{
+
+import flash.system.Capabilities;
+import mx.core.UIComponent;
+import mx.controls.Image;
+import mx.states.SetProperty;
+import mx.states.State;
+
+/**
+ *  The skin for the close button in the TitleBar
+ *  of a WindowedApplication or Window.
+ */
+public class WindowCloseButtonSkin extends UIComponent
+{
+    include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class assets
+	//
+	//--------------------------------------------------------------------------
+
+	[Embed(source="../../../../assets/mac_close_up.png")]
+    private static var macCloseUpSkin:Class;
+
+    [Embed(source="../../../../assets/win_close_up.png")]
+    private static var winCloseUpSkin:Class;
+
+	[Embed(source="../../../../assets/mac_close_over.png")]
+	private static var macCloseOverSkin:Class;
+
+	[Embed(source="../../../../assets/win_close_over.png")]
+	private static var winCloseOverSkin:Class;
+
+  	[Embed(source="../../../../assets/mac_close_down.png")]
+    private static var macCloseDownSkin:Class;
+
+    [Embed(source="../../../../assets/win_close_down.png")]
+    private static var winCloseDownSkin:Class;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 */
+	public function WindowCloseButtonSkin()
+	{
+		super();
+
+		isMac = Capabilities.os.substring(0,3) == "Mac";
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private var isMac:Boolean;
+
+	/**
+	 *  @private
+	 */
+	private var skinImage:Image;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden properties: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  measuredHeight
+	//----------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function get measuredHeight():Number
+	{
+		if (skinImage.measuredHeight)
+			return skinImage.measuredHeight;
+		else
+			return 13;
+	}
+
+	//----------------------------------
+	//  measuredWidth
+	//----------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function get measuredWidth():Number
+	{
+		if (skinImage.measuredWidth)
+			return skinImage.measuredWidth;
+		else
+			return 12;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods: UIComponent
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override protected function createChildren():void
+	{
+		skinImage = new Image();
+		addChild(skinImage);
+
+		initializeStates();
+
+		skinImage.setActualSize(12, 13);
+		skinImage.move(0, 0);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function initializeStates():void
+	{
+		var upState:State = new State();
+		upState.name = "up";
+		var upProp:SetProperty = new SetProperty();
+		upProp.name = "source";
+		upProp.target = skinImage;
+		upProp.value = isMac ? macCloseUpSkin : winCloseUpSkin;
+		upState.overrides.push(upProp);
+		states.push(upState);
+
+		var downState:State = new State();
+		downState.name = "down";
+		var downProp:SetProperty = new SetProperty();
+		downProp.name = "source";
+		downProp.target = skinImage;
+		downProp.value = isMac ? macCloseDownSkin : winCloseDownSkin;
+		downState.overrides.push(downProp);
+		states.push(downState);
+
+		var overState:State = new State();
+		overState.name = "over";
+		var overProp:SetProperty = new SetProperty();
+		overProp.name = "source";
+		overProp.target = skinImage;
+		overProp.value = isMac ? macCloseOverSkin : winCloseOverSkin;
+		overState.overrides.push(overProp);
+		states.push(overState);
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/PauseInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/PauseInstance.as
@@ -24,6 +24,11 @@
  *  yourself.
  *
  *  @see mx.effects.Pause
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class PauseInstance extends TweenEffectInstance
 {
@@ -40,6 +45,11 @@
      *
      *  @param target This argument is ignored by the Pause effect.
      *  It is included for consistency with other effects.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function PauseInstance(target:Object)
     {
@@ -55,6 +65,11 @@
     /**
      * We cache the source for the event "eventName" to remove
      * the listener for it when the effect ends.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private var eventSource:IEventDispatcher;

@@ -82,6 +97,11 @@
      *
      *
This property is optional; the default
      * action is to play without waiting for any event.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public var eventName:String

@@ -118,6 +138,11 @@
     /**
      * This function is called by the target if the named event
      * is dispatched before the duration expires.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     private function eventHandler(event:Event):void
     {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as
+++ frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as
@@ -57,9 +57,9 @@
      *  @eventType removing
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public static const REMOVING:String = "removing";


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.skins.mobile
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7952
Author:   cframpto@adobe.com
Date:     2009-06-18T09:57:23.131767Z

Log Message:
-----------
PARB changes for RichEditableText, TextArea and TextInput

RichEditableText, TextArea
--------------------------
content:Object setter only for use by MXML compiler
textFlow:TextFlow getter/setter added
scrollToPosition -> scrollToRange()
getSelectionFormat() -> getFormatOfRange(requestedFormats:Vector.<String> = null, anchorPosition=-1,                  activePosition=-1):TextLayoutFormat
    If either position is -1, the current selection will be used.
setSelectionFormat() -> setFormatOfRange(format:TextLayoutFormat, anchorPosition=-1, activePosition=-1):void
    If either position is -1, the current selection will be used.
export() removed

RichEditableText, TextBase
--------------------------
autoSize removed
widthInChars defaults to NaN
heightInLines defaults to NaN
    If both are NaN, and not in scroller, it will autoSize.
    If both are NaN, and in scroller, widthInChars effectively 15, heightInLines effectively 10.
    If widthInChars is NaN and heightInLines is not, widthInChars effectively 1.
    If heightInLines is NaN and widthInChars is not, heightInLines effectively 1.
selectionVisibility:String -> selectionHighlighting:String
TextSelectionVisibiliy.as -> TextSelectionHightlighting.as
setSelection -> selectRange(anchor, active) and the args are no longer optional
selectAll() added

TextBase
--------
TextBase.as -> SkinnableTextBase.as
it will not support any non-inheriting styles
textView skin part -> textDisplay
widthInChars property removed and moved to TextInput and TextArea

Styles
-------
Renamed style selectionColor -> focusedTextSelectionColor
Renamed style unfocusedSelectionColor -> unfocusedTextSelectionColor
Renamed inactiveSelectionColor -> inactiveTextSelectionColor

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/SelectionFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as" copyfrom-rev="7834" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextSelectionVisibility.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/NumericStepperTextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextSelectionVisibility.as" copyfrom-rev="7834" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextSelectionHighlighting.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/RichEditableTextContainerManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextSelectionHighlighting.as
+++ frameworks/projects/spark/src/spark/components/TextSelectionHighlighting.as
@@ -20,7 +20,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public final class TextSelectionVisibility
+public final class TextSelectionHighlighting
 {
     include "../core/Version.as";


Improved dataerror (wave/spectrum) exception handling, should result in lowered CPU use if playback continues with access exceptions (eg. YouTube video going in another tab)

--- src/SoundManager2_AS3.as
+++ src/SoundManager2_AS3.as
@@ -377,7 +377,9 @@
             oSound.lastValues.bytes = bL;
             ExternalInterface.call(sMethod, bL, bT, nD);
           }
-        }
+
+        }
+
         // peak data
         if (oSoundChannel && oSound.usePeakData) {
           if (lP != oSound.lastValues.leftPeak) {
@@ -391,69 +393,60 @@
         }

         var newDataError:Boolean = false;
-        var dataErrors:Array = [];
+        var dataError:String;

         // special case: Netstream may try to fire whileplaying() after finishing. check that stop hasn't fired.
         isPlaying = (oSound.didLoad && !oSound.paused && (!oSound.useNetstream || (oSound.useNetstream && oSound.lastNetStatus != "NetStream.Play.Stop"))); // don't update if stream has ended

         // raw waveform + EQ spectrum data
-        if (isPlaying && oSoundChannel || oSound.useNetstream) {
+        if (isPlaying && oSoundChannel) { // || oSound.useNetstream)) {
+
           if (oSound.useWaveformData) {
-            if (areSoundsInaccessible == false) {
+            if (!areSoundsInaccessible && !oSound.handledDataError && !oSound.ignoreDataError) {
               try {
                 oSound.getWaveformData();
               } catch(e: Error) {
-                // this shouldn't happen, but does seem to fire from time to time.
-                writeDebug('getWaveformData() warning: ' + e.toString());
-              }
-            } else if (oSound.handledDataError != true && oSound.ignoreDataError != true) {
-              try {
-                oSound.getWaveformData();
-              } catch(e: Error) {
-                writeDebug('getWaveformData() (waveform data) '+e.toString());
+                if (!oSound.handledDataError) {
+                  writeDebug('getWaveformData() (waveform data) '+e.toString());
+                }
                 // oSound.useWaveformData = false;
                 newDataError = true;
-                dataErrors.push(e.toString());
-                oSound.handledDataError = true;
+                dataError = e.toString();
               }
             }
           }
+
           if (oSound.useEQData) {
-            if (areSoundsInaccessible == false) {
+            if (!areSoundsInaccessible && !oSound.handledDataError && !oSound.ignoreDataError) {
               try {
                 oSound.getEQData();
               } catch(e: Error) {
-                writeDebug('getEQData() warning: ' + e.toString());
-                newDataError = true;
-                dataErrors.push(e.toString());
-                oSound.handledDataError = true;
-              }
-            } else if (oSound.handledDataError != true && oSound.ignoreDataError != true) {
-              try {
-                oSound.getEQData();
-              } catch(e: Error) {
-                // writeDebug('computeSpectrum() (EQ data) '+e.toString());
+                if (!oSound.handledDataError) {
+                  writeDebug('computeSpectrum() (EQ data) '+e.toString());
+                }
                 // oSound.useEQData = false;
                 newDataError = true;
-                dataErrors.push(e.toString());
-                oSound.handledDataError = true;
+                dataError = e.toString();
               }
             }
           }
+
           if (oSound.waveformDataArray != oSound.lastValues.waveformDataArray) {
             oSound.lastValues.waveformDataArray = oSound.waveformDataArray;
             newWaveformData = true;
           }
+
           if (oSound.eqDataArray != oSound.lastValues.eqDataArray) {
             oSound.lastValues.eqDataArray = oSound.eqDataArray;
             newEQData = true;
           }
-        }
-
-        if (newDataError) {
+
+          if (newDataError && !oSound.handledDataError) {
             sMethod = baseJSObject + "['" + sounds[i] + "']._ondataerror";
-            var errors:String = dataErrors.join('<br>\n');
-            ExternalInterface.call(sMethod, 'data unavailable: ' + errors);
+            ExternalInterface.call(sMethod, 'data unavailable: ' + dataError);
+            oSound.handledDataError = true;
+          }
+
         }

         if (typeof nP != 'undefined' && hasNew) { // && isPlaying - removed to allow updates while paused, eg. from setPosition() calls


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

--- frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/DropDownListBaseAccImpl.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.
 //
 ////////////////////////////////////////////////////////////////////////////////


remove the return in the middle of the play function

--- src/Player.as
+++ src/Player.as
@@ -221,10 +221,9 @@
       if (client) {
         /* Stop the client, and 'onStopped' will start the new stream. */
         client.stop();
-        return;
-      }
-
-      start();
+      }else{
+        start();
+      }
     }

     private function start():void {


?????????????? bug

?????????????? bug

--- as3/com/netease/protobuf/WriteUtils.as
+++ as3/com/netease/protobuf/WriteUtils.as
@@ -59,7 +59,7 @@
 				plb = new PostposeLengthBuffer
 			}
 			const i:uint = plb.beginBlock()
-			plb.writeUTF(value)
+			plb.writeUTFBytes(value)
 			plb.endBlock(i)
 			if (plb != output) {
 				plb.toNormal(output)


Cleaned up whitespace

Cleaned up whitespace

--- as3/test/asunit4/async/AsyncTest.as
+++ as3/test/asunit4/async/AsyncTest.as
@@ -1,9 +1,12 @@
 package asunit4.async {
+
 	import asunit.framework.TestCase;
+
+	import asunit4.events.TimeoutCommandEvent;
+
 	import flash.events.Event;
 	import flash.events.EventDispatcher;
 	import flash.utils.setTimeout;
-	import asunit4.events.TimeoutCommandEvent;

 	public class AsyncTest extends TestCase {
 		private var dispatcher:EventDispatcher;
@@ -21,9 +24,7 @@
 			dispatcher = null;
 			command = null;
 		}
-
-		//////
-
+
 		public function test_addAsync_handler_can_be_retrieved_by_test_instance():void {
 			var cancelTimeout:Function = asunit4.async.addAsync(foo, 111);


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/framework/src/mx/effects/IEffectInstance.as
+++ frameworks/projects/framework/src/mx/effects/IEffectInstance.as
@@ -30,6 +30,11 @@
  *  for their custom effects.

  *
  *  @see mx.effects.Effect
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IEffectInstance
 {
@@ -52,6 +57,11 @@
      *  If you need the qualified name, use the
      *  getQualifiedClassName() method
      *  in the flash.utils package.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get className():String;

@@ -63,6 +73,11 @@
      *  The duration of the effect, in milliseconds.
      *
      *  @default 500
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get duration():Number;

@@ -77,6 +92,11 @@

     /**
      *  The IEffect object that created this IEffectInstance object.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get effect():IEffect;

@@ -95,6 +115,11 @@
      *  This property enables an instance of an effect class
      *  to communicate with the  list-based control
      *  on which the effect is playing.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get effectTargetHost():IEffectTargetHost;

@@ -121,6 +146,11 @@
      *
For subclasses of Effect, the default value is false.
      *  For subclasses of MaskEffect, the default value is true.
      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get hideFocusRing():Boolean;

@@ -138,6 +168,11 @@
      *  This property has a value between 0 and the actual duration
      *  (which includes the value of the startDelay,
      *  repeatCount, and repeatDelay properties).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get playheadTime():Number;

@@ -163,6 +198,11 @@
      *  the start and end values of the effect.

      *
      *  @see mx.effects.effectClasses.PropertyChanges
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get propertyChanges():PropertyChanges;

@@ -181,6 +221,11 @@
      *
      *  @default 1
      *  @see mx.effects.Effect#repeatCount
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get repeatCount():int;

@@ -199,6 +244,11 @@
      *
      *  @default 0
      *  @see mx.effects.Effect#repeatDelay
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get repeatDelay():int;

@@ -220,6 +270,11 @@
      *  only the first time the effect is played.
      *
      *  @default 0
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get startDelay():int;

@@ -240,6 +295,11 @@
      *
      *  @default false
      *  @see mx.effects.Effect#suspendBackgroundProcessing
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get suspendBackgroundProcessing():Boolean;

@@ -256,6 +316,11 @@
      *  The UIComponent object to which this effect is applied.
      *
      *  @see mx.effects.Effect#target
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get target():Object;

@@ -276,6 +341,11 @@
      *
If the effect was played programmatically by a call to the
      *  play() method, rather than being triggered by an event,
      *  this property is null.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get triggerEvent():Event;

@@ -300,6 +370,11 @@
      *  to trigger the effect.
      *  For example, if the trigger was a mouseDownEffect, the event
      *  would be a MouseEvent with type equal to MouseEvent.MOUSEDOWN.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function initEffect(event:Event):void;

@@ -309,6 +384,11 @@
      *  Called by the Effect class.
      *  Use this function instead of the play() method
      *  when starting an EffectInstance.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function startEffect():void;

@@ -321,11 +401,21 @@
      *  The override must call the super.play() method
      *  so that an effectStart event is dispatched
      *  from the target.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function play():void;

     /**
      *  Pauses the effect until you call the resume() method.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function pause():void;

@@ -338,18 +428,33 @@
      *
      *
The effect instance dispatches an effectEnd event
      *  when you call this method as part of ending the effect.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function stop():void;

     /**
      *  Resumes the effect after it has been paused
      *  by a call to the pause() method.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function resume():void;

     /**
      *  Plays the effect in reverse, starting from
      *  the current position of the effect.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function reverse():void;

@@ -371,6 +476,11 @@
      *  from the end of your override, after your logic.

      *
      *  @see mx.effects.Effect#end()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function end():void;

@@ -385,6 +495,11 @@
      *  but you may need to call it if you create an effect subclass.

      *
      *  @see mx.events.EffectEvent
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function finishEffect():void;

@@ -393,6 +508,11 @@
      *
      *
You do not have to override this method in a subclass.
      *  You do not need to call this method when using effects.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function finishRepeat():void;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6003
Author:   egeorgie@adobe.com
Date:     2009-04-07T22:44:37.670097Z

Log Message:
-----------
Fix bug http://bugs.adobe.com/jira/browse/SDK-19154 layoutBounds for group that has a path with a larger stroke weight is incorrect

Fix: Modify BasicLayout to use the new ILayoutElement APIs getLayoutBoundsXAtSize, getLayoutBoundsYAtSize.

QE Notes: None
Doc Notes: None
Bugs: SDK-19154
Reviewer: Ely
tests: checkintests, mustella (group, layout)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Path.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Ellipse.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/Rect.as</path>

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

--- frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
+++ frameworks/projects/spark/src/spark/core/SpriteVisualElement.as
@@ -616,6 +616,64 @@
     public function getPreferredBoundsHeight(postTransform:Boolean = true):Number
     {
         return transformHeightForLayout(width, height, postTransform);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function getBoundsXAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
+    {
+        var m:Matrix;
+        if (!postTransform)
+            m = computeMatrix();
+        if (!m)
+            return x;
+
+        var newSize:Point = MatrixUtil.fitBounds(width, height, m,
+                                                 this.width,
+                                                 this.height,
+                                                 this.width, this.height,
+                                                 this.width, this.height);
+        if (!newSize)
+            newSize = new Point(this.width, this.height);
+
+        var topLeft:Point = new Point(0, 0);
+        MatrixUtil.transformBounds(newSize, m, topLeft);
+        return topLeft.x;
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function getBoundsYAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
+    {
+        var m:Matrix;
+        if (!postTransform)
+            m = computeMatrix();
+        if (!m)
+            return y;
+
+        var newSize:Point = MatrixUtil.fitBounds(width, height, m,
+                                                 this.width,
+                                                 this.height,
+                                                 this.width, this.height,
+                                                 this.width, this.height);
+        if (!newSize)
+            newSize = new Point(this.width, this.height);
+
+        var topLeft:Point = new Point(0, 0);
+        MatrixUtil.transformBounds(newSize, m, topLeft);
+        return topLeft.y;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 20081
Author:   klin@adobe.com
Date:     2011-02-02T23:57:32.039340Z

Log Message:
-----------
Fix RTE in ConstraintLayout when setting a row's height to NaN by making sure a vector has the right size. Also, override virtualLayoutSupported to return false.

QE notes: No
Doc notes: No
Bugs: SDK-29375
Reviewer: Evtim
Tests run: cyclone server
Is noteworthy for integration: No

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as

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

--- frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as
+++ frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as
@@ -572,6 +572,14 @@

     /**
      *  @private
+     */
+    override mx_internal function get virtualLayoutSupported():Boolean
+    {
+        return false
+    }
+
+    /**
+     *  @private
      *  Used to set new column widths before laying out the elements.
      *  Used by FormItemLayout to set column widths provided by the
      *  Form.
@@ -1401,9 +1409,10 @@
         var row:ConstraintRow;
         var hasContentSize:Boolean = false;
         var hasPercentSize:Boolean = false;
-        var rowHeights:Vector.<Number> = new Vector.<Number>();
-
-        // Reset content size rows to 0.
+        var rowHeights:Vector.<Number> = new Vector.<Number>(numRows);
+
+        // Start row heights at the minHeight of each row or
+        // its explicit height.
         for (i = 0; i < numRows; i++)
         {
             row = _constraintRows[i];
@@ -1420,7 +1429,7 @@
             }
             else if (!isNaN(row.explicitHeight))
             {
-                var h:Number = row.height;
+                var h:Number = row.explicitHeight;

                 if (!isNaN(row.minHeight))
                     h = Math.max(h, row.minHeight);


Transferred from the Adobe Open Source Subversion Repository

Revision: 20687
Author:   smgilson@adobe.com
Date:     2011-03-08T20:09:56.755277Z

Log Message:
-----------
ASDoc updates

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ArrayCollection.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Label.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/containers/ViewStack.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpMenuButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/advancedgrids/src/mx/collections/HierarchicalCollectionView.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBase.as</path>

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

--- frameworks/projects/framework/src/mx/collections/ArrayList.as
+++ frameworks/projects/framework/src/mx/collections/ArrayList.as
@@ -565,6 +565,9 @@
     /**
      *  Return an Array that is populated in the same order as the IList
      *  implementation.
+     *
+     *  @return An Array populated in the same order as the IList
+     *  implementation.
      *
      *  @throws ItemPendingError if the data is not yet completely loaded
      *  from a remote location
@@ -599,6 +602,8 @@

     /**
      *  Pretty prints the contents of this ArrayList to a string and returns it.
+     *
+     *  @return A String containing the contents of the ArrayList.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -692,9 +697,11 @@
     }

     /**
-     *  Called whenever any of the contained items in the list fire an
+     *  Called when any of the contained items in the list dispatch an
      *  ObjectChange event.
-     *  Wraps it in a CollectionEventKind.UPDATE.
+     *  Wraps it in a CollectionEventKind.UPDATE object.
+     *
+     *  @param event The event object for the ObjectChange event.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -715,9 +722,11 @@
     }

     /**
-     *  If the item is an IEventDispatcher watch it for updates.
-     *  This is called by addItemAt and when the source is initially
-     *  assigned.
+     *  If the item is an IEventDispatcher, watch it for updates.
+     *  This method is called by the addItemAt() method,
+     *  and when the source is initially assigned.
+     *
+     *  @param item The item passed to the addItemAt() method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -735,9 +744,12 @@
     }

     /**
-     *  If the item is an IEventDispatcher stop watching it for updates.
-     *  This is called by removeItemAt, removeAll, and before a new
+     *  If the item is an IEventDispatcher, stop watching it for updates.
+     *  This method is called by the removeItemAt() and
+     *  removeAll() methods, and before a new
      *  source is assigned.
+     *
+     *  @param item The item passed to the removeItemAt() method.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

Revision: 17715
Author:   klin@adobe.com
Date:     2010-09-15T18:31:52.215720Z

Log Message:
-----------
Add Bindable metadata for the length property of ArrayList. Remove errorColor style exclude metadata from SkinnableComponent.

QE notes: No
Doc notes: No
Bugs: SDK-25890, SDK-27633
Reviewer: Corey
Tests run: checkintests, cyclone server
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ArrayList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/framework/src/mx/collections/ArrayList.as
+++ frameworks/projects/framework/src/mx/collections/ArrayList.as
@@ -141,7 +141,9 @@
     //----------------------------------
     // length
     //----------------------------------
-
+
+    [Bindable("collectionChange")]
+
     /**
      *  Get the number of items in the list.  An ArrayList should always
      *  know its length so it shouldn't return -1, though a subclass may


Transferred from the Adobe Open Source Subversion Repository

Revision: 20013
Author:   harishs@adobe.com
Date:     2011-01-31T15:32:09.255609Z

Log Message:
-----------
QE notes: Globalization changes. Full cyclone run has been done. Default locale changes and sort bug fixes since Dec 14 2010
Doc notes: ASDOC comments for all classes have been updated.
Bugs: SDK-29132 SDK-29127 SDK-28163  SDK-29075 SDK-28600 SDK-28492 SDK-28856

Reviewer: Gordon Smith, Xie Fang, Zhigang Qi
Tests run: cyclone and checkintests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/AdvancedStyleClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/NumberValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationValidatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/CollatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/NumberFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/ISortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/CurrencyFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/NumberValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/DateTimeFormatter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/supportClasses/GlobalizationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/validators/supportClasses/GlobalizationUtils.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/SortingCollator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/StringTools.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/LastOperationStatus.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/Sort.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/formatters/supportClasses/NumberFormatterBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/globalization/MatchingCollator.as</path>

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

--- frameworks/projects/framework/src/mx/collections/SortField.as
+++ frameworks/projects/framework/src/mx/collections/SortField.as
@@ -26,6 +26,9 @@
 /**
  *  Provides the sorting information required to establish a sort on a field
  *  or property in a collection view.
+ *
+ *  The SortField class is meant to be used with the Sort class.
+ *
  *  Typically the sort is defined for collections of complex items, that is
  *  items in which the sort is performed on properties of those objects.
  *  As in the following example:


Transferred from the Adobe Open Source Subversion Repository

Revision: 5384
Author:   clucier@adobe.com
Date:     2009-03-18T14:54:24.654938Z

Log Message:
-----------
SDK-19990 – DropDownList was eating ENTER, preventing default button from firing, should only do so when drop down is open.
SDK-19988 – Editable data grid should disable default button since ENTER has a control specific meaning in edit mode.
SDK-19985 – Editable data grid was disabling default button globally but forgetting to restore it on focus out.

Also made a usability change after talking with Joanne (bless her little heart), when a control disables default button behavior (such as TextArea does , because ENTER means to insert a new line), we now make sure to de-emphasize the default button visually, to hint to the user that it’s not active.  Historically it was always emphasized but ENTER just never activated it.

QE Notes: Be aware that when a control disables defaultButton globally (FxTextArea does this), default button is no longer emphasized.
Doc Notes: None
Reviewer: Chet

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DropDownList.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/managers/FocusManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/FocusManager.as
+++ frameworks/projects/framework/src/mx/managers/FocusManager.as
@@ -442,6 +442,12 @@
     public function set defaultButtonEnabled(value:Boolean):void
     {
         _defaultButtonEnabled = value;
+
+        // Synchronize with the new value. We ensure that our
+        // default button is de-emphasized if defaultButtonEnabled
+        // is false.
+        if (defButton)
+            defButton.emphasized = value;
     }

     //----------------------------------
@@ -625,7 +631,7 @@
                 if (target is IButton && target != _defaultButton
                     && !(target is IToggleButton))
                     _defaultButton.emphasized = false;
-                else
+                else if (_defaultButtonEnabled)
                     _defaultButton.emphasized = true;
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19804
Author:   smgilson@adobe.com
Date:     2011-01-19T18:44:24.377971Z

Log Message:
-----------
ASDoc edits for soft keyboard support

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

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

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

--- frameworks/projects/spark/src/spark/components/Application.as
+++ frameworks/projects/spark/src/spark/components/Application.as
@@ -175,6 +175,7 @@
  *

  *  <s:Application
  *    Properties
+ *    applicationDPI=Device dependent"
  *    backgroundColor="0xFFFFFF"
  *    colorCorrection="default"
  *    controlBarContent="null"
@@ -184,8 +185,13 @@
  *    pageTitle""
  *    preloader="No default"
  *    preloaderChromeColor="No default"
+ *    resizeForSoftKeyboard=true"
+ *    runtimeDPIProvider="RuntimeDPIProvider"
  *    scriptRecursionLimit="1000"
  *    scriptTimeLimit="60"
+ *    splashScreenImage=""
+ *    splashScreenMinimumDisplayTime="1000"
+ *    splashScreenScaleMode="none"
  *    usePreloader="true"
  *    viewSourceURL=""
  *    xmlns:No default="No default"
@@ -696,15 +702,24 @@

     /**
      *  The image class for the SplashScreen preloader.
-     *
-     *  Typically developers set to an embedded resource, i.e. splashScreenImage="@Embed('Default.png')".
-     *
-     *
Note: The property has effect only when the preloader is set to spark.preloaders.SplashScreen.
-     *  The spark.preloaders.SplashScreen class is the default preloader for Mobile Flex applications.
+     *  Typically you set this property to an embedded resource.
+     *  For example:
+     *
+     *
splashScreenImage="@Embed('Default.png')"

+     *
+     *
Note: The property has effect only when the preloader
+     *  property is set to spark.preloaders.SplashScreen.
+     *  The spark.preloaders.SplashScreen class is the default preloader for Mobile Flex applications.
      *  This property cannot be set by ActionScript code; it must be set in MXML code.

      *
-     *  @see splashScreenScaleMode
-     *  @see splashScreenMinimumDisplayTime
+     *  @see spark.preloaders.SplashScreen
+     *  @see #splashScreenScaleMode
+     *  @see #splashScreenMinimumDisplayTime
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get splashScreenImage():Class
     {
@@ -727,31 +742,43 @@
     [Inspectable(category="General", enumeration="none,letterbox,stretch,zoom", defaultValue="none")]

     /**
-     *  The splash screen image scale mode.
-     *
-     *
A value of "none" implies that the image size is set to match its intrinsic size.
-     *
-     *  A value of "stretch" sets the width and the height of the image to the
-     *  stage width and height, possibly changing the content aspect ratio.
-     *
-     *  A value of "letterbox" sets the width and height of the image as close to the stage width and height
-     *  as possible while maintaining aspect ratio.  The image is stretched to a maximum of the stage bounds,
-     *  with spacing added inside the stage to maintain the aspect ratio if necessary.
-     *
-     *  A value of "zoom" is similar to "letterbox", except that "zoom" stretches the
-     *  image past the bounds of the stage, to remove the spacing required to maintain aspect ratio.
-     *  This has the effect of using the entire bounds of the stage, but also possibly cropping some of the image.
-     *
-     *  Note: The portion of the stage that is not covered by the image will show in the Application's backgroundColor.

-     *
-     *
Note: The property has effect only when the splashScreenImage property is set
-     *  and the preloader is spark.preloaders.SplashScreen.
-     *  The spark.preloaders.SplashScreen class is the default preloader for Mobile Flex applications.
+     *  The splash screen image scale mode:
+     *
+     *

+     *
A value of none implies that the image size is set
+     *      to match its intrinsic size.

+     *
+     *
A value of stretch sets the width and the height of the image to the
+     *      stage width and height, possibly changing the content aspect ratio.

+     *
+     *
A value of letterbox sets the width and height of the image
+     *      as close to the stage width and height as possible while maintaining aspect ratio.
+     *      The image is stretched to a maximum of the stage bounds,
+     *      with spacing added inside the stage to maintain the aspect ratio if necessary.

+     *
+     *
A value of zoom is similar to letterbox, except
+     *      that zoom stretches the image past the bounds of the stage,
+     *      to remove the spacing required to maintain aspect ratio.
+     *      This setting has the effect of using the entire bounds of the stage, but also
+     *      possibly cropping some of the image.

+     *

+     *
+     *
The portion of the stage that is not covered by the image shows
+     *  in the Application container's backgroundColor.

+     *
+     *
Note: The property has effect only when the splashScreenImage property
+     *  is set and the preloader property is set to spark.preloaders.SplashScreen.
+     *  The spark.preloaders.SplashScreen class is the default preloader for Mobile Flex applications.
      *  This property cannot be set by ActionScript code; it must be set in MXML code.

      *
      *  @default "none"
-     *  @see splashScreenImage
-     *  @see splashScreenMinimumDisplayTime
+     *  @see #splashScreenImage
+     *  @see #splashScreenMinimumDisplayTime
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public var splashScreenScaleMode:String;

@@ -763,15 +790,22 @@

     /**
      *  Minimum amount of time, in milliseconds, to show the splash screen image.
-     *
-     *
Note: The property has effect only when the splashScreenImage property is set
-     *  and the preloader is spark.preloaders.SplashScreen.
-     *  The spark.preloaders.SplashScreen class is the default preloader for Mobile Flex applications.
+     *  Specify the splash screen image by using the splashScreenImage property.
+     *
+     *
Note: The property has effect only when the splashScreenImage property
+     *  is set and the preloader property is set to spark.preloaders.SplashScreen.
+     *  The spark.preloaders.SplashScreen class is the default preloader for Mobile Flex applications.
      *  This property cannot be set by ActionScript code; it must be set in MXML code.

      *
      *  @default 1000
-     *  @see splashScreenImage
-     *  @see splashScreenScaleMode
+     *
+     *  @see #splashScreenImage
+     *  @see #splashScreenScaleMode
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public var splashScreenMinimumDisplayTime:Number;

@@ -800,6 +834,10 @@
      *
      *  @see #runtimeDPI
      *  @see mx.core.DPIClassification
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get applicationDPI():Number
     {
@@ -833,6 +871,10 @@
      *
      *  @see #applicationDPI
      *  @see mx.core.DPIClassification
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get runtimeDPI():Number
     {
@@ -863,6 +905,10 @@
      *  @see #runtimeDPI
      *  @see mx.core.DPIClassification
      *  @see mx.core.RuntimeDPIProvider
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get runtimeDPIProvider():Class
     {
@@ -1054,10 +1100,24 @@
     private var resizeForSoftKeyboardChanged:Boolean = true;

     /**
-     *  A value of true means the application is resized when the softKeyboard is actiaved or
-     *  deactivated.
+     *  Some devices do not support a hardware keyboard.
+     *  Instead, these devices use a keyboard that opens on
+     *  the screen when necessary.
+     *  The screen keyboard, also called a soft or virtual keyboard,
+     *  closes after the user enters the information, or when the user cancels the operation.
+     *  A value of true means the application
+     *  is resized when the soft keyboard is open or
+     *  closed.
+     *
+     *
To enable application resizing, you must also set the
+     *  <softKeyboardBehavior> attribute in the
+     *  application's xml descriptor file to none.

      *
      *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public function get resizeForSoftKeyboard():Boolean
     {
@@ -1176,9 +1236,9 @@

         var sm:ISystemManager = systemManager;

-		// add listener if one is already attached
-		if (hasEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR))
-			systemManager.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorRedispatcher);
+        // add listener if one is already attached
+        if (hasEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR))
+            systemManager.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorRedispatcher);

         _url = LoaderUtil.normalizeURL(sm.loaderInfo);
         _parameters = sm.loaderInfo.parameters;
@@ -1715,32 +1775,32 @@
         invalidateDisplayList();
     }

-	/**
-	 * @private
-	 */
-	override public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
-	{
-		// this can get called before we know our systemManager.  Hook it up later in initialize()
-		if (type == UncaughtErrorEvent.UNCAUGHT_ERROR && systemManager)
-			systemManager.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorRedispatcher);
-		super.addEventListener(type, listener, useCapture, priority, useWeakReference)
-	}
-
-	/**
-	 * @private
-	 */
-	override public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
-	{
-		super.removeEventListener(type, listener, useCapture);
-		if (type == UncaughtErrorEvent.UNCAUGHT_ERROR && systemManager)
-			systemManager.loaderInfo.uncaughtErrorEvents.removeEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorRedispatcher);
-	}
-
-	private function uncaughtErrorRedispatcher(event:Event):void
-	{
-		if (!dispatchEvent(event))
-			event.preventDefault();
-	}
+    /**
+     * @private
+     */
+    override public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
+    {
+        // this can get called before we know our systemManager.  Hook it up later in initialize()
+        if (type == UncaughtErrorEvent.UNCAUGHT_ERROR && systemManager)
+            systemManager.loaderInfo.uncaughtErrorEvents.addEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorRedispatcher);
+        super.addEventListener(type, listener, useCapture, priority, useWeakReference)
+    }
+
+    /**
+     * @private
+     */
+    override public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
+    {
+        super.removeEventListener(type, listener, useCapture);
+        if (type == UncaughtErrorEvent.UNCAUGHT_ERROR && systemManager)
+            systemManager.loaderInfo.uncaughtErrorEvents.removeEventListener(UncaughtErrorEvent.UNCAUGHT_ERROR, uncaughtErrorRedispatcher);
+    }
+
+    private function uncaughtErrorRedispatcher(event:Event):void
+    {
+        if (!dispatchEvent(event))
+            event.preventDefault();
+    }
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7967
Author:   gosmith@adobe.com
Date:     2009-06-18T19:44:16.674676Z

Log Message:
-----------
PARB changes to TextGraphicElement/SimpleText/RichText and to text styles in general.

TextGraphicElement:

The 'truncation' property has been renamed to 'maxDisplayedLines'.

The isTruncated() method has become an 'isTruncated' read-only property.

RichText:

Since a TextFlow object is the fundamental representation for rich test in TLF, the RichText component now has a public textFlow:TextFlow property which you can get or set. To turn TLF markup -- in either String or XML form -- into a TextFlow, use the static importFromString() and importFromXML() methods in the TextFlowUtil class. These are bindable methods so that if the markup parameter changes they will re-evaluate. To turn the TextFlow back into markup, use TextFLowUtil.export(...) to produce XML.

The 'content' property is now intended only for use by the MXML compiler. It is set-only and only supports being set to what MXML markup produces: a String (which will be treated as the text of an implicit span in an implicit paragraph), a FlowElement, or an Array of Strings and FlowElements.

The 'text', 'textFlow', and 'content' properties are interacting properties. For example, you can set 'textFlow' and then get the 'text', and vice versa. In fact, you can now do this immediately, without waiting for the component to undergo a LayoutManager pass. Of these three properties, the last one set in ActionScript wins; if more than one is set in MXML the results are undefined since MXML does not guarantee the order in which properties are set. Setting any of them to null is equivalent to setting the 'text' to the empty String, which is the initial state of the component.

Styles:

The 'lineBreak' style is now non-inheriting, since in TLF it doesn't inherit from FlowElement to FlowElement.

The text styles are now divided into five buckets:

BasicInheritingTextStyles.as
BasicNonInheritingTextStyles.as
AdvancedInheritingTextStyles.as
AdvancedNonInheritingTextStyles.as
SelectionFormatTextStyles.as

Skinnable components like TextInput and TextArea no longer declare any on the noninheriting text styles, because the RichTextElement in the skin doesn't inherit them. You must set them directly on the RichTextElement in the component's skin, either with ActionScript or by reskinning.

The styleInitialized() method has been added to the IAdvancedStyleClient interface.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Carol

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultButtonSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/utils/TextFlowUtil.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/ToggleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/TitleBarSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/BasicNonInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/CheckBoxSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/NonInheritingTextLayoutFormatStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/spark/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/wireframe/src/spark/skins/wireframe/RadioButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedTextLayoutFormatStyles.as" copyfrom-rev="7910" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/styles/metadata/AdvancedInheritingTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/windowChrome/MacTitleBarSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/VideoPlayer.as
+++ frameworks/projects/spark/src/spark/components/VideoPlayer.as
@@ -157,7 +157,7 @@
 //  Styles
 //--------------------------------------

-include "../styles/metadata/BasicTextLayoutFormatStyles.as";
+include "../styles/metadata/BasicInheritingTextStyles.as";

 /**
  *  The time, in milli-seconds, to wait in fullscreen mode with no user-interaction


Transferred from the Adobe Open Source Subversion Repository

Revision: 17893
Author:   dloverin@adobe.com
Date:     2010-09-28T15:21:03.638193Z

Log Message:
-----------
FlexTask and VideoPlayer fixes.

SDK-26213
Modify the handling of FlexTask child elements to expand the ant properties before adding them to the command line.

Add a constructor for NestedAttributeElement (and subclasses) that takes a FlexTask argument. This allows NestedAttributeElement to call getProject().replaceProperties(), which is where ant expands properties in a string.

SDK-25321
A problem restoring a video from fullstream that was already a popup before going fullscreen.

The fix is to check if the video is a pop up before going fullscreen. If it is then don't remove it from its parent and add it as a pop up. Just leave it was it is and don't reparent is when coming out of fullscreen.

SDK-26331
Problem restoring a video from fullscreen that used percent widths and heights.

Fixed by adding percentWidth,percentHeight to beforeFullScreenInfo so percentWidth and percentHeight values can be restored.

QE notes: None.
Doc notes: None.
Bugs: SDK-26212, SDK-25321, SDK-26331
Reviewer: Paul, Ryan
Tests run: cyclone server
Is noteworthy for integration: No.

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/CompcTask.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/config/LoadConfigElement.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/types/Metadata.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/config/NestedAttributeElement.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/AsDocTask.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/types/Fonts.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/FlexTask.java</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/modules/antTasks/src/flex/ant/MxmlcTask.java</path>

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

--- frameworks/projects/spark/src/spark/components/VideoPlayer.as
+++ frameworks/projects/spark/src/spark/components/VideoPlayer.as
@@ -2194,25 +2194,31 @@
                 x: this.x,
                 y: this.y,
                 explicitWidth: this.explicitWidth,
-                explicitHeight: this.explicitHeight};
+                explicitHeight: this.explicitHeight,
+                percentWidth: this.percentWidth,
+                percentHeight: this.percentHeight,
+                isPopUp: this.isPopUp};

             pauseWhenHidden = false;

-            // remove from old parent
-            if (parent is IVisualElementContainer)
+            if (!isPopUp)
             {
-                var ivec:IVisualElementContainer = IVisualElementContainer(parent);
-                beforeFullScreenInfo.childIndex = ivec.getElementIndex(this);
-                ivec.removeElement(this);
+                // remove from old parent
+                if (parent is IVisualElementContainer)
+                {
+                    var ivec:IVisualElementContainer = IVisualElementContainer(parent);
+                    beforeFullScreenInfo.childIndex = ivec.getElementIndex(this);
+                    ivec.removeElement(this);
+                }
+                else
+                {
+                    beforeFullScreenInfo.childIndex = parent.getChildIndex(this);
+                    parent.removeChild(this);
+                }
+
+                // add as a popup
+                PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject, false, null, moduleFactory);
             }
-            else
-            {
-                beforeFullScreenInfo.childIndex = parent.getChildIndex(this);
-                parent.removeChild(this);
-            }
-
-            // add as a popup
-            PopUpManager.addPopUp(this, FlexGlobals.topLevelApplication as DisplayObject);

             // Resize the component to be the full screen of the stage.
             // Push the component at (0,0).  It should be on top of everything
@@ -2220,7 +2226,8 @@
             setLayoutBoundsSize(screenBounds.width, screenBounds.height, true);
             // set the explicit width/height to make sure this value sticks regardless
             // of any other code or layout passes.  Calling setLayoutBoundsSize() before hand
-            // allows us to use postLayout width/height
+            // allows us to use postLayout width/height.
+            // Setting explictWidth/Height sets percentWidth/Height to NaN.
             this.explicitWidth = width;
             this.explicitHeight = height;
             setLayoutBoundsPosition(0, 0, true);
@@ -2353,6 +2360,8 @@
         this.y = beforeFullScreenInfo.y;
         this.explicitWidth = beforeFullScreenInfo.explicitWidth;
         this.explicitHeight = beforeFullScreenInfo.explicitHeight;
+        this.percentWidth = beforeFullScreenInfo.percentWidth;
+        this.percentHeight = beforeFullScreenInfo.percentHeight;

         // sometimes there's no video object currently or there might not've been a
         // video object when we went in to fullScreen mode.  There may be no videoObject
@@ -2363,15 +2372,18 @@
             videoDisplay.videoObject.deblocking = beforeFullScreenInfo.deblocking;
         }

-        // remove from top level application:
-        PopUpManager.removePopUp(this);
-
-        // add back to original parent
-        if (beforeFullScreenInfo.parent is IVisualElementContainer)
-            beforeFullScreenInfo.parent.addElementAt(this, beforeFullScreenInfo.childIndex);
-        else
-            beforeFullScreenInfo.parent.addChildAt(this, beforeFullScreenInfo.childIndex);
-
+        if (!beforeFullScreenInfo.isPopUp)
+        {
+            // remove from top level application:
+            PopUpManager.removePopUp(this);
+
+            // add back to original parent
+            if (beforeFullScreenInfo.parent is IVisualElementContainer)
+                beforeFullScreenInfo.parent.addElementAt(this, beforeFullScreenInfo.childIndex);
+            else
+                beforeFullScreenInfo.parent.addChildAt(this, beforeFullScreenInfo.childIndex);
+        }
+
         // want to update pauseWhenHidden, but can't do it here
         // b/c the AIR window thinks it's invisible at this point
         // if we're on a Mac (a bug), so let's just defer this check


Transferred from the Adobe Open Source Subversion Repository

Revision: 12412
Author:   rfrishbe@adobe.com
Date:     2009-12-03T06:21:19.123508Z

Log Message:
-----------
VideoPlayer/VideoDisplay bug fixes:

- Add the CSS style, dropShadowVisible, to VIdeoPlayer
- remove trace statement in VIdeoDisplay constructor that was accidentally added
- I removed the timeDivider's id in the VideoPlayerSkin because it wasn't a skin part, but it's needed in an exclusion list for VideoPlayerSkin
- Need to update the currentTime on mediaPlayerStateChange because when we set the source to null, we get a state change event, but not currentTimeChange event.

QE notes: -
Doc notes: -
Bugs: SDK-24519, SDK-24515, SDK-24501
Reviewer: Kevin
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/defaults.css</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/VideoPlayerSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/VideoPlayer.as
+++ frameworks/projects/spark/src/spark/components/VideoPlayer.as
@@ -103,6 +103,18 @@
 //--------------------------------------

 include "../styles/metadata/BasicInheritingTextStyles.as";
+
+/**
+ *  Controls the visibility of the drop shadow for this component.
+ *
+ *  @default true
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+[Style(name="dropShadowVisible", type="Boolean", inherit="no", theme="spark")]

 /**
  *  The time, in milli-seconds, to wait in fullscreen mode with no user-interaction
@@ -1888,6 +1900,9 @@
         if (durationDisplay)
             updateDuration();

+        if (currentTimeDisplay)
+            updateCurrentTime();
+
         if (playPauseButton)
             playPauseButton.selected = playing;


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

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

 package spark.primitives.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package
 {