Transferred from the Adobe Open Source Subversion Repository

Revision: 8443
Author:   smgilson@adobe.com
Date:     2009-07-08T12:32:08.466557Z

Log Message:
-----------
Add ASDoc version info to TextFlowUtil.as, and update ASDoc for change of default layout of SkinnableContainer.as to basic

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/TextFlowUtil.as</path>

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

--- frameworks/projects/spark/src/spark/utils/TextFlowUtil.as
+++ frameworks/projects/spark/src/spark/utils/TextFlowUtil.as
@@ -32,6 +32,11 @@
  *  TextFlowUtil is a utility class which provides methods
  *  for importing a TextFlow from, and exporting a TextFlow to,
  *  the markup language used by the Text Layout Framework.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class TextFlowUtil
 {
@@ -111,19 +116,19 @@
         // and then modify it and set it back.
         config = new Configuration();
         format = new TextLayoutFormat(config.textFlowInitialFormat);
-		format.whiteSpaceCollapse = "collapse";
-		config.textFlowInitialFormat = format;
+        format.whiteSpaceCollapse = "collapse";
+        config.textFlowInitialFormat = format;
         collapsingTextLayoutImporter = TextConverter.getImporter(
-			TextConverter.TEXT_LAYOUT_FORMAT, config);
+            TextConverter.TEXT_LAYOUT_FORMAT, config);
         collapsingTextLayoutImporter.throwOnError = true;
-
+
         // Create an importer for TEXT_LAYOUT_FORMAT
         // that preserves whitespace.
-		// Note: We have to make a copy of the textFlowInitialFormat,
-		// which has various formats set to "inherit",
-		// and then modify it and set it back.
-		config = new Configuration();
-		format = new TextLayoutFormat(config.textFlowInitialFormat);
+        // Note: We have to make a copy of the textFlowInitialFormat,
+        // which has various formats set to "inherit",
+        // and then modify it and set it back.
+        config = new Configuration();
+        format = new TextLayoutFormat(config.textFlowInitialFormat);
         format.whiteSpaceCollapse = "preserve";
         config.textFlowInitialFormat = format;
         preservingTextLayoutImporter = TextConverter.getImporter(
@@ -148,7 +153,7 @@
         initialized = true;
     }

