Apache license 2.0 added.

Apache license 2.0 added.

--- tui_flashdevelop4_2_1__tuioAS3_0_8__AIR2_6/lib/touchAll/demos/cube3Ddemo/Cube3Ddemo.as
+++ tui_flashdevelop4_2_1__tuioAS3_0_8__AIR2_6/lib/touchAll/demos/cube3Ddemo/Cube3Ddemo.as
@@ -1,3 +1,20 @@
+/*
+ * Tangible User Interfacer (former TouchAll) demo.
+ *
+ * Copyright 2016 Gonçalo Amador <g.n.p.amador@gmail.com>
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 package touchAll.demos.cube3Ddemo
 {
 	import flash.display.*;
@@ -29,4 +46,4 @@
 			tAll.tuioLoader();
 		}
 	}
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 13965
Author:   build@adobe.com
Date:     2010-02-03T20:37:12.428300Z

Log Message:
-----------
Version update to 4.5.0

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_air/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/datavisualization/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_spark/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_flashflexkit/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/automation_dmv/src/mx/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/core/Version.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/VersionInfo.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Version.as</path>

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

--- frameworks/projects/charts/src/mx/core/Version.as
+++ frameworks/projects/charts/src/mx/core/Version.as
@@ -15,4 +15,4 @@
  *  @private
  *  Version string for this class.
  */
-mx_internal static const VERSION:String = "4.0.0.0";
+mx_internal static const VERSION:String = "4.5.0.13964";


Transferred from the Adobe Open Source Subversion Repository

Revision: 9309
Author:   jimurphy@adobe.com
Date:     2009-08-14T12:57:06.648526Z

Log Message:
-----------
Merged 3.x revisions 8758,8762-8763,8765,8844-8845,8906,8970,9030,9049,9055,9096-9097,9191,9208,9221,9228,9242,9278 -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateBase.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/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/LocaleSorter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/mx/src/mx/controls/MenuBar.as
+++ frameworks/projects/mx/src/mx/controls/MenuBar.as
@@ -1847,6 +1847,13 @@
             menu.addEventListener(MenuEvent.MENU_HIDE, menuHideHandler, false, EventPriority.DEFAULT_HANDLER);
         }

+        // pop it up if we haven't already.  this allows us to validate the menu and get correct sizes
+        if (menu.parentDisplayObject && (!menu.parent || !menu.parent.contains(menu.parentDisplayObject)))
+        {
+            PopUpManager.addPopUp(menu, this, false);
+            menu.addEventListener(MenuEvent.MENU_HIDE, menuHideHandler, false, EventPriority.DEFAULT_HANDLER);
+        }
+
         UIComponentGlobals.layoutManager.validateClient(menu, true);

         // popups go on the root of the swf which if loaded, is not


added Security.allowInsecureDomain

added Security.allowInsecureDomain

--- src/org/openvv/OVVBeacon.as
+++ src/org/openvv/OVVBeacon.as
@@ -96,6 +96,7 @@
             super();

             Security.allowDomain("*");
+            Security.allowInsecureDomain("*");

             _id = loaderInfo.parameters.id;
             _index = loaderInfo.parameters.index;
@@ -222,4 +223,4 @@
             graphics.endFill();
         }
     }
-}+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 2905
Author:   clucier@adobe.com
Date:     2008-08-19T20:45:59.993275Z

Log Message:
-----------
Changes to allow UIComponent to take advantage of the new bindable filters (bindable wrappers around DropShadowFilter, GlowFilter, etc. that will force the filter stack to be re-evaluated when one or more of the filter parameters change). Checkin-tests: PASS
Reviewer: Jason
Bugs: SDK-16311
QA: Yes

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/Parser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ConvolutionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseDimensionFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/IBitmapFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/BitmapGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GradientFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BlurFilter.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/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/DropShadowFilter.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/flex4/src/flex/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/flex/filters/BaseFilter.as" copyfrom-rev="2873" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>

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

--- frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as
+++ frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as
@@ -1,4 +1,4 @@
-package flex.filters
+package mx.filters
 {
 import flash.events.IEventDispatcher;
 import flash.filters.BitmapFilterQuality;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6018
Author:   pfarland@adobe.com
Date:     2009-04-08T15:36:36.925077Z

Log Message:
-----------
API changes from PARB review of Advanced CSS additions.

Changes include:
- Fold IStyleManager3 back into IStyleManager2
- Remove CSSSelectorKind enum as it is not needed.
- Update CSSStyleDeclaration constructor to accept either a CSSSelector or legacy String selector.
- Update CSSConditionKind enum to use Strings
- Revert concept of StyleManager.addCSSStyleDeclaration() so that we continue to use the Flex 3 restriction of one CSSStyleDeclaration per unique selector String.
- Minor renames for lower level APIs such as IAdvancedStyleClient's isPseudoSelectorMatch() -> matchesCSSState(), and isTypeSelectorMatch)() -> matchesCSSType()
- Update ASDoc comment version info for APIs that were really added in Gumbo
- Add compiler warning for unqualified type selectors (e.g. when a type selector probably needs a namespace prefix).
- Add compiler warning for unresolved qualified type selector (e.g. when a type is probably missing from a manifest).

QE: I have an update for the mustella tests of programmatic creation of CSSStyleDeclaration
Doc: Yes, if we can do an ASDoc review of CSS classes in the framework it would be much appreciated.
Checkintests: Pass
mustella StyleManager/AdvancedCSS: Pass
Reviewer: Glenn

Modified Paths:
--------------
<path kind="dir" action="D">/flex/sdk/trunk/modules/fxgutils/src/java/flash</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager3.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleSelector.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSSelectorKind.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSCondition.as</path>
<path kind="file" action="A">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/UnqualifiedTypeSelector.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flash/css/StyleCondition.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="A">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/UnresolvedQualifiedTypeSelector.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSConditionKind.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
+++ frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
@@ -76,7 +76,7 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    function isPseudoSelectorMatch(pseudoState:String):Boolean;
+    function matchesCSSState(cssState:String):Boolean;

     /**
      *  Determines whether this instance is the same as - or is a subclass of -
@@ -87,17 +87,8 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    function isTypeSelectorMatch(type:String):Boolean;
+    function matchesCSSType(cssType:String):Boolean;

-    /**
-     *   Apply state specific styles.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    function applyStateStyles(oldState:String, newState:String, recursive:Boolean):void;
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 2506
Author:   jimurphy@adobe.com
Date:     2008-07-16T13:25:03.893431Z

Log Message:
-----------
Merged 3.0.x revisions [2417,2458,2504] -> trunk
-I also manually updated modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java to implement flex2.linker.LinkerConfiguration due to a name change in trunk
-removed player 9 stuff

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.project" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.project</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/DependencyChecker.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/IResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.actionScriptProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.actionScriptProperties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/air-config.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/mac/Install Flash Player 10 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/oem/internal/LinkerConfiguration.java</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings/org.eclipse.core.resources.prefs</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/FlexModuleFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.flexLibProperties" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.flexLibProperties</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/lnx/install_flash_player_9_linux.tar.gz</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibrariesNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DependencyNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/XMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 Plugin.exe</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/mac/Install Flash Player 9 UB.dmg</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/MarshalMouseEvent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/resources/LocaleSorter.as" copyfrom-rev="2504" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/LocaleSorter.as</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/win/Install Flash Player 9 ActiveX.exe</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework" copyfrom-rev="2504" action="A">/flex/sdk/trunk/development/eclipse/flex/airframework</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollThumb.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 Plugin.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DefNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/in/player/win/Install Flash Player 10 ActiveX.exe</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/LibraryNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/ScriptNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/asc/src/java/macromedia/asc/util/ContextStatics.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/nodes/DepNode.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="dir" copyfrom-path="/flex/sdk/branches/3.0.x/development/eclipse/flex/airframework/.settings" copyfrom-rev="2504" action="R">/flex/sdk/trunk/development/eclipse/flex/airframework/.settings</path>
<path kind="file" action="D">/flex/sdk/trunk/in/player/10/lnx/Flash Player.app.zip</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/libs/player/9</path>

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

--- frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollThumb.as
+++ frameworks/projects/mx/src/mx/controls/scrollClasses/ScrollThumb.as
@@ -135,12 +135,9 @@

 		scrollBar.oldPosition = NaN;

-		systemManager.removeEventListener(
+		ISystemManager2(systemManager).getSandboxRoot().removeEventListener(
 			MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);

-		// in case we go offscreen
-		systemManager.removeEventListener(MarshalMouseEvent.MOUSE_MOVE,
-			stage_mouseMoveHandler);
 	}

 	//--------------------------------------------------------------------------
@@ -162,12 +159,9 @@

 		lastY = event.localY;

-		systemManager.addEventListener(
+		ISystemManager2(systemManager).getSandboxRoot().addEventListener(
 			MouseEvent.MOUSE_MOVE, mouseMoveHandler, true);

-		// in case we go offscreen
-		systemManager.addEventListener(MarshalMouseEvent.MOUSE_MOVE,
-							stage_mouseMoveHandler);
 	}

 	//--------------------------------------------------------------------------
@@ -175,14 +169,6 @@
 	//  Event handlers
 	//
 	//--------------------------------------------------------------------------
-
-	private function stage_mouseMoveHandler(event:MouseEvent):void
-	{
-		if (event.target != stage)
-			return;
-
-		mouseMoveHandler(event);
-	}

 	/**
 	 *  @private


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/effects/effectClasses/GlowInstance.as
+++ frameworks/projects/mx/src/mx/effects/effectClasses/GlowInstance.as
@@ -0,0 +1,269 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.effects.effectClasses
+{
+
+import flash.events.Event;
+import flash.filters.GlowFilter;
+import mx.core.Application;
+import mx.core.mx_internal;
+import mx.styles.StyleManager;
+
+/**
+ *  The GlowInstance class implements the instance class
+ *  for the Glow effect.
+ *  Flex creates an instance of this class when it plays a Glow effect;
+ *  you do not create one yourself.
+ *
+ *
Every effect class that is a subclass of the TweenEffect class
+ *  supports the following events:

+ *
+ *

+ *
tweenEnd: Dispatched when the tween effect ends.

+ *
+ *
tweenUpdate: Dispatched every time a TweenEffect
+ *      class calculates a new value.

+ *

+ *
+ *
The event object passed to the event listener for these events is of type TweenEvent.
+ *  The TweenEvent class defines the property value, which contains
+ *  the tween value calculated by the effect.
+ *  For the Glow effect,
+ *  the TweenEvent.value property contains a 4-item Array, where:

+ *

+ *
value[0]:uint  The value of the target's GlowFilter.color property.

+ *
+ *
value[1]:Number  A value between the values of the Glow.alphaFrom
+ *    and Glow.alphaTo property.

+ *
+ *
value[2]:Number  A value between the values of the Glow.blurXFrom
+ *    and Glow.blurXTo property.

+ *
+ *
value[3]:Number  A value between the values of the Glow.blurYFrom
+ *    and Glow.blurYTo property.

+ *

+ *
+ *  @see mx.effects.Glow
+ *  @see mx.events.TweenEvent
+ */
+public class GlowInstance extends TweenEffectInstance
+{
+    include "../../core/Version.as";
+
+	//--------------------------------------------------------------------------
+	//
+	//  Constructor
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param target The Object to animate with this effect.
+	 */
+	public function GlowInstance(target:Object)
+	{
+		super(target);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  alphaFrom
+	//----------------------------------
+
+	/**
+	 *  Starting transparency level.
+	 */
+	public var alphaFrom:Number;
+
+	//----------------------------------
+	//  alphaTo
+	//----------------------------------
+
+	/**
+	 *  Ending transparency level.
+	 */
+	public var alphaTo:Number;
+
+	//----------------------------------
+	//  blurXFrom
+	//----------------------------------
+
+	/**
+	 *  The starting amount of horizontal blur.
+	 */
+	public var blurXFrom:Number;
+
+	//----------------------------------
+	//  blurXTo
+	//----------------------------------
+
+	/**
+	 *  The ending amount of horizontal blur.
+	 */
+	public var blurXTo:Number;
+
+	//----------------------------------
+	//  blurYFrom
+	//----------------------------------
+
+	/**
+	 *  The starting amount of vertical blur.
+	 */
+	public var blurYFrom:Number;
+
+	//----------------------------------
+	//  blurYTo
+	//----------------------------------
+
+	/**
+	 *  The ending amount of vertical blur.
+	 */
+	public var blurYTo:Number;
+
+	//----------------------------------
+	//  color
+	//----------------------------------
+
+	/**
+	 *  The color of the glow.
+	 */
+	public var color:uint = StyleManager.NOT_A_COLOR;
+
+	//----------------------------------
+	//  inner
+	//----------------------------------
+
+	/**
+	 *  The inner flag of the glow.
+	 */
+	public var inner:Boolean;
+
+	//----------------------------------
+	//  knockout
+	//----------------------------------
+
+	/**
+	 *  The knockout flag of the glow.
+	 */
+	public var knockout:Boolean;
+
+	//----------------------------------
+	//  strength
+	//----------------------------------
+
+	/**
+	 *  The strength of the glow.
+	 */
+	public var strength:Number;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Overridden methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function initEffect(event:Event):void
+	{
+		super.initEffect(event);
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function play():void
+	{
+		// Dispatch an effectStart event from the target.
+		super.play();
+
+		// If nobody assigned a value, give some defaults
+		if (isNaN(alphaFrom))
+			alphaFrom = 1.0;
+		if (isNaN(alphaTo))
+			alphaTo = 0;
+		if (isNaN(blurXFrom))
+			blurXFrom = 5;
+		if (isNaN(blurXTo))
+			blurXTo = 0;
+		if (isNaN(blurYFrom))
+			blurYFrom = 5;
+		if (isNaN(blurYTo))
+			blurYTo = 0;
+		if (color == StyleManager.NOT_A_COLOR)
+			color = Application.application.getStyle("themeColor");
+		if (isNaN(strength))
+			strength = 2;
+
+		tween = createTween(
+			this, [ color, alphaFrom, blurXFrom, blurYFrom ],
+			[ color, alphaTo, blurXTo, blurYTo ], duration);
+
+		// target.filters = ???
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function onTweenUpdate(value:Object):void
+	{
+		setGlowFilter(value[0], value[1], value[2], value[3]);
+	}
+
+	/**
+	 *  @private
+	 */
+	override public function onTweenEnd(value:Object):void
+	{
+		setGlowFilter(value[0], value[1], value[2], value[3]);
+
+		super.onTweenEnd(value);
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private function setGlowFilter(color:uint, alpha:Number,
+								   blurX:Number, blurY:Number):void
+	{
+		var filters:Array = target.filters;
+
+		// Remove any existing Glow filters
+		var n:int = filters.length;
+		for (var i:int = 0; i < n; i++)
+		{
+			if (filters[i] is GlowFilter)
+				filters.splice(i, 1);
+		}
+
+		if (blurX || blurY || alpha)
+			filters.push(new GlowFilter(color, alpha, blurX, blurY,
+						strength, 1, inner, knockout));
+
+		target.filters = filters;
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 7864
Author:   gruehle@adobe.com
Date:     2009-06-15T22:20:22.309974Z

Log Message:
-----------
Move the airframework spark.skins.default.* to spark.skins.spark.*

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMinimizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacMinimizeButtonSkin.mxml</path>
<path kind="dir" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default" copyfrom-rev="7857" action="A">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacMaximizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacMaximizeButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/CloseButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/CloseButtonSkin.mxml</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/WindowedApplicationSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/TitleBarSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/TitleBarSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/GripperSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/GripperSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MinimizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MinimizeButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/defaults.css</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MaximizeButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MaximizeButtonSkin.mxml</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/RestoreButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/RestoreButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/AIRFrameworkClasses.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacCloseButtonSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacCloseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/WindowedApplication.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/MacTitleBarSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/MacTitleBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/default/FlexChromeSkin.mxml" copyfrom-rev="7863" action="R">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/FlexChromeSkin.mxml</path>

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

--- frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as
+++ frameworks/projects/airspark/src/spark/components/windowClasses/TitleBar.as
@@ -26,8 +26,8 @@
 import spark.primitives.BitmapImage;
 import spark.primitives.SimpleText;
 import spark.skins.*;
-import spark.skins.default.MacTitleBarSkin;
-import spark.skins.default.TitleBarSkin;
+import spark.skins.spark.MacTitleBarSkin;
+import spark.skins.spark.TitleBarSkin;

 use namespace mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 8825
Author:   pfarland@adobe.com
Date:     2009-07-27T18:51:15.649626Z

Log Message:
-----------
Normalizing URLs to remove [[DYNAMIC]] from LoaderInfo.url information which occurs when linking against RSLs. This fixes RPC services trying to resolve a fully qualified URL for relative resources.

QE: Yes, please ensure RPC tests that make use of relative paths are compiled with RSLs.
Doc: No
Checkintests: Pass
Reviewer: Darrell
Bugs:
FB-21713 - HTTPService to relative file in CF project fails due to incorrectly re-written URL
SDK-22362 - [Gumbo Priority] RemoteObject method calls for invoking php code fails when relative URL is given for endpoint

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>

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

--- frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as
+++ frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as
@@ -32,6 +32,7 @@
 import mx.preloaders.Preloader;
 import mx.styles.ISimpleStyleClient;
 import mx.styles.IStyleClient;
+import mx.utils.LoaderUtil;

 use namespace mx_internal;

@@ -297,7 +298,7 @@
 			// if somebody has set this in our applicationdomain hierarchy, don't overwrite it
 			if (!LoaderConfig._url)
 			{
-				LoaderConfig._url = systemManager.loaderInfo.url;
+				LoaderConfig._url = LoaderUtil.normalizeURL(systemManager.loaderInfo);
 				LoaderConfig._parameters = systemManager.loaderInfo.parameters;
 			}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19449
Author:   cframpto@adobe.com
Date:     2010-12-17T14:42:26.473553Z

Log Message:
-----------
Fix invalidateCell() to take into account the padding rows returned in visibleRowIndices().  Also [ExcludeClass] GridSelection and change both createGridSelection() methods to mx_internal since GridSelection has not gone thru PARB.

QE notes:
Doc notes:
Bugs: SDK-28905
Reviewer: Hans
Tests run: cyclone
Is noteworthy for integration:

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

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridSelection.as
@@ -24,6 +24,8 @@

 use namespace mx_internal;

+[ExcludeClass]
+
 /**
  *  Use the GridSelection class to track a Grid control's
  *  selectionMode property and its set of selected rows, columns, or cells.


Transferred from the Adobe Open Source Subversion Repository

Revision: 4078
Author:   jszeto@adobe.com
Date:     2008-11-12T01:41:52.278930Z

Log Message:
-----------
Add support for dataTips to Slider

SDK-16291 Implement data tip for slider

- Added new dynamic, optional skin part called "dataTip".
- Added dataTipFormatFunction, dataTipPrecision and showDataTip properties
- Added protected function positionDataTip
- Added dataTip skin part to FxHSliderSkin and FxVSliderSkin
- data tip is an IDataRenderer, so it can render any type of data

The data tip appearance is defined entirely by the skin. The position of the
data tip is calculated using a combination of the skin and the Slider controller.
The following properties were not retained from the Halo Slider:

- sliderDataTipClass (the skin part allows the developer to define the data tip type)
- dataTipStyleName (styling is defined on the skin part)
- dataTipOffset (the offset position is defined in the skin part)

SDK-16823 - Gumbo Slider does not support scroll wheel to increment / decrement value

Slider listens for scroll wheel events anywhere on or off the stage while it has focus.

QE Notes: Test new properties, functions and data tip behavior
Doc Notes: Added new properties and functions
Bugs: SDK-16291, SDK-16823
Reviewer: Glenn and Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxTrackBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxVSliderSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxHSliderSkin.mxml</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.as
@@ -12,12 +12,17 @@
 package mx.components.baseClasses
 {

+import flash.display.DisplayObject;
 import flash.events.Event;
 import flash.events.KeyboardEvent;
 import flash.events.MouseEvent;
 import flash.geom.Point;
 import flash.ui.Keyboard;

+import mx.core.IDataRenderer;
+import mx.core.IFactory;
+import mx.core.UIComponent;
+import mx.formatters.NumberFormatter;
 import mx.managers.IFocusManagerComponent;

 /**
@@ -45,6 +50,21 @@
         super();
     }

+	//--------------------------------------------------------------------------
+    //
+    //  Skin Parts
+    //
+    //--------------------------------------------------------------------------
+
+    [SkinPart(required="false", type="mx.core.IDataRenderer")]
+
+    /**
+     *  A skin part that defines a dataTip that displays a formatted version of
+     *  the current value. The dataTip appears while the thumb is being dragged.
+     *  This is a dynamic skin part and must be of type IFactory.
+     */
+    public var dataTip:IFactory;
+
     //--------------------------------------------------------------------------
     //
     //  Variables
@@ -52,12 +72,78 @@
     //--------------------------------------------------------------------------

     private var currValue:Number;
+
+	private var dataFormatter:NumberFormatter;

     //--------------------------------------------------------------------------
     //
     // Properties
     //
-    //--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  The dataTip instance used by subclasses to control its behavior. The instance
+	 *  is non-null only when the dataTip has been popped up.
+	 */
+	protected var dataTipInstance:IDataRenderer;
+
+	//---------------------------------
+    // dataTipformatFunction
+    //---------------------------------
+
+	private var _dataTipFormatFunction:Function;
+
+	 /**
+     *  Callback function that formats the data tip text.
+     *  The function takes a single Number as an argument
+     *  and returns a formatted String.
+     *
+     *
The function has the following signature:

+     *

+     *  funcName(value:Number):Object
+     *

+     *
+     *
The following example prefixes the data tip text with a dollar sign and
+     *  formats the text using the dataTipPrecision
+     *  of a FxSlider Control named 'slide':

+     *
+     *

+     *  import mx.formatters.NumberBase;
+     *  function myDataTipFormatter(value:Number):Object {
+     *      var dataFormatter:NumberBase = new NumberBase(".", ",", ".", "");
+     *      return   "$ " + dataFormatter.formatPrecision(String(value), slide.dataTipPrecision);
+     *  }
+     *

+     *
+     *  @default undefined
+     */
+	public function set dataTipFormatFunction(value:Function):void
+	{
+		_dataTipFormatFunction = value;
+	}
+
+	public function get dataTipFormatFunction():Function
+	{
+		return _dataTipFormatFunction;
+	}
+
+	/**
+	 *  Starting position of the dataTip. Used by subclasses to
+	 *  position the dataTip.
+	 */
+	protected var dataTipOriginalPosition:Point;
+
+	//---------------------------------
+    // dataTipPrecision
+    //---------------------------------
+    /**
+	 *  Number of decimal places to use for the data tip text.
+	 *  A value of 0 means to round all values to an integer.
+	 *  This value is ignored if dataTipFormatFunction is defined.
+	 *
+	 *  @default 2
+	 */
+    public var dataTipPrecision:int = 2;

     //---------------------------------
     // liveDragging
@@ -80,10 +166,23 @@
     /**
      *  @private
      */
-     public function set liveDragging(value:Boolean):void
+    public function set liveDragging(value:Boolean):void
     {
         _liveDragging = value;
     }
+
+    //---------------------------------
+    // showDataTip
+    //---------------------------------
+
+    /**
+     *  If set to true, show a data tip during user interaction
+     *  containing the current value of the slider. In addition, the skinPart
+     *  dataTipFactory must be defined in the skin in order to
+     *  display a data tip.
+     *  @default true
+     */
+    public var showDataTip:Boolean = true;

     //--------------------------------------------------------------------------
     //
@@ -102,6 +201,31 @@

     /**
      *  @private
+     *  Returns a formatted version of the value
+     */
+    private function formatDataTipText(value:Number):Object
+    {
+    	var formattedValue:Object;
+
+		if (dataTipFormatFunction != null)
+		{
+			formattedValue = dataTipFormatFunction(value);
+		}
+		else
+		{
+			if (dataFormatter == null)
+				dataFormatter = new NumberFormatter();
+
+			dataFormatter.precision = dataTipPrecision;
+
+			formattedValue = dataFormatter.format(value);
+		}
+
+		return formattedValue;
+    }
+
+    /**
+     *  @private
      */
     override protected function partAdded(partName:String, instance:Object):void
     {
@@ -144,6 +268,16 @@
                                             localY:Number):Number
     {
         return 0;
+    }
+
+    /**
+     *  Used to position the data tip when it is visible. Subclasses must implement
+     *  this function and can use the dataTipOriginalPosition and dataTipInstance
+     *  properties.
+     */
+    protected function positionDataTip():void
+    {
+		// Override in the subclasses
     }

     //--------------------------------------------------------------------------
@@ -165,6 +299,29 @@

         // Save the current value also.
         currValue = value;
+
+        // Popup a dataTip only if we have a SkinPart and the boolean flag is true
+        if (dataTip && showDataTip && enabled)
+        {
+	        dataTipInstance = IDataRenderer(createDynamicPartInstance("dataTip"));
+	        systemManager.toolTipChildren.addChild(DisplayObject(dataTipInstance));
+
+	        dataTipInstance.data = formatDataTipText(currValue);
+
+	        // Force the dataTip to render so that we have the correct size since
+	        // positionDataTip might need the size
+	        var tipAsUIComponent:UIComponent = dataTipInstance as UIComponent;
+	        if (tipAsUIComponent)
+	        {
+	        	tipAsUIComponent.validateNow();
+	        	tipAsUIComponent.setActualSize(tipAsUIComponent.getExplicitOrMeasuredWidth(),
+	        								   tipAsUIComponent.getExplicitOrMeasuredHeight());
+	        }
+
+	        dataTipOriginalPosition = new Point(DisplayObject(dataTipInstance).x,
+	        									DisplayObject(dataTipInstance).y);
+	        positionDataTip();
+        }
     }

     /**
@@ -180,6 +337,22 @@
         {
             setValue(currValue)
             dispatchEvent(new Event("change"));
+        }
+
+        if (dataTipInstance && showDataTip)
+        {
+	        dataTipInstance.data = formatDataTipText(currValue);
+
+	        // Force the dataTip to render so that we have the correct size since
+	        // positionDataTip might need the size
+	        var tipAsUIComponent:UIComponent = dataTipInstance as UIComponent;
+	        if (tipAsUIComponent)
+	        {
+	        	tipAsUIComponent.validateNow();
+	        	tipAsUIComponent.setActualSize(tipAsUIComponent.getExplicitOrMeasuredWidth(),tipAsUIComponent.getExplicitOrMeasuredHeight());
+	        }
+
+			positionDataTip();
         }

         event.updateAfterEvent();
@@ -195,6 +368,12 @@
             setValue(currValue);
             dispatchEvent(new Event("change"));
         }
+
+        if (dataTipInstance)
+        {
+            systemManager.toolTipChildren.removeChild(DisplayObject(dataTipInstance));
+            dataTipInstance = null;
+        }

         super.system_mouseUpHandler(event);
     }
@@ -293,4 +472,4 @@
     }
 }

-}+}


helps if you import the classes you use (and compile the correct project when testing)

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as
@@ -40,6 +40,7 @@
 import spark.skins.mobile240.assets.ActionBarBackground;
 import spark.skins.mobile320.assets.ActionBarBackground;
 import spark.skins.mobile480.assets.ActionBarBackground;
+import spark.skins.mobile640.assets.ActionBarBackground;

 use namespace mx_internal;


Transferred from the Adobe Open Source Subversion Repository

Revision: 19337
Author:   mhorn@adobe.com
Date:     2010-12-13T22:01:27.841985Z

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/SkinnableContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TextSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ListSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/SelectableButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as
@@ -26,7 +26,9 @@
 use namespace mx_internal;

 /**
- *  Actionscript based skin for mobile text input.
+ *  ActionScript-based skin for TextInput controls in mobile applications.
+ *
+ * @see spark.components.TextInput
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 1098
Author:   jimurphy@adobe.com
Date:     2008-04-03T21:50:39.896200Z

Log Message:
-----------
Merge 3.0.x -- 362:394, 427:429, 603:608, 644:645, 651:663, 672:676, 755:756, 763:766, 785:790, 812:814, 854:861, 862:866, 866:933,971:1009, 1050:1056 --> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/DefaultDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VRule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AsyncRequest.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.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/framework/src/mx/core/IRepeaterClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/VideoError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.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/framework/src/mx/resources/Locale.as</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/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessageSerializationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/messages/SOAPMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IBrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ComponentDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/IViewCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/AbstractWebService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/menuClasses/IMenuItemRenderer.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/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ILayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Spacer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Fault.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/XMLListCollection.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/SliderEvent.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/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/ScrollEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/CuePointManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/CrossDomainRSLItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/NumericStepperEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/BrowserManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/events/ChannelFaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/CursorBookmark.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/WSDLLoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/LoadEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/collections/ListCollectionView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/FlexClient.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/SubscriptionInfo.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/DescribeTypeCache.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/logging/LogLogger.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MessageAgent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/build_framework.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/HeaderEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/ITreeDataDescriptor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemDragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as
+++ frameworks/projects/rpc/src/mx/messaging/messages/HTTPRequestMessage.as
@@ -50,7 +50,7 @@
     /**
      *  Indicates the content type of this message.
      *  This value must be understood by the destination this request is sent to.
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -78,7 +78,7 @@
      *  Contains the final destination for this request.
      *  This is the URL that the content of this message, found in the
      *  body property, will be sent to, using the method specified.
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -122,7 +122,7 @@
      *
HTTPRequestMessage.PUT_METHOD

      *
HTTPRequestMessage.TRACE_METHOD

      *

-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -158,7 +158,7 @@

     /**
      *  Indicates that the content of this message is XML.
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_XML;
@@ -170,7 +170,7 @@

     /**
      *  Indicates that the content of this message is a form.
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -183,7 +183,7 @@
     /**
      *  Indicates that the content of this message is XML meant for a SOAP
      *  request.
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_SOAP_XML;
@@ -195,7 +195,7 @@

     /**
      *  Indicates that the method used for this request should be "post".
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -207,7 +207,7 @@

     /**
      *  Indicates that the method used for this request should be "get".
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -219,7 +219,7 @@

     /**
      *  Indicates that the method used for this request should be "put".
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -231,7 +231,7 @@

     /**
      *  Indicates that the method used for this request should be "head".
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -243,7 +243,7 @@

     /**
      *  Indicates that the method used for this request should be "delete".
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -255,7 +255,7 @@

     /**
      *  Indicates that the method used for this request should be "options".
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;
@@ -267,7 +267,7 @@

     /**
      *  Indicates that the method used for this request should be "trace".
-     *  @example
+     *
      *

      *      var msg:HTTPRequestMessage = new HTTPRequestMessage();
      *      msg.contentType = HTTPRequestMessage.CONTENT_TYPE_FORM;


Transferred from the Adobe Open Source Subversion Repository

Revision: 12757
Author:   aharui@adobe.com
Date:     2009-12-09T22:25:24.589278Z

Log Message:
-----------
If we set focus to the editor, don't set focus to ourselves

QE Notes: None
Doc Notes: None
Bugs: SDK-24642
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/MXItemRenderer

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as

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

--- frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as
+++ frameworks/projects/spark/src/mx/controls/listClasses/MXItemRenderer.as
@@ -222,7 +222,10 @@
     override public function setFocus():void
     {
         if (editor)
+        {
             editor.setFocus();
+            return;
+        }

         super.setFocus();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 16963
Author:   hmuller@adobe.com
Date:     2010-07-16T18:54:41.190388Z

Log Message:
-----------
Fix for the DataGridSkin layout loop.

QE notes: changes apply to Spark DataGrid only
Doc notes:
Bugs: 26853
Reviewer: Kevin
Tests run: none
Is noteworthy for integration: no

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

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

--- frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
+++ frameworks/projects/spark/src/spark/components/GridColumnHeaderGroup.as
@@ -726,25 +726,6 @@
             }
         }

-        /**
-         *  @private
-         */
-        override protected function measure():void
-        {
-            super.measure();
-            //trace("CHB.measure", measuredWidth, measuredHeight, "min", measuredMinWidth, measuredMinHeight);
-        }
-
-        /**
-         * @private
-         */
-        override protected function updateDisplayList(unscaledWidth:Number,
-                                                      unscaledHeight:Number):void
-        {
-            //trace("CHB.udl", unscaledWidth, unscaledHeight);
-            super.updateDisplayList(unscaledWidth, unscaledHeight);
-        }
-
         /**
          *  @private
          */


Transferred from the Adobe Open Source Subversion Repository

Revision: 20503
Author:   chiedozi@adobe.com
Date:     2011-03-01T01:35:23.376092Z

Log Message:
-----------
Altering focus changes made in revision 20384.  View and ViewNavigatorBase can no longer gain focus.

QE notes:
Doc notes:
Bugs: SDK-29667
Reviewer: Ryan, Alex
Tests run:
Is noteworthy for integration: No

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as
@@ -681,15 +681,9 @@
         {
             if (navigator.activeView)
                 systemManager.stage.addEventListener(Event.RESIZE, stage_resizeHandler);
-        }
-
-        // Set the stage focus to the navigator's active view
-        if (systemManager.stage.focus == null && navigator)
-        {
-            if (navigator.activeView)
-                systemManager.stage.focus = navigator.activeView;
-            else
-                systemManager.stage.focus = navigator;
+
+            // Set the stage focus to the navigator's active view
+            navigator.updateFocus();
         }
     }


Trim trailing characters when extracting the server info URL.

--- src/com/esri/builder/components/serviceBrowser/supportClasses/ServiceDirectoryBuilder.as
+++ src/com/esri/builder/components/serviceBrowser/supportClasses/ServiceDirectoryBuilder.as
@@ -266,7 +266,7 @@

     private function extractServiceInfoURL(url:String):String
     {
-        return url.replace('/rest/services', '/rest/info');
+        return url.replace(/\/rest\/services.*/, '/rest/info');
     }

     private function startBuildingDirectory():void


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

--- frameworks/projects/rpc/src/mx/utils/Translator.as
+++ frameworks/projects/rpc/src/mx/utils/Translator.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.utils
 {


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

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

 package mx.charts.renderers
 {


#SUP-1172 #comment save "none" language cookie #time 1h

--- plugins/closedCaptionsPlugin/src/com/kaltura/kdpfl/plugin/component/ClosedCaptionsMediator.as
+++ plugins/closedCaptionsPlugin/src/com/kaltura/kdpfl/plugin/component/ClosedCaptionsMediator.as
@@ -26,11 +26,11 @@

 	import org.osmf.events.LoadEvent;
 	import org.osmf.events.MediaElementEvent;
+	import org.osmf.traits.LoadState;
 	import org.osmf.traits.LoadTrait;
 	import org.osmf.traits.MediaTraitType;
 	import org.puremvc.as3.interfaces.INotification;
-	import org.puremvc.as3.patterns.mediator.Mediator;
-	import org.osmf.traits.LoadState;
+	import org.puremvc.as3.patterns.mediator.Mediator;

 	public class ClosedCaptionsMediator extends Mediator
 	{
@@ -186,6 +186,7 @@
 					if (currentLabel == _closedCaptionsDefs.noneString)
 					{
 						(viewComponent as ClosedCaptions).visible = false;
+						saveToSO( currentLabel );
 						return;
 					}
 					else
@@ -206,19 +207,7 @@
 								switchActiveCCFile( ccObj );
 							}

-							if (_flashvars.allowCookies=="true" && ccObj.language )
-							{
-								try
-								{
-									var sharedObj : SharedObject = SharedObject.getLocal("Kaltura_CC_SO");
-									sharedObj.data.language = ccObj.language;
-									sharedObj.flush();
-								}
-								catch (e : Error)
-								{
-									sendNotification( NotificationType.ALERT, {message: "Application is unable to access your file system.", title: "Error saving localized settings"} );
-								}
-							}
+							saveToSO( ccObj.language );

 							break;
 						}
@@ -243,6 +232,22 @@
 				case ClosedCaptionsNotifications.LOAD_EMBEDDED_CAPTIONS:
 					onTextData(note.getBody());
 					break;
+			}
+		}
+
+		private function saveToSO(langKey:String):void {
+			if (_flashvars.allowCookies=="true" && langKey )
+			{
+				try
+				{
+					var sharedObj : SharedObject = SharedObject.getLocal("Kaltura_CC_SO");
+					sharedObj.data.language = langKey;
+					sharedObj.flush();
+				}
+				catch (e : Error)
+				{
+					sendNotification( NotificationType.ALERT, {message: "Application is unable to access your file system.", title: "Error saving localized settings"} );
+				}
 			}
 		}

@@ -395,7 +400,7 @@

 				_closedCaptionsDefs.availableCCFilesLabels.addItemAt( selectNone , 0 );

-				if (_closedCaptionsDefs.defaultLanguageKey==_closedCaptionsDefs.noneString)
+				if (_closedCaptionsDefs.defaultLanguageKey==_closedCaptionsDefs.noneString || preferredLang==_closedCaptionsDefs.noneString)
 				{
 					_closedCaptionsDefs.currentCCFileIndex = 0;
 					(viewComponent as ClosedCaptions).visible = false;


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
+++ frameworks/projects/charts/src/mx/charts/series/CandlestickSeries.as
@@ -21,13 +21,14 @@
 import mx.charts.series.items.HLOCSeriesItem;
 import mx.charts.styles.HaloDefaults;
 import mx.core.ClassFactory;
+import mx.core.IFlexModuleFactory;
 import mx.core.mx_internal;
 import mx.graphics.IFill;
 import mx.graphics.IStroke;
 import mx.graphics.SolidColor;
+import mx.graphics.SolidColorStroke;
 import mx.graphics.Stroke;
 import mx.styles.CSSStyleDeclaration;
-import mx.core.IFlexModuleFactory;

 use namespace mx_internal;

@@ -277,20 +278,15 @@
     private function initStyles():Boolean
     {
         HaloDefaults.init(styleManager);
-
-        var candlestickSeriesStyle:CSSStyleDeclaration =
-            HaloDefaults.createSelector("mx.charts.series.CandlestickSeries", styleManager);
-
-        candlestickSeriesStyle.defaultFactory = function():void
-        {
-            this.boxStroke = new Stroke(0, 0);
-            this.declineFill = new SolidColor(0);
-            this.fill = new SolidColor(0xFFFFFF);
-            this.fills = [];
-            this.itemRenderer = new ClassFactory(CandlestickItemRenderer);
-            this.stroke = new Stroke(0, 0);
-        }
-
+
+		var csSeriesStyle:CSSStyleDeclaration = styleManager.getStyleDeclaration("mx.charts.series.CandlestickSeries");
+		csSeriesStyle.setStyle("boxStroke", new SolidColorStroke(0,0));
+		csSeriesStyle.setStyle("declineFill", new SolidColor(0));
+		csSeriesStyle.setStyle("itemRenderer", new ClassFactory(mx.charts.renderers.CandlestickItemRenderer));
+		csSeriesStyle.setStyle("fill", new SolidColor(0xFFFFFF));
+		csSeriesStyle.setStyle("fills", []);
+		csSeriesStyle.setStyle("stroke", new SolidColorStroke(0,0));
+
         return true;
     }


- change: Removed unnecessary code

- change: Removed unnecessary code

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

--- src/reprise/controls/ComboBox.as
+++ src/reprise/controls/ComboBox.as
@@ -121,8 +121,6 @@
 			for each (var childNode:XML in node.children())
 			{
 				preprocessTextNode(childNode);
-				var child:UIComponent =
-					m_rootElement.uiRendererFactory().rendererByNode(childNode);
 				if (childNode.localName() != 'option')
 				{
 					log('Illegal node ' + childNode.localName() + ' below ComboBox');


Transferred from the Adobe Open Source Subversion Repository

Revision: 4307
Author:   dloverin@adobe.com
Date:     2008-12-15T19:58:22.615045Z

Log Message:
-----------
Change use of Application.application to ApplicationGlobals.application.

QE Notes: None
Doc Notes: None
Bugs: N/A
Reviewer: Alex
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Glow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButtonGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/ActivatorSkin.as</path>

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

--- frameworks/projects/mx/src/mx/effects/Glow.as
+++ frameworks/projects/mx/src/mx/effects/Glow.as
@@ -12,7 +12,7 @@
 package mx.effects
 {

-import mx.core.Application;
+import mx.core.ApplicationGlobals;
 import mx.effects.effectClasses.GlowInstance;
 import mx.styles.StyleManager;

@@ -276,7 +276,7 @@
 		glowInstance.color =
 		    color != StyleManager.NOT_A_COLOR ?
 		    color :
-		    Application.application.getStyle("themeColor");
+		    ApplicationGlobals.application.getStyle("themeColor");
 		glowInstance.inner = inner;
 		glowInstance.knockout = knockout;
 		glowInstance.strength = strength;


Transferred from the Adobe Open Source Subversion Repository

Revision: 16702
Author:   klin@adobe.com
Date:     2010-06-28T19:29:10.048003Z

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

-Add getRowIndexAt() to Grid and GridLayout.
-Added support in FindNearestNode() for using the most recently found node

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Grid.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridDimensions.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GridRowList.as</path>

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

--- frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
+++ frameworks/projects/spark/src/spark/components/gridClasses/GridDimensions.as
@@ -330,6 +330,9 @@
      */
     public function setRowHeight(row:int, height:Number):void
     {
+        if (!isNaN(fixedRowHeight))
+            return;
+
         var node:GridRowNode = rowList.find(row);

         if (node)
@@ -397,9 +400,10 @@
      */
     public function setCellHeight(row:int, col:int, height:Number):void
     {
-        var node:GridRowNode = rowList.find(row);
-        if (!node)
-            node = rowList.insert(row);
+        if (!isNaN(fixedRowHeight))
+            return;
+
+        var node:GridRowNode = rowList.insert(row);

         if (node)
         {
@@ -526,7 +530,6 @@
      */
     public function getRowIndexAt(x:Number, y:Number):int
     {
-        // TODO (klin): fixed height rows.
         if (!isNaN(fixedRowHeight))
             return y / (fixedRowHeight + rowGap);

@@ -654,6 +657,19 @@
      */
     public function insertRows(startRow:int, count:int):void
     {
+        var startNode:GridRowNode = rowList.findNearest(startRow);
+        var tempNode:GridRowNode;
+
+        // shift indices by count.
+        if (startNode)
+            tempNode = startNode.next;
+        while (tempNode)
+        {
+            tempNode.rowIndex += count;
+            tempNode = tempNode.next;
+        }
+
+        this.rowCount += count;
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 3553
Author:   chaase@adobe.com
Date:     2008-10-09T23:14:18.257660Z

Log Message:
-----------
Fixed sdk-17113, sdk-17139, sdk-16526, sdk-16884, sdk-17154, sdk-16999, sdk-16631, sdk-17214. Most of these fixes are related to making effects work when contraints are enabled on the target. For that, two new attributes were added to FxAnimate: disableLayout (default false) and adjustConstraints (default false). Fixes were also made for various other effects issues, such as running all animations and startDelays off of the same global timer.
The change also includes renames of some effects classes and the easing API (now in mx.effects.interpolation).

Reviewed by: Jason (effects code) and Hans (renames)
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/IEaser.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/IEaser.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Linear.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Linear.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/mxml-2009-manifest.xml</path>
<path kind="dir" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Animate3DInstance.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animate3D.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxMoveInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Animate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/gumbo-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Animation.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Constant.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Constant.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Rotate3DInstance.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxRotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Rotate3D.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxRotate3D.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/EaseInOut.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/EaseInOut.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Power.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Power.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/Rotate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/fxEasing/Sine.as" copyfrom-rev="3548" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/Sine.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/Rotate3D.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/RotateInstance.as
@@ -235,6 +235,12 @@
             }
         }

+        originalOffsetX = originX * Math.cos(radVal) - originY * Math.sin(radVal);
+        originalOffsetY = originX * Math.sin(radVal) + originY * Math.cos(radVal);
+
+        newX = Number((centerX - originalOffsetX).toFixed(1)); // use a precision of 1
+        newY = Number((centerY - originalOffsetY).toFixed(1)); // use a precision of 1
+
         propertyValuesList =
             [new PropertyValuesHolder("rotation", [angleFrom, angleTo])];


mobile mouseevent buttondown

mobile mouseevent buttondown

--- src/flash/display/Stage.as
+++ src/flash/display/Stage.as
@@ -296,7 +296,7 @@
 					needSendMouseMove = null;
 				}
 				if (needSendTouchMove) {
-					dispatchEvent(new TouchEvent(TouchEvent.TOUCH_MOVE, true, false, 0, true, _mouseX, _mouseY));
+					dispatchEvent(new TouchEvent(TouchEvent.TOUCH_MOVE, true, false, 0, true, _mouseX, _mouseY,null,needSendTouchMove.ctrlKey,needSendTouchMove.altKey,needSendTouchMove.shiftKey,(needSendTouchMove.buttons!=null)?(needSendTouchMove.buttons>0):isButtonDown));
 					needSendTouchMove = null;
 				}
 				dispatchEvent(new Event(Event.ENTER_FRAME));
@@ -1471,10 +1471,12 @@
 				case "touchcancel":
 					flashType = TouchEvent.TOUCH_END;
 					flashType2 = MouseEvent.MOUSE_UP;
+					isButtonDown = false;
 					break;
 				case "touchend":
 					flashType = TouchEvent.TOUCH_END;
 					flashType2 = MouseEvent.MOUSE_UP;
+					isButtonDown = false;
 					break;
 				case "touchmove":
 					flashType = TouchEvent.TOUCH_MOVE;
@@ -1483,6 +1485,7 @@
 				case "touchstart":
 					flashType = TouchEvent.TOUCH_BEGIN;
 					flashType2 = MouseEvent.MOUSE_DOWN;
+					isButtonDown = true;
 					e.preventDefault();
 					break;
 			}
@@ -1493,20 +1496,20 @@
 				}
 				if (hasEventListener(flashType)) {
 					if(flashType!=TouchEvent.TOUCH_MOVE){
-						dispatchEvent(new TouchEvent(flashType, true, false, 0, true, _mouseX, _mouseY));
+						dispatchEvent(new TouchEvent(flashType, true, false, 0, true, _mouseX, _mouseY,null,e.ctrlKey,e.altKey,e.shiftKey,(e.buttons!=null)?(e.buttons>0):isButtonDown));
 					}else {
 						needSendTouchMove = true;
 					}
 				}
 				if (hasEventListener(flashType2)) {
 					if(flashType2!=MouseEvent.MOUSE_MOVE){
-						dispatchEvent(new MouseEvent(flashType2, true, false, _mouseX, _mouseY));
+						dispatchEvent(new MouseEvent(flashType2, true, false, _mouseX, _mouseY,null,e.ctrlKey,e.altKey,e.shiftKey,(e.buttons!=null)?(e.buttons>0):isButtonDown));
 					}else {
 						needSendMouseMove = e;
 					}
 				}
 				if (flashType===TouchEvent.TOUCH_END&&hasEventListener(MouseEvent.CLICK)) {
-					dispatchEvent(new MouseEvent(MouseEvent.CLICK, true, false, _mouseX, _mouseY));
+					dispatchEvent(new MouseEvent(MouseEvent.CLICK, true, false, _mouseX, _mouseY,null,e.ctrlKey,e.altKey,e.shiftKey,(e.buttons!=null)?(e.buttons>0):isButtonDown));
 				}
 			}
 		}
@@ -1573,7 +1576,7 @@
 				_mouseX = e.pageX - canvas.offsetLeft;
 				_mouseY = e.pageY - canvas.offsetTop;
 				if (hasEventListener(flashType)) {
-					if(flashType!=MouseEvent.MOUSE_MOVE){
+					if (flashType != MouseEvent.MOUSE_MOVE){
 						dispatchEvent(new MouseEvent(flashType,true,false,_mouseX,_mouseY,null,e.ctrlKey,e.altKey,e.shiftKey,(e.buttons!=null)?(e.buttons>0):isButtonDown,e.wheelDelta));
 					}else {
 						needSendMouseMove = e;