Transferred from the Adobe Open Source Subversion Repository

Revision: 3691
Author:   chaase@adobe.com
Date:     2008-10-16T19:19:46.736687Z

Log Message:
-----------
Fixed sdk-16853, sdk-17341, sdk-16855, sdk-16681, sdk-16668, sdk-16851, sdk-16480. The main change is that the new Wait effect has gone away and its functionality (optionally waiting for an event) is instead merged into the old Pause effect. Some enhancements were added to Pause along the way. Also fixed other random effects issues, such as waiting to raise the effectStart event until after startDelay elapses (like the old Flex3 effect behavior).

reviewed by Jason and Evtim
tests: checkintests, Mustella tests/Effects, tests/ListDataEffects, tests/gumbo/effects (minus Wait and CallAction tests, which need to be updated)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PauseInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Pause.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/WaitInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Wait.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -276,10 +276,6 @@
      */
     override public function play():void
     {
-        // Do what effects normally do when they start, namely
-        // dispatch an 'effectStart' event from the target.
-        super.play();
-
         if (!propertyValuesList || propertyValuesList.length == 0)
         {
             // nothing to do; at least schedule the effect to end after
@@ -428,6 +424,18 @@
      */
     protected function startHandler(event:AnimationEvent):void
     {
+        // TODO (chaase): Consider putting AnimateInstance (and subclass's)
+        // play() functionality (the setup and playing of the Animation object)
+        // into startEffect(), calling play() from here, and not overriding
+        // play() at all.
+
+        // Call EffectInstace.play() here instead of from our play() function
+        // because we actually start playing immediately, and leave it to the
+        // Animation to pause on startDelay. By waiting until the animation
+        // starts to call play(), we delay the EffectInstance sending out the
+        // EFFECT_START events until any start delays are over
+        super.play();
+
         if (autoRemoveTarget)
             addDisappearingTarget();
         dispatchEvent(event);


Change 20080624-ptw-a by ptw@dueling-banjos.local on 2008-06-24 08:20:50 EDT
    in /Users/ptw/OpenLaszlo/ringding-clean
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Revert brain-oh's in text measurement

Bugs Fixed:
LPP-6451 'SWF and DHTML: Text entered into the weather app and edittext component is not vertically centered (too high).'

Technical Reviewer: a.bargull@intensis.de (pending), hminsky (IM 2008-06-24T15:32Z)
QA Reviewer: Helgeson.Jeremy@gmail.com (pending)

Details:
    Revert my brain-oh where I did not understant the relationship
    between _height and textHeight in swf and got them backwards.  Add
    more @devnotes so I don't do that again...

Tests:
    Weather and edittext examples look right now

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@9939 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
+++ WEB-INF/lps/lfc/kernel/swf/LzTextSprite.as
@@ -249,21 +249,28 @@

 /**
-  * Calculates the current height of the text held by the text field.
-  */
+ * Calculates the current height of the text held by the text field.
+ *
+ * @devnote NOTE: [2008-06-24 ptw] this is _not_ the clip textHeight, which
+ * "when autoSize is true is always 4 pixels less than _height" (which
+ * is why we have to add 4 pixels for emulate_flash_font_metrics
+ * in the DHTML version of this method).
+ */
 LzTextSprite.prototype.getTextfieldHeight = function ( ){
     return this.__LZtextclip._height;
 }

 /**
  * This is the height of a single line of text in the current format
- * NOTE: this is not the clip textHeight, which "when autoSize is true
- * is always 4 pixels less than _height" (which might explain the need
- * for emulate_flash_font_metrics in DHTML?).
+ *
+ * @devnote NOTE: [2008-06-24 ptw] tip 'o the pin to
+ * a.bargull@intensis.de for finding this illustration, which shows
+ * the relationship of textHeight and textfieldHeight:
+ * http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/images/text-metrics.jpg
  */
 LzTextSprite.prototype.getTextHeight = function ( ){
     if (! this.multiline) {
-        return this.__LZtextclip._height;
+        return this.__LZtextclip.textHeight;
     } else {
         var textclip = this.__LZtextclip;

@@ -277,7 +284,7 @@
         // Make sure the test text does not wrap!
         textclip._width = 500;
         textclip.htmlText = "__ypgSAMPLE__";
-        var h = textclip._height;
+        var h = textclip.textHeight;

         textclip.autoSize = tca;
         textclip.htmlText = tct;


Change 20081110-ptw-4 by ptw@dueling-banjos.home on 2008-11-10 11:26:06 EST
    in /Users/ptw/OpenLaszlo/trunk-2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Re-repair queued play actions

Bugs Fixed:
LPP-7295  http://localhost:8080/trunk-clean/examples/music/music.lzx hangs Flash player
LPP-5338 LzView play attribute doesn't work as advertised. (swf8)

Technical Reviewer: max (pending)
QA Reviewer: a.bargull@intensis.de (Message-ID: <49187283.4000900@udo.edu>)

Details:
    Change test for no resource to be a) null mcRef, or b) mcRef is
    for clip named 'empty'

Tests:
    music.lzx no longer hangs player (in swf8, swf9), lpp-5338 test
    case still works (swf8)

git-svn-id: d62bde4b5aa582fdf07c8d403e53e0399a7ed285@11719 fa20e4f9-1d0a-0410-b5f3-dc9c16b8b17c

--- WEB-INF/lps/lfc/kernel/swf/LzSprite.as
+++ WEB-INF/lps/lfc/kernel/swf/LzSprite.as
@@ -1367,11 +1367,13 @@
   * Otherwise f is relative to the beginning of the resource.
   */
 LzSprite.prototype.play = function (f, rel){
-    // NOTE: [2008-10-29 ptw] We want to know if we have
-    // already have a clip assigned or not and queue this action if
-    // not, hence we check __LZhaser
+    // NOTE: [2008-10-29 ptw] We need to queue if a) we are loading a
+    // source (getMCRef will be null), or b) we don't (yet) have our
+    // resource assigned (resource will be "empty").  IWBNI getMCRef
+    // returned null in the latter case, but I couldn't tell if that
+    // would break it's contract with the rest of the world...
     var m = this.getMCRef();
-    if ( this.__LZhaser ) {
+    if ( m == null || this.resource == "empty" ) {
         this.queuePlayAction( "play" , f , rel );
         return;
     }
@@ -1395,11 +1397,13 @@
   * Otherwise it is relative to the start position of the resource.
   */
 LzSprite.prototype.stop = function (f, rel){
-    // NOTE: [2008-10-29 ptw] We want to know if we have
-    // already have a clip assigned or not and queue this action if
-    // not, hence we check __LZhaser
+    // NOTE: [2008-10-29 ptw] We need to queue if a) we are loading a
+    // source (getMCRef will be null), or b) we don't (yet) have our
+    // resource assigned (resource will be "empty").  IWBNI getMCRef
+    // returned null in the latter case, but I couldn't tell if that
+    // would break it's contract with the rest of the world...
     var m = this.getMCRef();
-    if ( this.__LZhaser ) {
+    if ( m == null || this.resource == "empty" ) {
         // always stop on the first frame
         this.queuePlayAction( "stop" , 0);
         return;


refresh button no longer causes everything to be requested at once.

--- WeaveAdmin/src/weave/services/EntityCache.as
+++ WeaveAdmin/src/weave/services/EntityCache.as
@@ -23,6 +23,7 @@
 		private var delete_later:Object = {}; // id -> Boolean
 		private var _dataTableIds:Array = []; // array of EntityTableInfo
 		private var _dataTableLookup:Object = {}; // id -> EntityTableInfo
+		private var pending_invalidate:Object = {}; // id -> Boolean; used to remember which ids to invalidate the next time the entity is requested

         public function EntityCache()
         {
@@ -37,6 +38,7 @@
 			if (!cache_dirty[id])
 				callbacks.triggerCallbacks();

+			pending_invalidate[id] = false;
 			cache_dirty[id] = true;

 			if (!cache_entity[id])
@@ -69,7 +71,7 @@
 		public function getEntity(id:int):Entity
 		{
 			// if there is no cached value, call invalidate() to create a placeholder.
-			if (!cache_entity[id])
+			if (!cache_entity[id] || pending_invalidate[id])
 				invalidate(id);

             return cache_entity[id];
@@ -98,6 +100,7 @@
 			var ids:Array = [];
 			for (id in cache_dirty)
 			{
+				// when requesting root, also request data table list
 				if (id == ROOT_ID)
 					addAsyncResponder(Admin.service.getDataTableList(), handleDataTableList);
 				ids.push(int(id));
@@ -160,13 +163,11 @@

 		public function clearCache():void
         {
-			//TODO: clearCache() still causes full data table metadata to be requested
-
 			callbacks.delayCallbacks();

 			// we don't want to delete the cache because we can still use the cached values for display in the meantime.
 			for (var id:* in cache_entity)
-				invalidate(id);
+				pending_invalidate[id] = true;

 			callbacks.triggerCallbacks();


Ogg 再生時のエラー追加

Ogg 再生時のエラー追加

--- project/SoundConductor/src/jp/hiiragi/managers/soundConductor/error/SoundConductorErrorType.as
+++ project/SoundConductor/src/jp/hiiragi/managers/soundConductor/error/SoundConductorErrorType.as
@@ -91,6 +91,9 @@
 		/** 指定されたサウンドは複数再生不可であり、割り込み不可の設定になっているため、再生できません。 */
 		public static const ERROR_10204:SoundConductorErrorType = create(10204, "指定されたサウンドは複数再生不可であり、割り込み不可の設定になっているため、再生できません。");

+		/** Ogg Vorbis は SoundPlayType.NORMAL_SOUND_ARCHITECT では再生できません。 */
+		public static const ERROR_10205:SoundConductorErrorType = create(10205, "Ogg Vorbis は SoundPlayType.NORMAL_SOUND_ARCHITECT では再生できません。");
+
 //--------------------------------------------------------------------------
 //
 //  Class variables


handle more than just models

handle more than just models

--- frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
+++ frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
@@ -97,14 +97,14 @@
                     binding = bindings[i];
                 if (binding.source is Array)
                 {
-                    if (binding.source[0] == "model")
+                    if (binding.source[0] in _strand)
                     {
                         if (binding.source.length == 2 && binding.destination.length == 2)
                         {
                             var destObject:Object;
                             var destination:IStrand;
                             // can be simplebinding or constantbinding
-                            var modelWatcher:Object = watchers.watcherMap["model"];
+                            var modelWatcher:Object = watchers.watcherMap[binding.source[0]];
                             fieldWatcher = modelWatcher.children.watcherMap[binding.source[1]];
                             if (fieldWatcher.eventNames is String)
                             {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17256
Author:   jasonsj@adobe.com
Date:     2010-08-10T19:09:27.484560Z

Log Message:
-----------
API rename: actionGroupLayout, titleGroupLayout and navigationGroupLayout to actionLayout, titleLayout and navigationLayout per ActionBar P-ARB.

QE notes: Update tests that use custom ActionBar layouts.
Doc notes:
Bugs:
Reviewer: chiedozi
Tests run: checkintests
Is noteworthy for integration: Yes

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
@@ -294,7 +294,7 @@
         }

         //----------------------------------
-        //  actionGroupLayout
+        //  actionLayout
         //----------------------------------

         /**
@@ -307,26 +307,26 @@
          *  @playerversion AIR 2.5
          *  @productversion Flex 4.5
          */
-        public function get actionGroupLayout():LayoutBase
-        {
-            if (navigator)
-                return navigator.actionGroupLayout;
-            else
-                return navigatorProperties.actionGroupLayout;
-        }
-        /**
-         *  @private
-         */
-        public function set actionGroupLayout(value:LayoutBase):void
-        {
-            if (navigator)
-            {
-                navigator.actionGroupLayout = value;
+        public function get actionLayout():LayoutBase
+        {
+            if (navigator)
+                return navigator.actionLayout;
+            else
+                return navigatorProperties.actionLayout;
+        }
+        /**
+         *  @private
+         */
+        public function set actionLayout(value:LayoutBase):void
+        {
+            if (navigator)
+            {
+                navigator.actionLayout = value;
                 navigatorProperties = BitFlagUtil.update(navigatorProperties as uint,
                                             ACTION_LAYOUT_PROPERTY_FLAG, value != null);
             }
             else
-                navigatorProperties.actionGroupLayout = value;
+                navigatorProperties.actionLayout = value;
         }

         //----------------------------------
@@ -369,7 +369,7 @@
         }

         //----------------------------------
-        //  navigationGroupLayout
+        //  navigationLayout
         //----------------------------------

         /**
@@ -383,26 +383,26 @@
          *  @productversion Flex 4.5
          */

-        public function get navigationGroupLayout():LayoutBase
-        {
-            if (navigator)
-                return navigator.navigationGroupLayout;
-            else
-                return navigatorProperties.navigationGroupLayout;
-        }
-        /**
-         *  @private
-         */
-        public function set navigationGroupLayout(value:LayoutBase):void
-        {
-            if (navigator)
-            {
-                navigator.navigationGroupLayout = value;
+        public function get navigationLayout():LayoutBase
+        {
+            if (navigator)
+                return navigator.navigationLayout;
+            else
+                return navigatorProperties.navigationLayout;
+        }
+        /**
+         *  @private
+         */
+        public function set navigationLayout(value:LayoutBase):void
+        {
+            if (navigator)
+            {
+                navigator.navigationLayout = value;
                 navigatorProperties = BitFlagUtil.update(navigatorProperties as uint,
                     NAVIGATION_LAYOUT_PROPERTY_FLAG, value != null);
             }
             else
-                navigatorProperties.navigationGroupLayout = value;
+                navigatorProperties.navigationLayout = value;
         }

         //----------------------------------
@@ -475,7 +475,7 @@
         }

         //----------------------------------
-        //  titleGroupLayout
+        //  titleLayout
         //----------------------------------

         /**
@@ -488,26 +488,26 @@
          *  @playerversion AIR 2.5
          *  @productversion Flex 4.5
          */
-        public function get titleGroupLayout():LayoutBase
-        {
-            if (navigator)
-                return navigator.titleGroupLayout;
-            else
-                return navigatorProperties.titleGroupLayout;
-        }
-        /**
-         *  @private
-         */
-        public function set titleGroupLayout(value:LayoutBase):void
-        {
-            if (navigator)
-            {
-                navigator.titleGroupLayout = value;
+        public function get titleLayout():LayoutBase
+        {
+            if (navigator)
+                return navigator.titleLayout;
+            else
+                return navigatorProperties.titleLayout;
+        }
+        /**
+         *  @private
+         */
+        public function set titleLayout(value:LayoutBase):void
+        {
+            if (navigator)
+            {
+                navigator.titleLayout = value;
                 navigatorProperties = BitFlagUtil.update(navigatorProperties as uint,
                     NAVIGATION_LAYOUT_PROPERTY_FLAG, value != null);
             }
             else
-                navigatorProperties.titleGroupLayout = value;
+                navigatorProperties.titleLayout = value;
         }

         //--------------------------------------------------------------------------
@@ -709,9 +709,9 @@
                                                     ACTION_CONTENT_PROPERTY_FLAG, true);
                 }

-                if (navigatorProperties.actionGroupLayout != undefined)
-                {
-                    navigator.actionGroupLayout = navigatorProperties.actionGroupLayout;
+                if (navigatorProperties.actionLayout != undefined)
+                {
+                    navigator.actionLayout = navigatorProperties.actionLayout;
                     newNavigatorProperties = BitFlagUtil.update(newNavigatorProperties,
                         ACTION_LAYOUT_PROPERTY_FLAG, true);
                 }
@@ -724,9 +724,9 @@
                         NAVIGATION_CONTENT_PROPERTY_FLAG, true);
                 }

-                if (navigatorProperties.navigationGroupLayout != undefined)
-                {
-                    navigator.navigationGroupLayout = navigatorProperties.navigationGroupLayout;
+                if (navigatorProperties.navigationLayout != undefined)
+                {
+                    navigator.navigationLayout = navigatorProperties.navigationLayout;
                     newNavigatorProperties = BitFlagUtil.update(newNavigatorProperties,
                         NAVIGATION_LAYOUT_PROPERTY_FLAG, true);
                 }
@@ -745,9 +745,9 @@
                         TITLE_CONTENT_PROPERTY_FLAG, true);
                 }

-                if (navigatorProperties.titleGroupLayout != undefined)
-                {
-                    navigator.titleGroupLayout = navigatorProperties.titleGroupLayout;
+                if (navigatorProperties.titleLayout != undefined)
+                {
+                    navigator.titleLayout = navigatorProperties.titleLayout;
                     newNavigatorProperties = BitFlagUtil.update(newNavigatorProperties,
                         TITLE_LAYOUT_PROPERTY_FLAG, true);
                 }
@@ -775,13 +775,13 @@
                     newNavigatorProperties.actionContent = navigator.actionContent;

                 if (BitFlagUtil.isSet(navigatorProperties as uint, ACTION_LAYOUT_PROPERTY_FLAG))
-                    newNavigatorProperties.actionGroupLayout = navigator.actionGroupLayout;
+                    newNavigatorProperties.actionLayout = navigator.actionLayout;

                 if (BitFlagUtil.isSet(navigatorProperties as uint, NAVIGATION_CONTENT_PROPERTY_FLAG))
                     newNavigatorProperties.navigationContent = navigator.navigationContent;

                 if (BitFlagUtil.isSet(navigatorProperties as uint, NAVIGATION_LAYOUT_PROPERTY_FLAG))
-                    newNavigatorProperties.navigationGroupLayout = navigator.navigationGroupLayout;
+                    newNavigatorProperties.navigationLayout = navigator.navigationLayout;

                 if (BitFlagUtil.isSet(navigatorProperties as uint, TITLE_PROPERTY_FLAG))
                     newNavigatorProperties.title = navigator.title;
@@ -790,7 +790,7 @@
                     newNavigatorProperties.titleContent = navigator.titleContent;

                 if (BitFlagUtil.isSet(navigatorProperties as uint, TITLE_LAYOUT_PROPERTY_FLAG))
-                    newNavigatorProperties.titleGroupLayout = navigator.titleGroupLayout;
+                    newNavigatorProperties.titleLayout = navigator.titleLayout;

                 navigatorProperties = newNavigatorProperties;
             }


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 19467
Author:   cframpto@adobe.com
Date:     2010-12-17T21:27:38.093578Z

Log Message:
-----------
Fix DG tooltips for rtl layoutDirection and centralize the toolTipShowHandler() for the DG item renderers.  Fix optimization in scrollPositionChanged so it works as intended.
Added for tooling - if UIComponentGlobals.designMode, initialize exceptions will be caught and an intializeError event dispatched.

QE notes:
Doc notes:
Bugs: SDK-28743, SDK-28894
Reviewer: Ryan (SDK-28743), Hans (SDK-28894)
Tests run: cyclone
Is noteworthy for integration: yes: if UIComponentGlobals.designMode, initialize exceptions will be caught and an intializeError event dispatched

Modified Paths:
--------------
<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/skins/spark/UITextFieldGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridColumnHeaderGroupLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultGridItemRenderer.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridItemRenderer.as
@@ -16,11 +16,15 @@
 import flash.geom.Point;
 import flash.geom.Rectangle;

+import mx.core.ILayoutDirectionElement;
 import mx.core.IToolTip;
+import mx.core.IUIComponent;
+import mx.core.LayoutDirection;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.ToolTipEvent;
 import mx.managers.ISystemManager;
+import mx.managers.ToolTipManager;

 import spark.components.Grid;
 import spark.components.Group;
@@ -78,7 +82,82 @@
 {
     include "../../core/Version.as";

-    //--------------------------------------------------------------------------
+	//--------------------------------------------------------------------------
+	//
+	//  Static Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Shows the tooltip for one of the grid's item renderers.
+	 *  This is the handler for the ToolTipEvent.TOOL_TIP_SHOW
+	 *  event in GridItemRenderer, DefaultGridItemRenderer, and
+	 *  UITextFieldGridItemRenderer which are installed by the corresponding
+	 *  constructors.
+	 *  The item renderer's tool tip is computed just before it is shown.
+	 *
+	 *  If the item renderer's column showDataTips property is true,
+	 *  a placeholder tool tip is registered with the tool tip manager so that
+	 *  mouse handlers are put in place to detect when the tool tip should be
+	 *  shown by calling this handler.
+	 *
+	 *  This handler replaces the placeholder text with the actual text and
+	 *  resizes the tooltip before moving it into position.
+	 *  The tip is positioned over the item renderer with the origin of the tip
+	 *  at 0, 0, after accounting for the layoutDirection of the grid.
+	 *
+	 *  The current target is expected to implement IGridItemRenderer and
+	 *  IUIComponent.
+	 */
+	static mx_internal function toolTipShowHandler(event:ToolTipEvent):void
+	{
+		var toolTip:IToolTip = event.toolTip;
+
+		const renderer:IGridItemRenderer = event.currentTarget as IGridItemRenderer;
+		if (!renderer)
+			return;
+
+		const uiComp:IUIComponent = event.currentTarget as IUIComponent;
+		if (!uiComp)
+			return;
+
+		// Determine if the toolTip needs to be adjusted for RTL layout.
+		const mirror:Boolean = renderer.layoutDirection == LayoutDirection.RTL;
+
+		// Lazily compute the tooltip text and recalculate its width.
+		toolTip.text = renderer.column.itemToDataTip(renderer.data);
+		ToolTipManager.sizeTip(toolTip);
+
+		// Move the origin of the tooltip to the origin of this item renderer
+
+		var sm:ISystemManager = uiComp.systemManager.topLevelSystemManager;
+		var sbRoot:DisplayObject = sm.getSandboxRoot();
+		var screen:Rectangle = sm.getVisibleApplicationRect(null, true);
+
+		const x:int = mirror ? renderer.width - toolTip.width : 0;
+		var pt:Point = new Point(x, 0);
+
+		pt = uiComp.localToGlobal(pt);
+		pt = sbRoot.globalToLocal(pt);
+
+		toolTip.move(pt.x, Math.round(pt.y + (renderer.height - toolTip.height) / 2));
+
+		const screenRight:Number = screen.x + screen.width;
+		pt.x = toolTip.x;
+		pt.y = toolTip.y;
+		pt = sbRoot.localToGlobal(pt);
+
+		if (pt.x + toolTip.width > screenRight)
+		{
+			pt.x = toolTip.x - (pt.x + toolTip.width - screenRight);
+			toolTip.move(pt.x, toolTip.y);
+		}
+
+		if (mirror && pt.x < 0)
+			toolTip.move(0, toolTip.y);
+	}
+
+   //--------------------------------------------------------------------------
     //
     //  Constructor
     //
@@ -98,7 +177,8 @@

         setCurrentStateNeeded = true;

-        addEventListener(ToolTipEvent.TOOL_TIP_SHOW, toolTipShowHandler);
+        addEventListener(ToolTipEvent.TOOL_TIP_SHOW,
+						 GridItemRenderer.toolTipShowHandler);
     }

     //--------------------------------------------------------------------------
@@ -711,37 +791,6 @@
     public function discard(willBeRecycled:Boolean):void
     {
     }
-
-    //--------------------------------------------------------------------------
-    //
-    //  Event Handlers
-    //
-    //--------------------------------------------------------------------------
-
-    // TODO (hmuller) - this code should be common with DefaultGridItemRenderer
-    private function toolTipShowHandler(event:ToolTipEvent):void
-    {
-        var toolTip:IToolTip = event.toolTip;
-
-        toolTip.text = column.itemToDataTip(data);  // Lazily compute the tooltip text
-
-        // Move the origin of the tooltip to the origin of this item renderer
-
-        var sm:ISystemManager = systemManager.topLevelSystemManager;
-        var sbRoot:DisplayObject = sm.getSandboxRoot();
-        var screen:Rectangle = sm.getVisibleApplicationRect(null, true);
-        var pt:Point = new Point(0, 0);
-        pt = localToGlobal(pt);
-        pt = sbRoot.globalToLocal(pt);
-
-        toolTip.move(pt.x, Math.round(pt.y + (height - toolTip.height) / 2));
-
-        var screenRight:Number = screen.x + screen.width;
-        pt.x = toolTip.x;
-        pt.y = toolTip.y;
-        pt = sbRoot.localToGlobal(pt);
-        if (pt.x + toolTip.width > screenRight)
-            toolTip.move(toolTip.x - (pt.x + toolTip.width - screenRight), toolTip.y);
-    }
+
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6225
Author:   mhorn@adobe.com
Date:     2009-04-23T20:35:07.562769Z

Log Message:
-----------
ASdoc updates

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperIncrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserTodayIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PopUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackHighlightSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TextInputBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserSelectionIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextMonthSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/TabSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridHeaderSeparatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/AccordionHeaderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarMiddleButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/StepperDecrButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextYearSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserRollOverIndicatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/CheckBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/LinkButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/RadioButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/PanelBorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/EditableComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevMonthSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarFirstButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ProgressMaskSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/SliderTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarDownButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ComboBoxSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ColorPickerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/BorderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevYearSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DefaultButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ButtonBarLastButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuItemSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/ScrollBarUpButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuSeparatorSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridHeaderBackgroundSkin.mxml</path>

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

--- frameworks/projects/sparkskins/src/mx/skins/spark/ProgressIndeterminateSkin.as
+++ frameworks/projects/sparkskins/src/mx/skins/spark/ProgressIndeterminateSkin.as
@@ -18,7 +18,7 @@
 import mx.utils.ColorUtil;

 /**
- *  The skin for the indeterminate state of a ProgressBar.
+ *  The Spark skin for the indeterminate state of a Halo ProgressBar component.
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


def: 6755 fixed closedCaptions SRT parsing

--- plugins/closedCaptionsPlugin/src/com/kaltura/kdpfl/plugin/component/ClosedCaptions.as
+++ plugins/closedCaptionsPlugin/src/com/kaltura/kdpfl/plugin/component/ClosedCaptions.as
@@ -173,10 +173,8 @@
 				try {
 					if (_captionsURLLoader.data) {
 						var loadedText:String = _captionsURLLoader.data;
-						// unify CRs (\r) and CRLFs (\r\n) - make them all CRLFs
-						loadedText = loadedText.replace(/^(\r)\n/g, "\r\n");
-						// replace all CRLFs with CRs
-						loadedText = loadedText.replace(/\r\n/g, "\r");
+						// unify CRs (\n) and CRLFs (\r\n) - replace with CR
+						loadedText = loadedText.replace(/(\r)?\n/g, "\r");
 						// split on CRs
 						var lines:Array = loadedText.split("\r");
 						var currLine:CCLine = null;


419 Fixed DisplayUtil.hoistTransform - transform.matrix setters weren't being triggered

--- raw/src/org/yellcorp/lib/display/DisplayUtil.as
+++ raw/src/org/yellcorp/lib/display/DisplayUtil.as
@@ -3,6 +3,7 @@
 import flash.display.DisplayObject;
 import flash.display.DisplayObjectContainer;
 import flash.display.Sprite;
+import flash.geom.Matrix;
 import flash.geom.Point;
 import flash.geom.Rectangle;

@@ -152,8 +153,11 @@
         if (!parent)
             throw new ArgumentError("child has no parent");

-        parent.transform.matrix.concat(child.transform.matrix);
-        child.transform.matrix.identity();
+        var parentMatrix:Matrix = parent.transform.matrix.clone();
+        parentMatrix.concat(child.transform.matrix);
+
+        parent.transform.matrix = parentMatrix;
+        child.transform.matrix = new Matrix();
     }

     /**


Now resetting callback variables to previous values instead of null.

Change-Id: I2f00fea5c1cb22166ff113ba626be44ccc5ed2d1

--- WeaveCore/src/weave/core/ChildListCallbackInterface.as
+++ WeaveCore/src/weave/core/ChildListCallbackInterface.as
@@ -66,9 +66,16 @@
 		 * @param objectRemoved
 		 */
 		public function runCallbacks(name:String, objectAdded:ILinkableObject, objectRemoved:ILinkableObject):void
-		{
+		{
+			// remember previous values
+			var _name:String = _lastNameAdded || _lastNameRemoved;
+			var _added:ILinkableObject = _lastObjectAdded;
+			var _removed:ILinkableObject = _lastObjectRemoved;
+
 			_runCallbacksImmediately(name, objectAdded, objectRemoved);
-			setCallbackVariables(); // clear the variables
+
+			// restore previous values (in case an external JavaScript popup caused us to interrupt something else)
+			setCallbackVariables(_name, _added, _removed);
 		}

 		/**


URBI_INIT.

URBI_INIT.

	* build-aux/base.as (URBI_INIT): New.
	Meant to factor the various check.as scripts.

--- build-aux/base.as
+++ build-aux/base.as
@@ -226,3 +226,22 @@
 URBI_INSTRUMENT_PREPARE()dnl
 URBI_CHILDREN_PREPARE()dnl
 ])
+
+
+# URBI_INIT
+# ---------
+# Replaces the AS_INIT invocation.
+# Must be defined via "m4_define", not "m4_defun" since it is AS_INIT
+# which will set up the diversions used for "m4_defun".
+m4_define([URBI_INIT],
+[AS_INIT()dnl
+URBI_PREPARE()
+set -e
+case $VERBOSE in
+  x) set -x;;
+esac
+
+: ${abs_builddir='@abs_builddir@'}
+: ${abs_top_builddir='@abs_top_builddir@'}
+: ${abs_top_srcdir='@abs_top_srcdir@'}
+])


Fix m4 quotation.

Fix m4 quotation.

Blush...

	* build-aux/base.as: here.

--- build-aux/base.as
+++ build-aux/base.as
@@ -291,7 +291,7 @@
 # Remove, create, and cd into DIR.
 mkcd ()
 {
-  local dir=$1
+  local dir=$[1]
   rm -rf "$dir"
   mkdir -p "$dir"
   cd "$dir"


adding lost styleName support back to CSSS

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

--- src/laml/display/Component.as
+++ src/laml/display/Component.as
@@ -300,7 +300,7 @@

 			var styles:Array = new Array();
 			styles.push(getStyleByType(sheet));
-			styles.concat(getStylesByStyleNames(sheet));
+			styles = styles.concat(getStylesByStyleNames(sheet));
 			styles.push(getStyleById(sheet));

 			var style:Object = new Object();
@@ -325,7 +325,7 @@
 			var len:Number = names.length;

 			for(var i:Number = 0; i < len; i++) {
-				styles.push(sheet.getStyle(names[i]));
+				styles.push(sheet.getStyle("." + names[i]));
 			}

 			return styles;


通常再生時にミュートしたままループすると音量が 0 になる問題を修正

通常再生時にミュートしたままループすると音量が 0 になる問題を修正

--- project/SoundConductor/src/jp/hiiragi/managers/soundConductor/PlayingDataForNormalSound.as
+++ project/SoundConductor/src/jp/hiiragi/managers/soundConductor/PlayingDataForNormalSound.as
@@ -293,8 +293,8 @@
 		{
 			_soundChannel.removeEventListener(Event.SOUND_COMPLETE, onSoundCompleteHandler);

-			var currentVolume:Number = volumeController.value;
-			var currentPan:Number = panController.value;
+			var currentVolume:Number = volumeController.getInternalValue();
+			var currentPan:Number = panController.getInternalValue();

 			if (loops == SoundLoopType.NO_LOOP || (loops != SoundLoopType.INFINITE_LOOP && currentLoopCount >= loops))
 			{


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/automation/src/mx/automation/tabularData/ChartSeriesTabularData.as
+++ frameworks/projects/automation/src/mx/automation/tabularData/ChartSeriesTabularData.as
@@ -0,0 +1,169 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.automation.tabularData
+{
+
+	import mx.automation.AutomationManager;
+	import mx.automation.IAutomationTabularData;
+	import mx.charts.chartClasses.Series;
+	import mx.charts.series.items.AreaSeriesItem;
+	import mx.charts.series.items.BarSeriesItem;
+	import mx.charts.series.items.BubbleSeriesItem;
+	import mx.charts.series.items.ColumnSeriesItem;
+	import mx.charts.series.items.HLOCSeriesItem;
+	import mx.charts.series.items.LineSeriesItem;
+	import mx.charts.series.items.PieSeriesItem;
+	import mx.charts.series.items.PlotSeriesItem;
+	import mx.core.mx_internal;
+
+	use namespace mx_internal;
+
+	/**
+	 *  @private
+	 */
+	public class ChartSeriesTabularData
+		implements IAutomationTabularData
+	{
+
+		private var series:Object;
+
+		/**
+		 *  @private
+		 */
+		public function ChartSeriesTabularData(series:Object)
+		{
+			super();
+
+			this.series = series ;
+		}
+
+		/**
+		 *  @inheritDoc
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function get firstVisibleRow():int
+		{
+			return 0;
+		}
+
+		/**
+		 *  @inheritDoc
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function get lastVisibleRow():int
+		{
+			return series.items.length-1;
+		}
+
+		/**
+		 *  @inheritDoc
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function get numRows():int
+		{
+			return series.items.length;
+		}
+
+
+		/**
+		 *  @inheritDoc
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function get numColumns():int
+		{
+			return 1;
+		}
+
+		/**
+		 *  @inheritDoc
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function get columnNames():Array
+		{
+			return ["values"];
+		}
+
+		/**
+		 *  @inheritDoc
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function getValues(start:uint = 0, end:uint = 0):Array
+		{
+			var _values:Array = [];
+			if (end == 0)
+				end = series.items.length;
+			var i:int;
+			var items:Array = series.items;
+			for (i = start; i <= end; ++i)
+			{
+				var values:Array = getAutomationValueForData(items[i]);
+				_values.push([ values.join("|") ]);
+			}
+
+			return _values;
+		}
+
+		/**
+		 *  @inheritDoc
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function getAutomationValueForData(data:Object):Array
+		{
+			if (data is AreaSeriesItem)
+				return [data.xNumber, data.yNumber];
+			if (data is BarSeriesItem)
+				return [data.xNumber, data.yNumber];
+			if (data is BubbleSeriesItem)
+				return [data.xNumber, data.yNumber, data.zNumber];
+			if (data is ColumnSeriesItem)
+				return [data.xNumber,data.yNumber];
+			if (data is HLOCSeriesItem)
+				return [data.openNumber, data.closeNumber, data.highNumber, data.lowNumber];
+			if (data is LineSeriesItem)
+				return [data.xNumber,data.yNumber];
+			if (data is PieSeriesItem)
+				return [data.number];
+			if (data is PlotSeriesItem)
+				return [data.xNumber, data.yNumber];
+
+			return [];
+		}
+	}
+}


remove unused method

remove unused method

--- src/org/mangui/HLS/muxing/FLV.as
+++ src/org/mangui/HLS/muxing/FLV.as
@@ -3,16 +3,6 @@

     /** Helpers for the FLV file format. **/
     public class FLV {
-        /** Return an EOS Video tag (16 bytes). **/
-        public static function getEosTag(stamp : Number) : ByteArray {
-            var tag : ByteArray = FLV.getTagHeader(false, 5, stamp);
-            // AVC Keyframe.
-            tag.writeByte(0x17);
-            // Sequence end, composition time
-            tag.writeUnsignedInt(0x02000000);
-            return tag;
-        };
-
         /** Get the FLV file header. **/
         public static function getHeader() : ByteArray {
             var flv : ByteArray = new ByteArray();


Transferred from the Adobe Open Source Subversion Repository

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

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

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

Modified Paths:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as
@@ -16,6 +16,12 @@
  *  The SecureStreamingHTTPChannel class is identical to the StreamingHTTPChannel
  *  class except that it uses a secure protocol, HTTPS, to send messages to an
  *  HTTP endpoint.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion BlazeDS 4
+ *  @productversion LCDS 3
  */
 public class SecureStreamingHTTPChannel extends StreamingHTTPChannel
 {
@@ -31,6 +37,12 @@
 	 *  @param id The id of this Channel.
 	 *
 	 *  @param uri The uri for this Channel.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     public function SecureStreamingHTTPChannel(id:String = null, uri:String = null)
     {
@@ -45,6 +57,12 @@

     /**
      *  Returns the protocol for this channel (https).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion BlazeDS 4
+     *  @productversion LCDS 3
      */
     override public function get protocol():String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2805
Author:   chaase@adobe.com
Date:     2008-08-11T20:37:18.700675Z

Log Message:
-----------
First checkin for the "Arbitrary Type Interpolation" feature. This feature has a rewritten Tween class (now named flex.effects.Animation). This class supports the old Tween capabilities, but adds functionality such as the ability to supply alternate interpolation objects (to allow animation of non-Number types), a new Easing API, and new 'repeat behavior' that will allow terser looping or reversing animations. The existing new effects were slightly changed to use the new Animation class (instead of Tween), and the superclass of the new effects, AnimateProperties (renamed 'Animate'), is now a subclass of Effect (not TweenEffect).

Added various new interpolation and easing classes, along with the new packages flex.effects.interpolation and flex.effects.easing. Also added new color-interpolation effect, 'Tint'.

Expect slight tweaks to the API during i7, but the bulk of the functionality and API changes are being checked in now.

Reviewed by Jason S.
Testing: checkintests & mustella tests/Effects (passed)

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/.actionScriptProperties</path>
<path kind="file" action="A">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/EffectsProperties.mxml</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimatePropertiesInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/AnimateProperties.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/components/AnimationPropertiesForm.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Fade.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Constant.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Power.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/ColorInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/AnimateInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/TintInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/IEaser.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Tint.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/NumberArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/IInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Resize.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/effectClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/Move.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/events/AnimationEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/effects/interpolation/ArrayInterpolator.as</path>

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

--- frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as
+++ frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as
@@ -0,0 +1,66 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 flex.effects.interpolation
+{
+/**
+ * The NumberInterpolator class provides interpolation between
+ * Number start and end values.
+ */
+public class NumberInterpolator implements IInterpolator
+{
+    private static var theInstance:NumberInterpolator;
+
+    public function NumberInterpolator()
+    {
+        super();
+    }
+
+    /**
+     * Returns the singleton of this class. Since all NumberInterpolators
+     * have the same behavior, there is no need for more than one instance.
+     */
+    public static function getInstance():NumberInterpolator
+    {
+        if (!theInstance)
+            theInstance = new NumberInterpolator();
+        return theInstance;
+    }
+
+    /**
+     * Returns the Number type, which is the type of
+     * object interpolated by NumberInterpolator
+     */
+    public function get interpolatedType():Class
+    {
+        return Number;
+    }
+
+    /**
+     * @inheritDoc
+     *
+     *
Interpolation for NumberInterpolator consists of a simple
+     * parametric calculation between startValue and
+     * endValue, using fraction as the
+     * fraction elapsed from start to end, like this:

+     *
+     *
return startValue + fraction * (endValue - startValue);

+     */
+    public function interpolate(fraction:Number, startValue:*, endValue:*):*
+    {
+        if (isNaN(startValue) || isNaN(endValue))
+            throw new Error("Interpolator cannot calculate interpolated " +
+                            "values when either startValue (" + startValue + ") " +
+                            "or endValue (" + endValue + ") is not a number");
+        return Number(startValue) + (fraction * (Number(endValue) - Number(startValue)));
+    }
+
+}
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8723
Author:   chaase@adobe.com
Date:     2009-07-21T23:19:39.441122Z

Log Message:
-----------
Fixed 2 areas of effects bugs (playheadTime and transform effects shared instances). Also fixed bug in GraphicElement.localToGlobal(). Fixes remaining transform effects bugs prior to feature signoff.

QE Notes: None
Doc Notes: None
Bugs: SDK-22315, sdk-22304, sdk-22302, sdk-21931, sdk-21068, sdk-20179, sdk-21069
Reviewer: Hans, Jason (GraphicElement), Glenn (SharedObjectDepot)
API Change: None
Is noteworthy for integration: No
tests: checkintests mustella spark/effects,mx/effects (run locally and in cyclone by Matt)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Fade.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/RGBInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/interpolation/HSBInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SharedObjectDepot.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>

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

--- frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as
+++ frameworks/projects/spark/src/spark/effects/interpolation/NumberInterpolator.as
@@ -95,14 +95,14 @@
     public function interpolate(fraction:Number, startValue:Object,
         endValue:Object):Object
     {
-        if ((startValue is Number && isNaN(Number(startValue))) ||
-            (endValue is Number && isNaN(Number(endValue))))
-            throw new Error(resourceManager.getString("sparkEffects", "cannotCalculateValue", [startValue, endValue]));
         // Quick test for 0 or 1 to avoid round-off error on either end
         if (fraction == 0)
             return startValue;
         else if (fraction == 1)
             return endValue;
+        if ((startValue is Number && isNaN(Number(startValue))) ||
+            (endValue is Number && isNaN(Number(endValue))))
+            throw new Error(resourceManager.getString("sparkEffects", "cannotCalculateValue", [startValue, endValue]));
         return Number(startValue) + (fraction * (Number(endValue) - Number(startValue)));
     }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -304,7 +304,7 @@
     }

     protected function invalidateTransform(changeInvalidatesLayering:Boolean = true,
-                                           triggerLayout:Boolean = true):void
+                                           invalidateLayout:Boolean = true):void
     {
         if (changeInvalidatesLayering)
             notifyElementLayerChanged();
@@ -320,7 +320,7 @@
             invalidateProperties(); // We apply the transform in commitProperties

         // Trigger a layout pass
-        if (triggerLayout)
+        if (invalidateLayout)
             invalidateParentSizeAndDisplayList();
         }

@@ -3235,78 +3235,78 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function getMaxBoundsWidth(postTransform:Boolean = true):Number
-    {
-        return transformWidthForLayout(maxWidth, maxHeight, postTransform);
-    }
-
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function getMaxBoundsHeight(postTransform:Boolean = true):Number
-    {
-        return transformHeightForLayout(maxWidth, maxHeight, postTransform);
-    }
-
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function getMinBoundsWidth(postTransform:Boolean = true):Number
-    {
-        return transformWidthForLayout(minWidth, minHeight, postTransform);
-    }
-
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function getMinBoundsHeight(postTransform:Boolean = true):Number
-    {
-        return transformHeightForLayout(minWidth, minHeight, postTransform);
-    }
-
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function getPreferredBoundsWidth(postTransform:Boolean = true):Number
+    public function getMaxBoundsWidth(postLayoutTransform:Boolean = true):Number
+    {
+        return transformWidthForLayout(maxWidth, maxHeight, postLayoutTransform);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function getMaxBoundsHeight(postLayoutTransform:Boolean = true):Number
+    {
+        return transformHeightForLayout(maxWidth, maxHeight, postLayoutTransform);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function getMinBoundsWidth(postLayoutTransform:Boolean = true):Number
+    {
+        return transformWidthForLayout(minWidth, minHeight, postLayoutTransform);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function getMinBoundsHeight(postLayoutTransform:Boolean = true):Number
+    {
+        return transformHeightForLayout(minWidth, minHeight, postLayoutTransform);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function getPreferredBoundsWidth(postLayoutTransform:Boolean = true):Number
     {
         return transformWidthForLayout(preferredWidthPreTransform(),
                                        preferredHeightPreTransform(),
-                                       postTransform);
-    }
-
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function getPreferredBoundsHeight(postTransform:Boolean = true):Number
+                                       postLayoutTransform);
+    }
+
+    /**
+     *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function getPreferredBoundsHeight(postLayoutTransform:Boolean = true):Number
     {
         return transformHeightForLayout(preferredWidthPreTransform(),
                                        preferredHeightPreTransform(),
-                                       postTransform);
+                                       postLayoutTransform);
     }

     /**
@@ -3317,10 +3317,10 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function getBoundsXAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
-    {
-        var strokeExtents:Point = getStrokeExtents(postTransform);
-        var m:Matrix = postTransform ? computeMatrix() : null;
+    public function getBoundsXAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
+    {
+        var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
+        var m:Matrix = postLayoutTransform ? computeMatrix() : null;
         if (!m)
             return strokeExtents.x * -0.5 + this.measuredX + this.x;

@@ -3352,10 +3352,10 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function getBoundsYAtSize(width:Number, height:Number, postTransform:Boolean = true):Number
-    {
-        var strokeExtents:Point = getStrokeExtents(postTransform);
-        var m:Matrix = postTransform ? computeMatrix() : null;
+    public function getBoundsYAtSize(width:Number, height:Number, postLayoutTransform:Boolean = true):Number
+    {
+        var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
+        var m:Matrix = postLayoutTransform ? computeMatrix() : null;
         if (!m)
             return strokeExtents.y * -0.5 + this.measuredY + this.y;

@@ -3387,14 +3387,14 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function getLayoutBoundsX(postTransform:Boolean = true):Number
+    public function getLayoutBoundsX(postLayoutTransform:Boolean = true):Number
     {
         // Take stroke into account:
         // TODO EGeorgie: We assume that the stroke extents are even on both sides.
         // and that's not necessarily true.
-        var stroke:Number = -getStrokeExtents(postTransform).x * 0.5;
-
-        var m:Matrix = postTransform ? computeMatrix() : null;
+        var stroke:Number = -getStrokeExtents(postLayoutTransform).x * 0.5;
+
+        var m:Matrix = postLayoutTransform ? computeMatrix() : null;
         if (!m)
             return stroke + this.measuredX + this.x;

@@ -3411,14 +3411,14 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function getLayoutBoundsY(postTransform:Boolean = true):Number
+    public function getLayoutBoundsY(postLayoutTransform:Boolean = true):Number
     {
         // Take stroke into account:
         // TODO EGeorgie: We assume that the stroke extents are even on both sides.
         // and that's not necessarily true.
-        var stroke:Number = -getStrokeExtents(postTransform).y * 0.5;
-
-        var m:Matrix = postTransform ? computeMatrix() : null;
+        var stroke:Number = -getStrokeExtents(postLayoutTransform).y * 0.5;
+
+        var m:Matrix = postLayoutTransform ? computeMatrix() : null;
         if (!m)
             return stroke + this.measuredY + this.y;

@@ -3435,9 +3435,9 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function getLayoutBoundsWidth(postTransform:Boolean = true):Number
-    {
-        return transformWidthForLayout(_width, _height, postTransform);
+    public function getLayoutBoundsWidth(postLayoutTransform:Boolean = true):Number
+    {
+        return transformWidthForLayout(_width, _height, postLayoutTransform);
     }

     /**
@@ -3448,9 +3448,9 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function getLayoutBoundsHeight(postTransform:Boolean = true):Number
-    {
-        return transformHeightForLayout(_width, _height, postTransform);
+    public function getLayoutBoundsHeight(postLayoutTransform:Boolean = true):Number
+    {
+        return transformHeightForLayout(_width, _height, postLayoutTransform);
     }

     /**
@@ -3503,9 +3503,9 @@
      */
     protected function transformWidthForLayout(width:Number,
                                                height:Number,
-                                               postTransform:Boolean = true):Number
-    {
-        if (postTransform)
+                                               postLayoutTransform:Boolean = true):Number
+    {
+        if (postLayoutTransform)
         {
             var m:Matrix = computeMatrix();
             if (m)
@@ -3516,7 +3516,7 @@
         }

         // Take stroke into account
-        var strokeExtents:Point = getStrokeExtents(postTransform);
+        var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
         width += strokeExtents.x;
         return width;
     }
@@ -3538,9 +3538,9 @@
      */
     protected function transformHeightForLayout(width:Number,
                                                 height:Number,
-                                                postTransform:Boolean = true):Number
-    {
-        if (postTransform)
+                                                postLayoutTransform:Boolean = true):Number
+    {
+        if (postLayoutTransform)
         {
             var m:Matrix = computeMatrix();
             if (m)
@@ -3551,7 +3551,7 @@
         }

         // Take stroke into account
-        var strokeExtents:Point = getStrokeExtents(postTransform);
+        var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
         height += strokeExtents.y;
         return height;
     }
@@ -3582,10 +3582,10 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function setLayoutBoundsPosition(newBoundsX:Number, newBoundsY:Number, postTransform:Boolean = true):void
-    {
-        var currentBoundsX:Number = getLayoutBoundsX(postTransform);
-        var currentBoundsY:Number = getLayoutBoundsY(postTransform);
+    public function setLayoutBoundsPosition(newBoundsX:Number, newBoundsY:Number, postLayoutTransform:Boolean = true):void
+    {
+        var currentBoundsX:Number = getLayoutBoundsX(postLayoutTransform);
+        var currentBoundsY:Number = getLayoutBoundsY(postLayoutTransform);

         var currentX:Number = this.x;
         var currentY:Number = this.y;
@@ -3622,11 +3622,11 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function setLayoutBoundsSize(width:Number = NaN,
-                                  height:Number = NaN,
-                                  postTransform:Boolean = true):void
-    {
-        var strokeExtents:Point = getStrokeExtents(postTransform);
+    public function setLayoutBoundsSize(width:Number,
+                                        height:Number,
+                                        postLayoutTransform:Boolean = true):void
+    {
+        var strokeExtents:Point = getStrokeExtents(postLayoutTransform);
         if (!isNaN(width))
            width -= strokeExtents.x;

@@ -3636,7 +3636,7 @@

         // Calculate the width and height pre-transform:
         var m:Matrix;
-        if (postTransform)
+        if (postLayoutTransform)
             m = computeMatrix();
         if (!m)
         {
@@ -3709,12 +3709,12 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function setLayoutMatrix(value:Matrix, triggerLayout:Boolean):void
+    public function setLayoutMatrix(value:Matrix, invalidateLayout:Boolean):void
     {
         allocateLayoutFeatures();
         var previous:Boolean = needsDisplayObject;
         layoutFeatures.layoutMatrix = value;
-        invalidateTransform(previous != needsDisplayObject, triggerLayout);
+        invalidateTransform(previous != needsDisplayObject, invalidateLayout);
     }

     /**
@@ -3746,12 +3746,12 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public function setLayoutMatrix3D(value:Matrix3D, triggerLayout:Boolean):void
+    public function setLayoutMatrix3D(value:Matrix3D, invalidateLayout:Boolean):void
     {
         allocateLayoutFeatures();
         var previous:Boolean = needsDisplayObject;
         layoutFeatures.layoutMatrix3D = value;
-        invalidateTransform(previous != needsDisplayObject, triggerLayout);
+        invalidateTransform(previous != needsDisplayObject, invalidateLayout);
     }

     /**
@@ -3823,7 +3823,7 @@
     // TODO EGeorgie: return rectangle instead so that the function can
     // correctly indicate the left, right, top and bottom extents. Right
     // now we assume they are the same on both sides.
-    protected function getStrokeExtents(postTransform:Boolean = true):Point
+    protected function getStrokeExtents(postLayoutTransform:Boolean = true):Point
     {
         // TODO EGeorgie: currently we take only scale into account,
         // but depending on joint style, cap style, etc. we need to take
@@ -3847,7 +3847,7 @@
         }

         var scaleMode:String = stroke.scaleMode;
-        if (!scaleMode || scaleMode == LineScaleMode.NONE || !postTransform)
+        if (!scaleMode || scaleMode == LineScaleMode.NONE || !postLayoutTransform)
         {
             _strokeExtents.x = weight;
             _strokeExtents.y = weight;


def: 5762 send flavorParamsId instead of flavorAssetId as flavorId to akamai stats

git-svn-id: 3f608e5a9a704dd448217c0a64c508e7f145cfa1@90149 6b8eccd3-e8c5-4e7d-8186-e12b5326b719

--- plugins/akamaiMediaAnalyticsPlugin/src/com/kaltura/kdpfl/plugin/akamaiMediaAnalyticsMediator.as
+++ plugins/akamaiMediaAnalyticsPlugin/src/com/kaltura/kdpfl/plugin/akamaiMediaAnalyticsMediator.as
@@ -81,18 +81,26 @@

 				case NotificationType.MEDIA_ELEMENT_READY:
 					//find starting flavor ID
-					var flavorId:String;
+					var flavorAssetId:String;
+					var flavorParamsId:String;
 					if (_mediaProxy.vo.deliveryType == StreamerType.HTTP)
 					{
-						flavorId = _mediaProxy.vo.selectedFlavorId;
+						flavorAssetId = _mediaProxy.vo.selectedFlavorId;
 					}
 					else if (_mediaProxy.vo.deliveryType == StreamerType.RTMP)
 					{
-						flavorId = getFlavorIdByIndex(_mediaProxy.startingIndex);
+						flavorAssetId = getFlavorIdByIndex(_mediaProxy.startingIndex);
 					}

-					if (flavorId)
-						AnalyticsPluginLoader.setData("flavorId", flavorId);
+					for each (var kfa:KalturaFlavorAsset in _mediaProxy.vo.kalturaMediaFlavorArray) {
+						if (kfa.id == flavorAssetId) {
+							flavorParamsId = kfa.flavorParamsId.toString();
+							break;
+						}
+					}
+
+					if (flavorParamsId)
+						AnalyticsPluginLoader.setData("flavorId", flavorParamsId);

 					break;
 			}


- click on a open combobox closes combobox (RITTERSPORTFREUNDE-257)

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

--- src/reprise/controls/ComboBox.as
+++ src/reprise/controls/ComboBox.as
@@ -171,11 +171,12 @@
 		protected function self_mouseDown(e:MouseEvent):void
 		{
 			showList();
+			e.stopPropagation();
 		}

 		protected function document_mouseDown(e:MouseEvent):void
 		{
-			if (contains(DisplayObject(e.target)))
+			if (m_list.contains(DisplayObject(e.target)))
 			{
 				return;
 			}


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

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

 package mx.automation.codec
 {


Update Matrix4x4.as

Update Matrix4x4.as

correct Translation

--- src/aerys/minko/type/math/Matrix4x4.as
+++ src/aerys/minko/type/math/Matrix4x4.as
@@ -328,7 +328,7 @@
                                                 y : Number = 0.,
                                                 z : Number = 0.) : Matrix4x4
 		{
-			_invalidComponents = COMPONENT_ALL;
+			_invalidComponents = COMPONENT_TRANSLATION;
 			_matrix.appendTranslation(x, y, z);

 			_hasChanged = true;
@@ -386,7 +386,7 @@
                                                  y : Number	= 1.,
                                                  z : Number	= 1.) : Matrix4x4
 		{
-			_invalidComponents = COMPONENT_ALL;
+			_invalidComponents = COMPONENT_TRANSLATION;
 			_matrix.prependTranslation(x, y, z);

 			_hasChanged = true;


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

--- frameworks/projects/framework/src/mx/core/IUIComponent.as
+++ frameworks/projects/framework/src/mx/core/IUIComponent.as
@@ -21,6 +21,11 @@
 /**
  *  The IUIComponent interface defines the basic set of APIs
  *  that you must implement to create a child of a Flex container or list.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public interface IUIComponent extends IFlexDisplayObject
 {
@@ -42,6 +47,11 @@
      *  the baseline constraint style.
      *  It is also used to align the label of a FormItem
      *  with the controls in the FormItem.

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

@@ -54,6 +64,11 @@
      *  A reference to the document object associated with this component.
      *  A document object is an Object at the top of the hierarchy
      *  of a Flex application, MXML component, or ActionScript component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get document():Object

@@ -75,6 +90,11 @@
      *  for a container, Flex dims the color of the container and of all
      *  of its children, and blocks user input to the container
      *  and to all of its children.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get enabled():Boolean;

@@ -93,6 +113,11 @@
      *  If no height is explicitly specified, the value is NaN.
      *
      *  @see mx.core.UIComponent#explicitHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get explicitHeight():Number;

@@ -110,6 +135,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#explicitMaxHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get explicitMaxHeight():Number;

@@ -122,6 +152,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#explicitMaxWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get explicitMaxWidth():Number;

@@ -134,6 +169,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#explicitMinHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get explicitMinHeight():Number;

@@ -146,6 +186,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#explicitMinWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get explicitMinWidth():Number;

@@ -159,6 +204,11 @@
      *  If no width is explicitly specified, the value is NaN.
      *
      *  @see mx.core.UIComponent#explicitWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get explicitWidth():Number;

@@ -178,6 +228,11 @@
      *  not if the component implements the IFocusManagerComponent interface.
      *
      *  @see mx.core.UIComponent#focusPane
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get focusPane():Sprite;

@@ -192,6 +247,11 @@

     /**
      *  @copy mx.core.UIComponent#includeInLayout
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get includeInLayout():Boolean;

@@ -206,6 +266,11 @@

     /**
      *  @copy mx.core.UIComponent#isPopUp
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get isPopUp():Boolean;

@@ -223,6 +288,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#maxHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get maxHeight():Number;

@@ -235,6 +305,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#maxWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get maxWidth():Number;

@@ -244,6 +319,11 @@

     /**
      *  @copy mx.core.UIComponent#measuredMinHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get measuredMinHeight():Number;

@@ -258,6 +338,11 @@

     /**
      *  @copy mx.core.UIComponent#measuredMinWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get measuredMinWidth():Number;

@@ -275,6 +360,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#minHeight
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get minHeight():Number;

@@ -287,6 +377,11 @@
      *  in pixels, as the component's coordinates.
      *
      *  @see mx.core.UIComponent#minWidth
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get minWidth():Number;

@@ -296,6 +391,11 @@

     /**
      *  @copy mx.core.IVisualElement#owner
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get owner():DisplayObjectContainer;

@@ -312,6 +412,11 @@
      *  Number that specifies the height of a component as a
      *  percentage of its parent's size.
      *  Allowed values are 0 to 100.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get percentHeight():Number;

@@ -328,6 +433,11 @@
      *  Number that specifies the width of a component as a
      *  percentage of its parent's size.
      *  Allowed values are 0 to 100.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get percentWidth():Number;

@@ -342,6 +452,11 @@

     /**
      *  A reference to the SystemManager object for this component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get systemManager():ISystemManager;

@@ -358,6 +473,11 @@
      *  Used by EffectManager.
      *  Returns non-null if a component
      *  is not using the EffectManager to execute a Tween.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function get tweeningProperties():Array;

@@ -376,31 +496,61 @@
      *  Initialize the object.
      *
      *  @see mx.core.UIComponent#initialize()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function initialize():void;

     /**
      *  @copy mx.core.UIComponent#parentChanged()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function parentChanged(p:DisplayObjectContainer):void;

     /**
      *  @copy mx.core.UIComponent#getExplicitOrMeasuredWidth()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function getExplicitOrMeasuredWidth():Number;

     /**
      *  @copy mx.core.UIComponent#getExplicitOrMeasuredHeight()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function getExplicitOrMeasuredHeight():Number;

     /**
      *  @copy mx.core.UIComponent#setVisible()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function setVisible(value:Boolean, noEvent:Boolean = false):void;

     /**
      *  @copy mx.core.UIComponent#owns()
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     function owns(displayObject:DisplayObject):Boolean;
 }