-	[Bindable("unused")]
+    [Bindable("unused")]

     /**
      *  Creates a TextFlow by importing (i.e., parsing) a String
@@ -188,6 +193,11 @@
      *  The default value is WhiteSpaceCollapse.COLLAPSE.
      *
      *  @return A new TextFlow instance created from the markup.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static function importFromString(
         markup:String, whiteSpaceCollapse:String = "collapse"):TextFlow
@@ -235,7 +245,7 @@
         return importer.importToFlow(markupToImport);
     }

-	[Bindable("unused")]
+    [Bindable("unused")]

     /**
      *  Creates a TextFlow by importing (i.e., parsing) XML
@@ -276,8 +286,13 @@
      *  The default value is WhiteSpaceCollapse.COLLAPSE.
      *
      *  @return A new TextFlow instance created from the markup.
-     */
-	public static function importFromXML(
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static function importFromXML(
         markup:XML, whiteSpaceCollapse:String = "collapse"):TextFlow
     {
         initClass();
@@ -329,6 +344,11 @@
      *
      *  @return XML containing Text Layout Framework
      *  markup language.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public static function export(textFlow:TextFlow):XML
     {


Extend the flexlib scrolling menu.

Extend the flexlib scrolling menu.

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

--- src/as/com/threerings/flex/CommandMenu.as
+++ src/as/com/threerings/flex/CommandMenu.as
@@ -34,7 +34,7 @@

 import mx.utils.ObjectUtil;

-import com.dougmccune.controls.ScrollableArrowMenu;
+import flexlib.controls.ScrollableArrowMenu;

 import com.threerings.util.CommandEvent;


Transferred from the Adobe Open Source Subversion Repository

Revision: 22203
Author:   eday@adobe.com
Date:     2011-08-25T03:57:05.493052Z

Log Message:
-----------
Change event after a small scroll snap is more responsive

- The snap animation is stopped as soon as the final position is reached.

QE notes:
Doc notes:
Bugs: SDK-30970
Reviewer: Jazon Szeto
Tests run: checkintests, mustella
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/effects/ThrowEffect.as
+++ frameworks/projects/spark/src/spark/effects/ThrowEffect.as
@@ -116,6 +116,12 @@
      */
     mx_internal var finalPositionFilterFunction:Function;

+    /**
+     *  @private
+     *  Set to true when the effect is only being used to snap an element into position
+     *  and the initial velocity is zero.
+     */
+    mx_internal var isSnapping:Boolean = false;

     /**
      *  @private
@@ -154,6 +160,8 @@

         var effectTime:int = calculateThrowEffectTime(startingVelocityX, startingVelocityY);
         var throwEffectMotionPaths:Vector.<MotionPath> = new Vector.<MotionPath>();
+
+        isSnapping = false;

         var horizontalTime:Number = 0;
         var horizontalFinalPosition:Number = 0;
@@ -305,6 +313,7 @@
                 if (alignedPosition == position)
                     return null;

+                isSnapping = true;
                 nowTime = addKeyframe(motionPath, nowTime + THROW_SETTLE_TIME, alignedPosition, new Power(0, THROW_CURVE_EXPONENT));
             }
         }


Format LoaderQueue code

Format LoaderQueue code

--- src/net/manaca/loaderqueue/LoaderQueue.as
+++ src/net/manaca/loaderqueue/LoaderQueue.as
@@ -66,6 +66,30 @@
      * 缓存已经加载过的url地址
      */
     private var cacheMap:Object = {};
+
+    /**
+     * 用于保存所有的下载项目
+     * p.s:已下载的会被清除
+     * @private
+     */
+    private var loaderDict:Dictionary/* of ILoaderAdapter */= new Dictionary();
+
+    /**
+     * 用于决定下载的等级的顺序
+     * @private
+     */
+    private var loaderPriorityLib:Array /* of uint */ = [];
+
+    /**
+     * 用于保存目前正在下载的对象
+     * @private
+     */
+    private var threadLib:Array /* of ILoaderAdapter */ = [];
+
+    /**
+     * 用于在添加新的Item后延迟触发排序.
+     */
+    private var timeOutToSort:Timer;
     //==========================================================================
     //  Properties
     //==========================================================================
@@ -85,31 +109,6 @@
      * 等级排序时是否使用倒序(如4,3,2,1)
      */
     public var reversePriority:Boolean = false;
-
-    /**
-     * 用于保存所有的下载项目
-     * p.s:已下载的会被清除
-     * @private
-     */
-    private var loaderDict:Dictionary/* of ILoaderAdapter */= new Dictionary();
-
-    /**
-     * 用于决定下载的等级的顺序
-     * @private
-     */
-    private var loaderPriorityLib:Array /* of uint */ = [];
-
-    /**
-     * 用于保存目前正在下载的对象
-     * @private
-     */
-    private var threadLib:Array /* of ILoaderAdapter */ = [];
-
-    /**
-     * 用于在添加新的Item后延迟触发排序.
-     */
-    private var timeOutToSort:Timer;
-
     //==========================================================================
     //  Methods
     //==========================================================================
@@ -119,7 +118,7 @@
     public function addItem(loaderAdapter:ILoaderAdapter):void
     {
         loaderAdapter.state = LoaderQueueConst.STATE_WAITING;
-        //如果ignoreCache为true,则检查是否已经加载过，如果加载过，则不添加到队列，
+        //如果jumpQueueIfCached为true,则检查是否已经加载过，如果加载过，则不添加到队列，
         //而是直接开始加载
         if(jumpQueueIfCached)
         {


Transferred from the Adobe Open Source Subversion Repository

Revision: 11593
Author:   pfarland@adobe.com
Date:     2009-11-09T23:20:36.540079Z

Log Message:
-----------
Advanced CSS fix - descendant selectors should search for arbitrary ancestors including when the universal selector is used.

QE notes: Please add test cases for arbitrary ancestor depth that involve using the universal * selector. Thanks for the additional testing on this patch too!
Doc notes: N/A
Bugs:
SDK-23213 - descendent selectors can't catch components more than one level down
Reviewer: Corey
Tests run: Checkintests, test case
Is noteworthy for integration: No

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as

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

--- frameworks/projects/framework/src/mx/styles/CSSSelector.as
+++ frameworks/projects/framework/src/mx/styles/CSSSelector.as
@@ -230,7 +230,8 @@
                         || "*" == ancestor.subject)
                 {
                     match = ancestor.matchesStyleClient(parent);
-                    break;
+                    if (match)
+                        break;
                 }
                 parent = parent.styleParent;
             }


Transferred from the Adobe Open Source Subversion Repository

Revision: 12909
Author:   cframpto@adobe.com
Date:     2009-12-14T18:33:13.575050Z

Log Message:
-----------
Pre-FP10.1, set default tab stops in TLF.  Without this, if there is a tab and TLF is measuring width, the tab will measure as the rest of the remaining width up to 10000.

QE notes:
Doc notes:
Bugs: SDK-24589
Reviewer:
Tests run: checkintests
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>

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

--- frameworks/projects/spark/src/spark/components/RichText.as
+++ frameworks/projects/spark/src/spark/components/RichText.as
@@ -15,11 +15,13 @@
 import flash.display.DisplayObject;
 import flash.text.TextFormat;

+import flashx.textLayout.tlf_internal;
 import flashx.textLayout.compose.ISWFContext;
 import flashx.textLayout.conversion.ConversionType;
 import flashx.textLayout.conversion.ITextExporter;
 import flashx.textLayout.conversion.ITextImporter;
 import flashx.textLayout.conversion.TextConverter;
+import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.GlobalSettings;
 import flashx.textLayout.elements.TextFlow;
 import flashx.textLayout.events.DamageEvent;
@@ -43,6 +45,7 @@
 import spark.utils.TextUtil;

 use namespace mx_internal;
+use namespace tlf_internal

 //--------------------------------------
 //  Styles
@@ -282,19 +285,20 @@
 		if (classInitialized)
 			return;

-		/**
-		 *  Set the TLF hook used for localizing runtime error messages.
-		 *  TLF itself has English-only messages,
-		 *  but higher layers like Flex can provide localized versions.
-		 */
+        // Set the TLF hook used for localizing runtime error messages.
+		// TLF itself has English-only messages,
+		// but higher layers like Flex can provide localized versions.
 		GlobalSettings.resourceStringFunction = TextUtil.getResourceString;

-        /**
-         *  Set the TLF hook used to specify the callback used for changing
-         *  the FontLookup based on SWFContext.
-         */
+        // Set the TLF hook used to specify the callback used for changing
+        // the FontLookup based on SWFContext.
         GlobalSettings.resolveFontLookupFunction = TextUtil.resolveFontLookup;

+        // Pre-FP10.1, set default tab stops in TLF.  Without this, if there
+        // is a tab and TLF is measuring width, the tab will
+        // measure as the rest of the remaining width up to 10000.
+        GlobalSettings.enableDefaultTabStops = !Configuration.playerEnablesArgoFeatures;
+
 		staticStringFactory = new StringTextLineFactory();

 		staticTextFlowFactory = new TextFlowTextLineFactory();


Transferred from the Adobe Open Source Subversion Repository

Revision: 18476
Author:   rfrishbe@adobe.com
Date:     2010-11-05T19:24:22.345498Z

Log Message:
-----------
Adding a "down" state for item renderers when in touch interaction mode.  This means item renderers don't go in to the "selected" state when someone presses down on them.  They first go in to the "down" state.  If the user later starts scrolling or moving around, the item renderer returns to the "normal" state.  If they press down and release up on the same item, the item renderer will go from the "down" state to the "selected" state.  This distinction is necessary on touch devices to distinguish between "down" and "selected".  There's also a new "selectedAndDown" state.

Adding ItemRendererInterationStateDetector as a helper class for item renderer to help detect when they are indeed hovered or pressed down.

QE notes:
Doc notes:
Bugs: SDK-27674, SDK-28110
Reviewer: Eric Day
Tests run: checkintests, full mustella run, QA cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ItemRendererInteractionStateDetector.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/DropDownListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/src/spark/skins/wireframe/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ListBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/wireframe/defaults.css</path>

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

--- frameworks/projects/spark/src/spark/components/Scroller.as
+++ frameworks/projects/spark/src/spark/components/Scroller.as
@@ -87,6 +87,18 @@
  *  @productversion Flex 4
  */
 [Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark, mobile")]
+
+/**
+ *  @copy spark.components.supportClasses.GroupBase#style:downColor
+ *
+ *  @default 0xA8C6EE
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.1
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+[Style(name="downColor", type="uint", format="Color", inherit="yes", theme="mobile")]

 /**
  *  @copy spark.components.supportClasses.GroupBase#style:focusColor
@@ -132,13 +144,15 @@
 [Style(name="horizontalScrollPolicy", type="String", inherit="no", enumeration="off,on,auto")]

 /**
- * @copy spark.components.supportClasses.GroupBase#style:rollOverColor
+ *  @copy spark.components.supportClasses.GroupBase#style:rollOverColor
+ *
+ *  @default 0xCEDBEF
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
- */
+ */
 [Style(name="rollOverColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
@@ -335,6 +349,7 @@
  *    digitWidth="default"
  *    direction="LTR"
  *    dominantBaseline="auto"
+ *    downColor=""
  *    firstBaselineOffset="auto"
  *    focusColor=""
  *    focusedTextSelectionColor=""
@@ -2159,7 +2174,7 @@

         // for the max size, we couldn't decide between using screen width/height or
         // scroller width/height, so we're using a weighted average for it
-        // FIXME (rfrishbe): use stage.stageWidth, stage.width, root.width, or FlexGlobals.topLevelApplication.width?
+        // FIXME (rfrishbe): use stage.stageWidth
         var widthToUseForRatio:Number = (2*scroller.width + scroller.stage.width)/3;
         var heightToUseForRatio:Number = (2*scroller.height + scroller.stage.height)/3;
         var lastMouseEventPoint:Point = mouseEventCoordinatesHistory[endIndex];


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8679
Author:   jimurphy@adobe.com
Date:     2009-07-20T13:23:31.007823Z

Log Message:
-----------
These are Asdoc edit from 3.x rev 8623.  I somehow missed committing these when they were supposed to be committed during my previous merge.

bug: no
qa: no
doc: no
checkintests: pass

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/CallResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractInvoker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/XMLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/IResponder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncToken.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/AbstractService.as
+++ frameworks/projects/rpc/src/mx/rpc/AbstractService.as
@@ -542,8 +542,8 @@
      * accessing a remote, third-party endpoint such as a web service through a
      * proxy or a remote object through a custom adapter when using Data Services on the server side.
      *
-     * @param remoteUsername the username to pass to the remote endpoint
-     * @param remotePassword the password to pass to the remote endpoint
+     * @param remoteUsername The username to pass to the remote endpoint
+     * @param remotePassword The password to pass to the remote endpoint
      * @param charset The character set encoding to use while encoding the
      * remote credentials. The default is null, which implies the legacy charset
      * of ISO-Latin-1. The only other supported charset is "UTF-8".


updated documentation

updated documentation

--- WeaveAPI/src/weave/api/core/IStageUtils.as
+++ WeaveAPI/src/weave/api/core/IStageUtils.as
@@ -86,8 +86,8 @@
 		 *           return index / array.length;  // this will return 1.0 on the last iteration.
 		 *       }
 		 *
+		 *   Example 2 (resumable for loop):
 		 *
-		 *   Example 2 (resumable for loop):
 		 *       var array:Array = ['a','b','c','d'];
 		 *       var index:int = 0;
 		 *       function iterativeTaskWithTimer(returnTime:int):Number // this will be called only once in succession
@@ -102,8 +102,8 @@
 		 *           return 1; // loop finished
 		 *       }
 		 *
+		 *   Example 3 (nested resumable for loops):
 		 *
-		 *   Example 3 (nested resumable for loops):
 		 * 	     var outerArray:Array = [['a','b','c'], ['aa','bb','cc'], ['x','y','z'], ['xx','yy','zz']];
 		 *       var outerIndex:int = 0;
 		 *       var innerArray:Array = null;


added utility method getLabelText

added utility method getLabelText

--- collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/metamodel/proxy/SpatialReferenceSystemProxy.as
+++ collect-flex/collect-flex-client/src/generated/flex/org/openforis/collect/metamodel/proxy/SpatialReferenceSystemProxy.as
@@ -1,14 +1,30 @@
-/**
- * Generated by Gas3 v2.2.0 (Granite Data Services).
- *
- * NOTE: this file is only generated if it does not exist. You may safely put
- * your custom code here.
- */
-
-package org.openforis.collect.metamodel.proxy {
-
-    [Bindable]
-    [RemoteClass(alias="org.openforis.collect.metamodel.proxy.SpatialReferenceSystemProxy")]
-    public class SpatialReferenceSystemProxy extends SpatialReferenceSystemProxyBase {
-    }
+/**
+ * Generated by Gas3 v2.2.0 (Granite Data Services).
+ *
+ * NOTE: this file is only generated if it does not exist. You may safely put
+ * your custom code here.
+ */
+
+package org.openforis.collect.metamodel.proxy {
+
+    [Bindable]
+    [RemoteClass(alias="org.openforis.collect.metamodel.proxy.SpatialReferenceSystemProxy")]
+    public class SpatialReferenceSystemProxy extends SpatialReferenceSystemProxyBase {
+
+		public function getLabelText(language:String="en"):String {
+			if(labels == null || labels.length <=0){
+				return "";
+			} else if(labels.length == 1) {
+				return LanguageSpecificTextProxy(labels.getItemAt(0)).text;
+			} else {
+				for each(var label:LanguageSpecificTextProxy in labels) {
+					if(label.language == language) {
+						return label.text;
+					}
+				}
+			}
+			return "";
+		}
+
+    }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

--- frameworks/projects/automation_flashflexkit/src/mx/automation/delegates/flashflexkit/ContainerMovieClipAutomationImpl.as
+++ frameworks/projects/automation_flashflexkit/src/mx/automation/delegates/flashflexkit/ContainerMovieClipAutomationImpl.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  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.
+//  Licensed to the Apache Software Foundation (ASF) under one or more
+//  contributor license agreements.  See the NOTICE file distributed with
+//  this work for additional information regarding copyright ownership.
+//  The ASF licenses this file to You under the Apache License, Version 2.0
+//  (the "License"); you may not use this file except in compliance with
+//  the License.  You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+//  Unless required by applicable law or agreed to in writing, software
+//  distributed under the License is distributed on an "AS IS" BASIS,
+//  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//  See the License for the specific language governing permissions and
+//  limitations under the License.
 //
 ////////////////////////////////////////////////////////////////////////////////


Fix for RTL layoutDirection style change not updating item renderers

--- frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as
+++ frameworks/projects/advancedgrids/src/mx/controls/AdvancedDataGrid.as
@@ -3939,7 +3939,8 @@
         if (styleProp == "sortFontFamily"
             || styleProp == "sortFontSize"
             || styleProp == "sortFontStyle"
-            || styleProp == "sortFontWeight")
+			|| styleProp == "sortFontWeight"
+			|| styleProp == "layoutDirection")
         {
             itemsSizeChanged = true;
             rendererChanged = true;


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

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

 package mx.binding
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as
@@ -322,7 +322,7 @@
         event.preventDefault();

         // Entering the caret state with the Ctrl key down
-        // FIXME (rfrishbe): shouldn't just check interactionMode but should depend on
+        // TODO (rfrishbe): shouldn't just check interactionMode but should depend on
         // either the platform or whether it was a 5-way button or whether
         // soem other keyboardSelection style.
         if (event.ctrlKey || getStyle("interactionMode") == InteractionMode.TOUCH)


Transferred from the Adobe Open Source Subversion Repository

Revision: 22072
Author:   jasonsj@adobe.com
Date:     2011-08-18T18:14:51.387719Z

Log Message:
-----------
PARB rename CalloutContentBackgroundAppearance to ContentBackgroundAppearance.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/MobileComponentsClasses.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutContentBackgroundAppearance.as" copyfrom-rev="22006" action="A">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/ContentBackgroundAppearance.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/CalloutContentBackgroundAppearance.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/CalloutSkin.as
@@ -27,7 +27,7 @@

 import spark.components.ArrowDirection;
 import spark.components.Callout;
-import spark.components.CalloutContentBackgroundAppearance;
+import spark.components.ContentBackgroundAppearance;
 import spark.components.Group;
 import spark.core.SpriteVisualElement;
 import spark.effects.Fade;
@@ -357,6 +357,25 @@
     {
         super.commitProperties();

+        // add or remove the contentBackgroundGraphic
+        var contentBackgroundAppearance:String = getStyle("contentBackgroundAppearance");
+
+        if (contentBackgroundAppearance == ContentBackgroundAppearance.INSET)
+        {
+            // create the contentBackgroundGraphic
+            if (contentBackgroundInsetClass && !contentBackgroundGraphic)
+                contentBackgroundGraphic = new contentBackgroundInsetClass() as SpriteVisualElement;
+
+            if (contentBackgroundGraphic)
+                addChildAt(contentBackgroundGraphic, getChildIndex(contentGroup));
+        }
+        else if (contentBackgroundGraphic)
+        {
+            // if already created, remove the graphic for "flat" and "none"
+            removeChild(contentBackgroundGraphic);
+            contentBackgroundGraphic = null;
+        }
+
         // always invalidate to accomodate arrow direction changes
         invalidateSize();
         invalidateDisplayList();
@@ -520,10 +539,10 @@
             frameHeight, frameEllipseSize, frameEllipseSize);
         bgFill.endFill();

+        // draw content background styles
         var contentBackgroundAppearance:String = getStyle("contentBackgroundAppearance");

-        // draw content background styles
-        if (contentBackgroundAppearance != CalloutContentBackgroundAppearance.NONE)
+        if (contentBackgroundAppearance != ContentBackgroundAppearance.NONE)
         {
             var contentEllipseSize:Number = contentCornerRadius * 2;
             var contentBackgroundAlpha:Number = getStyle("contentBackgroundAlpha");
@@ -544,20 +563,6 @@
                 contentEllipseSize, contentEllipseSize);
             maskGraphics.endFill();

-            // add or remove the contentBackgroundGraphic
-            if (contentBackgroundAppearance == CalloutContentBackgroundAppearance.INSET)
-            {
-                // create the contentBackgroundGraphic
-                if (contentBackgroundInsetClass && !contentBackgroundGraphic)
-                    contentBackgroundGraphic = new contentBackgroundInsetClass() as SpriteVisualElement;
-
-                if (contentBackgroundGraphic)
-                {
-                    addChild(contentBackgroundGraphic);
-                    contentBackgroundGraphic.alpha = contentBackgroundAlpha;
-                }
-            }
-
             // reset line style to none
             if (showBorder)
                 bgFill.lineStyle(NaN);
@@ -569,6 +574,9 @@
                 contentGroup.getLayoutBoundsY(),
                 contentWidth, contentHeight, contentEllipseSize, contentEllipseSize);
             bgFill.endFill();
+
+            if (contentBackgroundGraphic)
+                contentBackgroundGraphic.alpha = contentBackgroundAlpha;
         }
         else // if (contentBackgroundAppearance == CalloutContentBackgroundAppearance.NONE))
         {
@@ -578,14 +586,6 @@
                 contentGroup.mask = null;
                 contentMask = null;
             }
-        }
-
-        // if already created, remove the graphic for "flat" and "none"
-        if (contentBackgroundGraphic &&
-            (contentBackgroundAppearance != CalloutContentBackgroundAppearance.INSET))
-        {
-            removeChild(contentBackgroundGraphic);
-            contentBackgroundGraphic = null;
         }

         // draw highlight in the callout when the arrow is hidden
@@ -682,6 +682,16 @@
             setElementSize(contentMask, contentBackgroundWidth, contentBackgroundHeight);
     }

+    override public function styleChanged(styleProp:String):void
+    {
+        super.styleChanged(styleProp);
+
+        var allStyles:Boolean = !styleProp || styleProp == "styleName";
+
+        if (allStyles || (styleProp == "contentBackgroundAppearance"))
+            invalidateProperties();
+    }
+
     /**
      * @private
      */


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

--- frameworks/projects/automation_spark/src/spark/automation/delegates/components/mediaClasses/SparkVolumeBarAutomationImpl.as
+++ frameworks/projects/automation_spark/src/spark/automation/delegates/components/mediaClasses/SparkVolumeBarAutomationImpl.as
@@ -0,0 +1,198 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.automation.delegates.components.mediaClasses
+{
+	import flash.display.DisplayObject;
+	import flash.events.Event;
+	import flash.events.KeyboardEvent;
+	import flash.events.MouseEvent;
+	import flash.ui.Keyboard;
+	import flash.utils.getTimer;
+
+	import mx.automation.Automation;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.core.mx_internal;
+	import mx.events.FlexEvent;
+
+	import spark.automation.delegates.components.supportClasses.SparkSliderBaseAutomationImpl;
+	import spark.components.mediaClasses.VolumeBar;
+	import spark.events.DropDownEvent;
+
+	use namespace mx_internal;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines methods and properties required to perform instrumentation for the
+	 *  VolumeBar control.
+	 *
+	 *  @see spark.components.mediaClasses.VolumeBar
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 4
+	 */
+	public class SparkVolumeBarAutomationImpl extends SparkSliderBaseAutomationImpl
+	{
+		include "../../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(spark.components.mediaClasses.VolumeBar, SparkVolumeBarAutomationImpl);
+		}
+
+		/**
+		 *  Constructor.
+		 * @param obj VolumeBar object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function SparkVolumeBarAutomationImpl(obj:spark.components.mediaClasses.VolumeBar)
+		{
+			super(obj);
+
+			obj.addEventListener(spark.events.DropDownEvent.CLOSE, openCloseHandler, false, 0, true);
+			obj.addEventListener(spark.events.DropDownEvent.OPEN, openCloseHandler, false, 0, true);
+			obj.addEventListener(mx.events.FlexEvent.MUTED_CHANGE, muteChangeHandler, false, 0, true);
+		}
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		protected function get sparkVolumeBar():spark.components.mediaClasses.VolumeBar
+		{
+			return uiComponent as spark.components.mediaClasses.VolumeBar;
+
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Event handlers
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		private function openCloseHandler(event:spark.events.DropDownEvent):void
+		{
+			// if we have a drop down object, we need to listen to the record
+			// events coming from the same in the open handler and remove the same
+			// in the close handler.
+			// ref: DropDownListBaseAutomationImpl
+
+			if (event.type == DropDownEvent.OPEN)
+			{
+				recordAutomatableEvent(event);
+			}
+		}
+
+		/**
+		 *  @private
+		 */
+		private function muteChangeHandler(event:mx.events.FlexEvent):void
+		{
+			recordAutomatableEvent(event);
+		}
+
+		override public function replayAutomatableEvent(event:Event):Boolean
+		{
+			var completeTime:Number;
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+
+			if (event is mx.events.FlexEvent)
+			{
+				// we need to replay the click on the muteButton
+				if(event.type == FlexEvent.MUTED_CHANGE)
+				{
+					help.replayClick(sparkVolumeBar.muteButton);
+				}
+			}
+			else if (event is KeyboardEvent)
+			{
+				var keyEvent:KeyboardEvent = event as KeyboardEvent;
+
+				// if volumeBar is closing due to either selection or escape we need to wait
+				// and sync up
+				if (keyEvent.keyCode == Keyboard.ENTER || keyEvent.keyCode == Keyboard.ESCAPE)
+				{
+					completeTime = getTimer() + sparkVolumeBar.getStyle("closeDuration");
+
+					help.addSynchronization(function():Boolean
+					{
+						return getTimer() >= completeTime;
+					});
+				}
+				return help.replayKeyboardEvent(uiComponent, KeyboardEvent(event));
+				//}
+			}
+			else if (event is spark.events.DropDownEvent)
+			{
+				var cbdEvent:spark.events.DropDownEvent = spark.events.DropDownEvent(event);
+				if (cbdEvent.triggerEvent is KeyboardEvent)
+				{
+					var kbEvent:KeyboardEvent =
+						new KeyboardEvent(KeyboardEvent.KEY_DOWN);
+					kbEvent.keyCode =
+						(cbdEvent.type == spark.events.DropDownEvent.OPEN
+							? Keyboard.DOWN
+							: Keyboard.UP);
+					kbEvent.ctrlKey = true;
+					help.replayKeyboardEvent(uiComponent, kbEvent);
+				}
+				else //triggerEvent is MouseEvent
+				{
+					// Usually we dispatch mouseClick events. But as they are handled in a different way
+					// for this component, we are dispatching a roll_over and mouse_down events
+					help.replayMouseEvent(sparkVolumeBar.muteButton, new MouseEvent(MouseEvent.ROLL_OVER));
+					help.replayMouseEvent(sparkVolumeBar.muteButton, new MouseEvent(MouseEvent.MOUSE_DOWN));
+				}
+
+				completeTime = getTimer() +
+					sparkVolumeBar.getStyle(cbdEvent.type == spark.events.DropDownEvent.OPEN ?
+						"openDuration" :
+						"closeDuration");
+
+				help.addSynchronization(function():Boolean
+				{
+					return getTimer() >= completeTime;
+				});
+
+				return true;
+			}
+
+			return super.replayAutomatableEvent(event);
+		}
+	}
+}


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

--- frameworks/projects/framework/src/mx/events/RSLEvent.as
+++ frameworks/projects/framework/src/mx/events/RSLEvent.as
@@ -1,3 +1,13 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2006 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.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/mx/src/mx/containers/TitleWindow.as
+++ frameworks/projects/mx/src/mx/containers/TitleWindow.as
@@ -263,7 +263,7 @@
      */
     public function get showCloseButton():Boolean
     {
-        return mx_internal::_showCloseButton;
+        return _showCloseButton;
     }

     /**
@@ -271,7 +271,7 @@
      */
     public function set showCloseButton(value:Boolean):void
     {
-        mx_internal::_showCloseButton = value;
+        _showCloseButton = value;
     }

     //--------------------------------------------------------------------------


Transferred from the Adobe Open Source Subversion Repository

Revision: 11811
Author:   dsubrama@adobe.com
Date:     2009-11-14T20:14:54.284449Z

Log Message:
-----------
Fixes for FXG 2.0.

SDK-23790 - We now set the blendMode correctly when switching from an AIM blendMode to a native Flash one.

SDK-24039 - We hoisted the AIM blendMode support up to UIComponent as per Catalyst's request.

SDK-23715 - Positioning of radial gradient strokes is now correct.

As part of this change, the spark.primitives.supportClasses.shaders packaged move into the framework swc/project, specifically mx.graphics.shaderClasses.

QE notes: Regression and re-gening of so many bitmaps.
Doc notes: None
Bugs: SDK-23790, SDK-24039, SDK-23715
Reviewer: Jason/Evtim/Pete
Tests run: Checkintests - known failures with bitmaps
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/shaders</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskFilter.pbk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodgeShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/HueShader.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLight.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLight.pbk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurn.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurn.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ExclusionShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/HueShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/FilledElement.as</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/spark/asdoc/en_US/spark/primitives/supportClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SoftLightShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorBurnShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/SaturationShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Saturation.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Saturation.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/SparkClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/SoftLightShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ks5792.jpg</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorBurnShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/SaturationShader.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Exclusion.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Exclusion.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/LuminosityShaderExample.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Path.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Luminosity.pbj</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Luminosity.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Color.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Color.pbk</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/ColorDodgeShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Hue.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodge.pbj</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/Hue.pbk</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ColorDodge.pbk</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/asdoc/en_US/mx/graphics/shaderClasses/examples/LuminosityMaskShaderExample.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/ExclusionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/StrokedElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/shaderClasses/LuminosityMaskFilter.pbj</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -25,6 +25,14 @@
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
+import mx.graphics.shaderClasses.ColorBurnShader;
+import mx.graphics.shaderClasses.ColorDodgeShader;
+import mx.graphics.shaderClasses.ColorShader;
+import mx.graphics.shaderClasses.ExclusionShader;
+import mx.graphics.shaderClasses.HueShader;
+import mx.graphics.shaderClasses.LuminosityShader;
+import mx.graphics.shaderClasses.SaturationShader;
+import mx.graphics.shaderClasses.SoftLightShader;
 import mx.styles.ISimpleStyleClient;
 import mx.styles.IStyleClient;
 import mx.styles.StyleProtoChain;
@@ -34,14 +42,6 @@
 import spark.core.IGraphicElement;
 import spark.core.ISharedDisplayObject;
 import spark.events.ElementExistenceEvent;
-import spark.primitives.supportClasses.shaders.ColorBurnShader;
-import spark.primitives.supportClasses.shaders.ColorDodgeShader;
-import spark.primitives.supportClasses.shaders.ColorShader;
-import spark.primitives.supportClasses.shaders.ExclusionShader;
-import spark.primitives.supportClasses.shaders.HueShader;
-import spark.primitives.supportClasses.shaders.LuminosityShader;
-import spark.primitives.supportClasses.shaders.SaturationShader;
-import spark.primitives.supportClasses.shaders.SoftLightShader;

 use namespace mx_internal;

@@ -387,11 +387,7 @@
             // If one of the non-native Flash blendModes is set,
             // record the new value and set the appropriate
             // blendShader on the display object.
-            if (value == "colordodge" ||
-                value =="colorburn" || value =="exclusion" ||
-                value =="softlight" || value =="hue" ||
-                value =="saturation" || value =="color" ||
-                value =="luminosity")
+            if (isAIMBlendMode(value))
             {
                 blendShaderChanged = true;
             }
@@ -739,19 +735,27 @@
         if (blendModeChanged)
         {
             blendModeChanged = false;
-            if (!blendShaderChanged)
-            {
-                if (_blendMode == "auto")
-                {
-                    if (alpha == 0 || alpha == 1)
-                        super.blendMode = BlendMode.NORMAL;
-                    else
-                        super.blendMode = BlendMode.LAYER;
-                }
-                else
-                    super.blendMode = _blendMode;
-            }
-            else
+
+            // Figure out the correct blendMode value
+            // to set.
+            if (_blendMode == "auto")
+            {
+                if (alpha == 0 || alpha == 1)
+                    super.blendMode = BlendMode.NORMAL;
+                else
+                    super.blendMode = BlendMode.LAYER;
+            }
+            else if (!isAIMBlendMode(_blendMode))
+            {
+                super.blendMode = _blendMode;
+            }
+                // The blendMode is neither a native value,
+                // or the 'auto' value so lets set blendMode
+                // to normal.
+            else
+                super.blendMode = "normal";
+
+            if (blendShaderChanged)
             {
                 // The graphic element's blendMode was set to a non-Flash
                 // blendMode. We mimic the look by instantiating the
@@ -1086,6 +1090,20 @@
         if (index < 0 || index > maxIndex)
             throw new RangeError(resourceManager.getString("components", "indexOutOfRange", [index]));
     }
+
+    /**
+     * @private
+     */
+    private function isAIMBlendMode(value:String):Boolean
+    {
+        if (value == "colordodge" ||
+            value =="colorburn" || value =="exclusion" ||
+            value =="softlight" || value =="hue" ||
+            value =="saturation" || value =="color" ||
+            value =="luminosity")
+            return true;
+        else return false;
+    }

     /**
      *  @inheritDoc


Transferred from the Adobe Open Source Subversion Repository

Revision: 3020
Author:   hmuller@adobe.com
Date:     2008-08-27T23:15:11.883082Z

Log Message:
-----------
Group/Viewport changes per feedback from the kick-off meeting.

Group contentWidth,Height properties are now read-only.  Layouts
must set them with new method Group::setContentSize().

Layouts call setContentSize at both measure and updateDisplayList
time.  Doing so at measure time may be unnecessary although
the measured size of scrollbar thumbs can depend indirectly on
a Group's content size.

Group now updates its own scrollRect at updateDisplayList time, rather
than having each layout do so

QE: Yes
Doc: No
Checkintests: Pass
Reviewer: Ryan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/layout/VerticalLayout.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -459,6 +459,40 @@
             _layout.measure();
     }

+    /**
+     *  @private
+     *  Conditionally sets the origin of the scrollRect to
+     *  verticalScrollPosition,horizontalScrollPosition and its width
+     *  width,height to w,h (unscaledWidth,unscaledHeight).  We avoid setting
+     *  the scrollRect (and therefore clipping) when scrolling isn't indicated:
+     *  if the scrollRect is currently null and the scrollPosition properties
+     *  are 0, and the Group's contentWidth,Height is <= to
+     *  unscaledWidth/Height, then the scrollRect is not set.
+     */
+    private function updateScrollRect(w:Number, h:Number):void
+    {
+        var r:Rectangle = scrollRect;
+        if (r)
+        {
+            r.width = w;
+            r.height = h;
+            scrollRect = r;
+        }
+        else // scrollRect wasn't set
+        {
+            var hsp:Number = horizontalScrollPosition;
+            var vsp:Number = verticalScrollPosition;
+            var cw:Number = contentWidth;
+            var ch:Number = contentHeight;
+
+            // Don't set the scrollRect needlessly.
+            if ((hsp != 0) || (vsp != 0) || (cw > w) || (ch > h))
+            {
+                scrollRect = new Rectangle(hsp, vsp, w, h);
+            }
+        }
+    }
+
     override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
     {
         super.updateDisplayList(unscaledWidth, unscaledHeight);
@@ -479,6 +513,8 @@
                     element.validateDisplayList();
             }
         }
+
+        updateScrollRect(unscaledWidth, unscaledHeight);
     }

     override public function addChild(child:DisplayObject):DisplayObject
@@ -580,12 +616,51 @@

     //----------------------------------
-    //  contentWidth,Height
-    //----------------------------------
-
-    [Bindable] public var contentWidth:Number;
-    [Bindable] public var contentHeight:Number;
-
+    //  contentWidth
+    //----------------------------------
+
+    private var _contentWidth:Number = 0;
+
+    [Bindable]
+    [Inspectable(category="General")]
+
+    public function get contentWidth():Number
+    {
+        return _contentWidth;
+    }
+
+    private function set contentWidth(value:Number):void
+    {
+        _contentWidth = value;
+    }
+
+    //----------------------------------
+    //  contentHeight
+    //----------------------------------
+
+    private var _contentHeight:Number = 0;
+
+    [Bindable]
+    [Inspectable(category="General")]
+
+    public function get contentHeight():Number
+    {
+        return _contentHeight;
+    }
+
+    private function set contentHeight(value:Number):void
+    {
+        _contentHeight = value;
+    }
+
+
+    public function setContentSize(w:Number, h:Number):void
+    {
+    	if ((w == _contentWidth) && (h == _contentHeight))
+    	   return;
+    	contentWidth = w;
+    	contentHeight = h;
+    }

     //--------------------------------------------------------------------------
     //


Transferred from the Adobe Open Source Subversion Repository

Revision: 10075
Author:   rfrishbe@adobe.com
Date:     2009-09-09T01:01:58.077369Z

Log Message:
-----------
Cleanups from the spark text changes and some bug fixes for VideoElement.  Also some PARB changes for UIComponent.

TitleBar: Changing the skin part type from Label to Textbase

UIComponent: skipMeasure()->canSkipMeasurement() to be in line with GraphicElement.  This has been PARB approved.
UIComponent: same with hasComplexLayoutMatrix...this replaces hasDeltaIdentityTransform.  This has been PARB approved.

StyleProtoChain: cleanup around what interfaces to use

TextBase: clean up code that’s no longer needed.

VideoElement: Fixing 4 bugs:
SDK-22824: sourceLastPlayed keeps track of what video file we’ve called play() with last.  This way if a user pauses the video and wants to start it up again at the same point, we can call play(null) on the underlying FLVPlayback videoPlayer.  However, anytime the souce changes, we want to null out sourceLastPlayed.  This was causing a bug when someone set the source to null and then reset it to it’s previous value.

SDK-23034 (GUMBO_PRIORITY): This deals with some FLVPlayback quirks around sizing.  I had put in a fix so we weren’t setting width/height on the underlying videoPlayer too many times, but apparently we need to make sure it always gets called once.  Hopefully when switching to Strobe we can cleanup this logic...I put a FIXME in to do this.

SDK-21947/ SDK-22533 - some video files don’t always send out a metadata event.  I’m not quite sure why this is, but in case this happens, we do a check in the ready handler to see whether we should call invalidateSize() to make sure it gets sized properly.

QE notes:-
Doc notes:-
Bugs: SDK-22824, SDK-23034, SDK-21947, SDK-22533
Reviewer: Glenn, Corey
Tests run: checkintests, Button, GraphicTags, VideoElement, and VideoPlayer (some VideoPlayer were failing, but I think it should be fine)
Is noteworthy for integration: Yes

Modified Paths:
--------------
<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/components/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Skin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.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/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/VideoElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -920,7 +920,7 @@

     /**
      *  @private
-     *  FIXME (rfrishbe): Most of this code is a duplicate of UIComponent::notifyStyleChangeInChildren,
+     *  TODO (rfrishbe): Most of this code is a duplicate of UIComponent::notifyStyleChangeInChildren,
      *  refactor as appropriate to avoid code duplication once we have a common
      *  child iterator between UIComponent and Group.
      */
@@ -946,7 +946,7 @@

     /**
      *  @private
-     *  FIXME (rfrishbe): Most of this code is a duplicate of UIComponent::regenerateStyleCache,
+     *  TODO (rfrishbe): Most of this code is a duplicate of UIComponent::regenerateStyleCache,
      *  refactor as appropriate to avoid code duplication once we have a common
      *  child iterator between UIComponent and Group.
      */
@@ -1392,18 +1392,6 @@

         if (child is IStyleClient)
             IStyleClient(child).notifyStyleChangeInChildren(null, true);
-
-        // FIXME (egeorgie): why do we need this here? We should not be hard-coding
-        // against concrete GraphicElement types, maybe move this to a different
-        // interface (IGraphicElement or IAdvancedStyleClient)?
-        //
-        // Inform the component that it's style properties
-        // have been fully initialized. Most components won't care,
-        // but some need to react to even this early change.
-        if (child is TextBase)
-            TextBase(child).stylesInitialized();
-
-        // FIXME (rfrishbe): Remove above
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 4009
Author:   jimurphy@adobe.com
Date:     2008-11-04T15:10:34.970681Z

Log Message:
-----------
Merged alpha_gumbo revisions 3929,3936-3937,3945,3956,3971,3986,3994,4002,4006 -> trunk

Modified Paths:
--------------
<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/flex4/src/mx/graphics/BitmapGraphic.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/flex4/src/mx/effects/FxRotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_component_icon.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_container_icon_small.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInstance.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/ResizeMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_container_icon.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/utilities/src/flash_component_icon_small.png</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -63,6 +63,12 @@
  *  @eventType mx.events.ItemExistenceChangedEvent.ITEM_REMOVE
  */
 [Event(name="itemRemove", type="mx.events.ItemExistenceChangedEvent")]
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="content", kind="property")]

 //--------------------------------------
 //  Other metadata
@@ -866,6 +872,7 @@

         if (keepLayeringEnabled == false)
             layeringMode = ITEM_ORDERED_LAYERING;
+        invalidateDisplayList();
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 12038
Author:   smgilson@adobe.com
Date:     2009-11-20T13:42:29.011224Z

Log Message:
-----------
Various ASDoc fixes:

- Update DropDownListSkin.mxml for SDK-22632
- Update Group.as for FLEXDOCS-862
- Fix invalid HTML in DropDownList.as

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/DropDownListSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Group.as</path>

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

--- frameworks/projects/spark/src/spark/components/Group.as
+++ frameworks/projects/spark/src/spark/components/Group.as
@@ -63,7 +63,7 @@
 [Event(name="elementAdd", type="spark.events.ElementExistenceEvent")]

 /**
- *  Dispatched when a visual element is removed to the content holder.
+ *  Dispatched when a visual element is removed from the content holder.
  *  event.element is the visual element that's being removed.
  *
  *  @eventType spark.events.ElementExistenceEvent.ELEMENT_REMOVE


Transferred from the Adobe Open Source Subversion Repository

Revision: 8487
Author:   smgilson@adobe.com
Date:     2009-07-09T18:57:21.985536Z

Log Message:
-----------
final checkin to update the namespace in ASDoc MXML syntax descriptions for Spark components

QE Notes: None
Doc Notes: None
Bugs: -
Checkintests: passed

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/EaseInOutBase.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/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransitionShader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/Graphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Wipe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.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/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/easing/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Keyframe.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/SetAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/filters/GradientFilter.as</path>

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

--- frameworks/projects/spark/src/spark/effects/Rotate3D.as
+++ frameworks/projects/spark/src/spark/effects/Rotate3D.as
@@ -40,7 +40,7 @@
  *
  *  @mxml
  *
- *
The <mx:Rotate3D> tag
+ *
The <s:Rotate3D> tag
  *  inherits all of the tag attributes of its superclass,
  *  and adds the following tag attributes:

  *


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 8336
Author:   jszeto@adobe.com
Date:     2009-06-26T21:16:13.987948Z

Log Message:
-----------
Halo Spark Skinning Fix

http://bugs.adobe.com/jira/browse/SDK-19599 - symbolColor does not work on some of our Halo components.

These skins were using .png for their arrow buttons and icons. I created SparkSkin versions of each of these .pngs.

These changes affect the following components:

DateChooser
-	Month and year arrows

ColorPicker
-	Down arrow

Menu
-	Branch icon
-	Check icon
-	Radio icon

QE Notes: None
Doc Notes: None
Bugs: SDK-19599
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuArrow.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuRadio.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/ArrowDownSmall.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/DateChooserArrowLeftDown.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DataGridSortArrow.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/ArrowUpSmallDown.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuCheckDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextMonthSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/DateChooserArrowLeft.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/ColorPickerArrow.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridSortArrow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/build.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/ArrowUpSmall.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserNextYearSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/assets/MenuArrow.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuArrowDisabled.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/graphics/BitmapFill.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/DateChooserArrowRightDown.png</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuRadioDisabled.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/ArrowDownSmallOver.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/DateChooserArrowRight.png</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/DateChooserPrevMonthSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/DateChooserArrowLeftOver.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/ArrowUpSmallOver.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/assets/MenuArrow_disabled.png</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/SparkSkinsClasses.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/MenuCheck.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/framework/defaults.css</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/ArrowDownSmallDown.png</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/sparkskins/src/mx/skins/spark/assets/DateChooserArrowRightOver.png</path>

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

--- frameworks/projects/sparkskins/src/SparkSkinsClasses.as
+++ frameworks/projects/sparkskins/src/SparkSkinsClasses.as
@@ -34,6 +34,7 @@
 	import mx.skins.spark.ComboBoxSkin; ComboBoxSkin;
 	import mx.skins.spark.DataGridHeaderBackgroundSkin; DataGridHeaderBackgroundSkin;
 	import mx.skins.spark.DataGridHeaderSeparatorSkin; DataGridHeaderSeparatorSkin;
+	import mx.skins.spark.DataGridSortArrow; DataGridSortArrow;
 	import mx.skins.spark.DateChooserNextMonthSkin; DateChooserNextMonthSkin;
 	import mx.skins.spark.DateChooserNextYearSkin; DateChooserNextYearSkin;
 	import mx.skins.spark.DateChooserPrevMonthSkin; DateChooserPrevMonthSkin;
@@ -43,6 +44,12 @@
 	import mx.skins.spark.DateChooserTodayIndicatorSkin; DateChooserTodayIndicatorSkin;
 	import mx.skins.spark.EditableComboBoxSkin; EditableComboBoxSkin;
 	import mx.skins.spark.LinkButtonSkin; LinkButtonSkin;
+	import mx.skins.spark.MenuArrow; MenuArrow;
+	import mx.skins.spark.MenuArrowDisabled; MenuArrowDisabled;
+	import mx.skins.spark.MenuCheck; MenuCheck;
+	import mx.skins.spark.MenuCheckDisabled; MenuCheckDisabled;
+	import mx.skins.spark.MenuRadio; MenuRadio;
+	import mx.skins.spark.MenuRadioDisabled; MenuRadioDisabled;
 	import mx.skins.spark.MenuItemSkin; MenuItemSkin;
 	import mx.skins.spark.MenuSeparatorSkin; MenuSeparatorSkin;
 	import mx.skins.spark.PanelBorderSkin; PanelBorderSkin;


Transferred from the Adobe Open Source Subversion Repository

Revision: 3923
Author:   smgilson@adobe.com
Date:     2008-10-28T14:11:21.602235Z

Log Message:
-----------
Fix @copy tags that referenced tcal, and update another asdoc comment

QE Notes: None
Doc Notes: None
Bugs: -
Reviewer:

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedCharacterFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicContainerFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicParagraphFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedContainerFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/AdvancedParagraphFormatTextStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/styles/metadata/BasicCharacterFormatTextStyles.as</path>

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

--- frameworks/projects/airframework/src/mx/controls/HTML.as
+++ frameworks/projects/airframework/src/mx/controls/HTML.as
@@ -206,7 +206,7 @@
  *  />
  *

  *
- *  @see flash.html.HTMLLoader
+ *  @see ../../flash/html/HTMLLoader.html HTMLLoader
  *
  *  @playerversion AIR 1.1
  */
@@ -317,8 +317,8 @@
         mx_internal::_horizontalScrollPolicy = ScrollPolicy.AUTO;
         mx_internal::_verticalScrollPolicy = ScrollPolicy.AUTO;

-		tabEnabled = false;
-		tabChildren = true;
+        tabEnabled = false;
+        tabChildren = true;
     }

     //--------------------------------------------------------------------------
@@ -490,8 +490,8 @@
      *  Entries less than the current position are the "back" list;
      *  entries greater are "forward."
      *  Attempting to set the position beyond the end sets it to the end.

-	 *
-	 *  @default 0
+     *
+     *  @default 0
      */
     public function get historyPosition():int
     {
@@ -535,7 +535,7 @@
     /**
      *  The IFactory that creates an HTMLLoader-derived instance
      *  to use as the htmlLoader.
-	 *
+     *
      *
The default value is an IFactory for HTMLLoader.

      */
     public function get htmlLoaderFactory():IFactory
@@ -550,7 +550,7 @@
     {
         _htmlLoaderFactory = value;

-		dispatchEvent(new Event("htmlLoaderFactoryChanged"));
+        dispatchEvent(new Event("htmlLoaderFactoryChanged"));
     }

     //----------------------------------
@@ -578,8 +578,8 @@
      *  override its member functions
      *  to handle various user interface changes in the HTML content,
      *  and set this property to an instance of your subclass.

-	 *
-	 *  @default null
+     *
+     *  @default null
      */
     public function get htmlHost():HTMLHost
     {
@@ -620,13 +620,13 @@
      *
Setting this property has the side effect of setting
      *  the location property to null,
      *  and vice versa.

-	 *
-	 *
Content added via the htmlText property is put in the
-	 *  application security sandbox. If an AIR application includes an HTML
-	 *  control located in the application sandbox, and remote HTML code is
-	 *  directly added into the control by setting the  htmlText
-	 *  property, any script contained in the HTML text is executed in the
-	 *  application sandbox.

+     *
+     *
Content added via the htmlText property is put in the
+     *  application security sandbox. If an AIR application includes an HTML
+     *  control located in the application sandbox, and remote HTML code is
+     *  directly added into the control by setting the  htmlText
+     *  property, any script contained in the HTML text is executed in the
+     *  application sandbox.

      *
      *  @default ""
      *
@@ -827,8 +827,8 @@
      *
However, if any HTML element has its own opaque background color
      *  (specified by style="background-color:gray", for instance),
      *  then that background appears behind that element.

-	 *
-	 *  @default false;
+     *
+     *  @default false;
      */
     public function get paintsDefaultBackground():Boolean
     {
@@ -1245,10 +1245,10 @@
      */
     override protected function mouseWheelHandler(event:MouseEvent):void
     {
-    	// Ignore mouseWheel events that are bubbling up
-    	// from the HTMLLoader; they have already been handled there.
-    	if (event.target != this)
-    		return;
+        // Ignore mouseWheel events that are bubbling up
+        // from the HTMLLoader; they have already been handled there.
+        if (event.target != this)
+            return;

         // Magnify the scrolling to approximate what browsers do.
         event.delta *= 6;
@@ -1318,7 +1318,7 @@
      */
     private function htmlLoader_scrollHandler(event:Event):void
     {
-    	horizontalScrollPosition = htmlLoader.scrollH;
+        horizontalScrollPosition = htmlLoader.scrollH;
         verticalScrollPosition = htmlLoader.scrollV;
     }