added addReaction method to FabricationMediator

--- src/org/puremvc/as3/multicore/utilities/fabrication/patterns/mediator/FabricationMediator.as
+++ src/org/puremvc/as3/multicore/utilities/fabrication/patterns/mediator/FabricationMediator.as
@@ -505,7 +505,6 @@
 			var matchResult:Object;
 			var i:int = 0;
 			var j:int = 0;
-			var reaction:Reaction;

 			currentReactions = new Array();

@@ -551,10 +550,7 @@

                         }

-						reaction = new Reaction(eventSource, eventType, eventHandler, useCapture);
-						currentReactions.push(reaction);
-
-						reaction.start();
+                        addReaction( eventSource, eventType, eventHandler, useCapture );
                         reactionCreated = true;
 					}
 				}
@@ -570,6 +566,23 @@
 			reactionRegExp = null;
 			clazzInfo = null;
 		}
+
+        /**
+         * Adds reaction to mediator
+         * @param source reaction source
+         * @param type rection ( event ) type
+         * @param handler reaction handler
+         * @param useCapturePhase true if reaction has to be registered on capture phase, otherwise true
+         */
+        public function addReaction( source:IEventDispatcher, type:String,  handler:Function,  useCapturePhase:Boolean = false ):void {
+
+           var reaction:Reaction = new Reaction( source, type, handler, useCapturePhase );
+           if( currentReactions == null )
+                currentReactions = [];
+		   currentReactions.push(reaction);
+           reaction.start();
+
+        }

 		/**
 		 * Stops the specified reaction.
@@ -725,5 +738,9 @@

         }

-	}
+        override public function onRemove():void
+        {
+            super.onRemove();
+        }
+    }
 }


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/olap/IOLAPAttributeLevel.as
+++ frameworks/projects/advancedgrids/src/mx/olap/IOLAPAttributeLevel.as
@@ -0,0 +1,46 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+
+package mx.olap
+{
+import mx.collections.IList;
+
+/**
+ *  @private
+ *  The IOLAPAttributeLevel interface represents the single level present
+ *  inside an attribute hierarchy of an OLAP schema.
+ *.
+ *  @see mx.olap.OLAPAttributeLevel
+ */
+public interface IOLAPAttributeLevel extends IOLAPLevel
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  children
+	//----------------------------------
+
+    /**
+     *  Returns null.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    function get children():IList;
+}
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/mx/src/mx/skins/halo/DateChooserYearArrowSkin.as
+++ frameworks/projects/mx/src/mx/skins/halo/DateChooserYearArrowSkin.as
@@ -13,7 +13,6 @@
 {

 import flash.display.Graphics;
-import mx.core.FlexVersion;
 import mx.skins.Border;
 import mx.utils.ColorUtil;

@@ -76,7 +75,7 @@
 	 */
 	override public function get measuredHeight():Number
 	{
-		return FlexVersion.compatibilityVersion < FlexVersion.VERSION_3_0 ? 4 : 6;
+		return 6;
 	}

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 88
Author:   open-source-svn-admin@adobe.com
Date:     2008-01-03T22:47:56.499469Z

Log Message:
-----------
Perforce Change 191925 by proberts@proberts-laptop-flex on 2008/01/03 16:47:12 Severity: ignore Details: doc additions/clean up for FlexNativeMenu. Also FLEXDOCS-320 (update documentation for FlexNativeMenuEvent.MENU_SHOW to explain that the index, label, and item properties are null) Affected files ...

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/in/air/air_version.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Consumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/NoChannelAvailableError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/DirectHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ServerConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/mac/AIR Integration Kit.tbz2</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingConnectionHandler.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/HTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/MessagingError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/InvalidChannelError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractProducer.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/config/ConfigMap.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Channel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/StreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/air/win/AIR Integration Kit.zip</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractConsumer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureStreamingHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXContext.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/AMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/PollingChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/lib/flex-messaging-common.jar</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/NetConnectionChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.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/rpc/src/mx/messaging/channels/StreamingAMFChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/Grammar.jj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ConsumerMessageDispatcher.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/SecureHTTPChannel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/errors/InvalidDestinationError.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXResult.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/AbstractMessageStore.as</path>

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

--- frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXHeader.as
+++ frameworks/projects/rpc/src/mx/messaging/channels/amfx/AMFXHeader.as
@@ -1,25 +1,19 @@
-/*************************************************************************
- *
- * ADOBE CONFIDENTIAL
- * __________________
- *
- *  [2002] - [2007] Adobe Systems Incorporated
- *  All Rights Reserved.
- *
- * NOTICE:  All information contained herein is, and remains
- * the property of Adobe Systems Incorporated and its suppliers,
- * if any.  The intellectual and technical concepts contained
- * herein are proprietary to Adobe Systems Incorporated
- * and its suppliers and may be covered by U.S. and Foreign Patents,
- * patents in process, and are protected by trade secret or copyright law.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Adobe Systems Incorporated.
- */
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
 package mx.messaging.channels.amfx
 {

 [ExcludeClass]
+
 /**
  * An AMFX request or response packet can contain headers.
  *
@@ -40,4 +34,4 @@
     }
 }

-}+}


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

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

 package mx.messaging.events
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12982
Author:   hhillen@paciellogroup.com
Date:     2009-12-16T04:44:23.337323Z

Log Message:
-----------
Fix for issue with exposing accessible names for combobox list items
QE notes: none
Doc notes: none
Bugs: n/a
Reviewer: Gordon
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as</path>

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

--- frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ListBaseAccImpl.as
@@ -352,7 +352,7 @@
         if (childID == 0)
             return "";
         var listBase:ListBase = ListBase(master);
-        return listBase.dataProvider.getItemAt(childID - 1).toString();
+        return listBase.itemToLabel(listBase.dataProvider.getItemAt(childID - 1));
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 7065
Author:   smgilson@adobe.com
Date:     2009-05-19T12:27:36.799816Z

Log Message:
-----------
ASDoc updates for styles

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/SkinnableContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnableContainer.as
@@ -78,7 +78,7 @@
 include "../styles/metadata/SelectionFormatTextStyles.as"

 /**
- *  @copy spark.components.supportClasses.GroupBase#alternatingItemColors
+ *  @copy spark.components.supportClasses.GroupBase#style:alternatingItemColors
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -88,7 +88,7 @@
 [Style(name="alternatingItemColors", type="Array", arrayType="uint", format="Color", inherit="yes", theme="spark")]

 /**
- *  @copy spark.components.supportClasses.GroupBase#contentBackgroundColor
+ *  @copy spark.components.supportClasses.GroupBase#style:contentBackgroundColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -98,7 +98,7 @@
 [Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
- *  @copy spark.components.supportClasses.GroupBase#focusColor
+ *  @copy spark.components.supportClasses.GroupBase#style:focusColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -108,7 +108,7 @@
 [Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
- * @copy spark.components.supportClasses.GroupBase#rollOverColor
+ * @copy spark.components.supportClasses.GroupBase#style:rollOverColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10
@@ -118,7 +118,7 @@
 [Style(name="rollOverColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
- *  @copy spark.components.supportClasses.GroupBase#symbolColor
+ *  @copy spark.components.supportClasses.GroupBase#style:symbolColor
  *
  *  @langversion 3.0
  *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 7910
Author:   egeorgie@adobe.com
Date:     2009-06-17T01:41:55.138890Z

Log Message:
-----------
P-ARB changes:

* IGraphicElement sharedIndex -> DisplayObjectSharingMode
* ScrollUnit -> NavigationUnit
* LayoutBase.getDestinationIndex -> LayoutBase.getNavigationDestinationIndex, param order reversed!!!!
* mouseOpaque -> mouseEnabledWhereTransparent
* various other small renames and changes to non-public APIs

Doc Notes: None
Bugs: N/A
Reviewer: Deepa
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/development/eclipse/flex/flex4test/src/layouts/WheelLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/fxg/FlexFXG2SWFTranscoder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/InvalidatingSprite.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IViewport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/TextGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Group.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/ScrollUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/NavigationUnit.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/IGraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableDataContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/core/DisplayObjectSharingMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/core/DisplayObjectSharingMode.as
+++ frameworks/projects/spark/src/spark/core/DisplayObjectSharingMode.as
@@ -0,0 +1,59 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2003-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 spark.core
+{
+/**
+ *  Enumerated type for the IGraphicElement's displayObjectSharingMode
+ *  property.
+ *
+ *  @see IGraphicElement#displayObjectSharingMode
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
+ */
+public final class DisplayObjectSharingMode
+{
+    /**
+     *  Such IGraphicElement owns a DisplayObject exclusively.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const OWNS_UNSHARED_OBJECT:String = "ownsUnsharedObject";
+
+    /**
+     *  Such IGraphicElement owns a DisplayObject that is also
+     *  assigned to some other IGraphicElement by the parent
+     *  Group.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const OWNS_SHARED_OBJECT:String = "ownsSharedObject";
+
+    /**
+     *  Such IGraphicElement is assigned a DisplayObject by
+     *  its parent Group.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public static const USES_SHARED_OBJECT:String = "usesSharedObject";
+}
+}


requirements default to a qty of 1 when not N/A

--- flexEditor/src/org/arisgames/editor/view/RequirementsEditorView.as
+++ flexEditor/src/org/arisgames/editor/view/RequirementsEditorView.as
@@ -193,6 +193,7 @@
 				r.requirement == AppConstants.REQUIREMENT_PLAYER_HAS_ITEM_DATABASE)
 			{
 				trace("RequirementEditorView: This requirement uses QTY");
+				r.requirementDetail2 = "1";
 			}
 			else
 			{


Transferred from the Adobe Open Source Subversion Repository

Revision: 2957
Author:   aharui@adobe.com
Date:     2008-08-22T09:01:31.559126Z

Log Message:
-----------
Changes from API Review

Highlights:

MarshalEvent -> SandboxRootRequest
MarshalMouseEvent -> SandboxRootMouseEvent
MarshalDragEvet -> SandboxRootDragEvent
SandboxBridgeEvent -> SWFBridgeEvent
SandboxBridgeRequest -> SWFBridgeRequest

Checkintests passed.  Mustella for Marshall Plan will certainly fail until tests updated to new APIs
Probably ok to merge to trunk.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusDirection.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/PopUpRequest.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxBridgeEvent.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SizeRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/FocusRequest.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/FocusRequestDirection.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/MarshalEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootDragEvent.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/MarshalMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollThumb.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootRequest.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/utils/EventUtil.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxRootMouseEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/InvalidateRequestData.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SandboxBridgeRequest.as</path>
<path kind="file" action="A">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/SWFBridgeRequest.as</path>
<path kind="file" action="D">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/MarshalDragEvent.as</path>
<path kind="file" action="M">/flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/events/ModalWindowRequest.as</path>

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

--- frameworks/projects/framework/src/mx/events/InterManagerRequest.as
+++ frameworks/projects/framework/src/mx/events/InterManagerRequest.as
@@ -0,0 +1,120 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2008 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.events
+{
+
+import flash.events.Event;
+
+/**
+ *  This is an event sent between application domains
+ *  to notify trusted listeners about activity in a particular manager.
+ */
+public class SandboxRootRequest extends Event
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Communication between CursorManagers use this request type
+	 *  The name property is the name of some CursorManager property
+	 *  The value property is value of that property
+     */
+    public static const CURSOR_MANAGER_REQUEST:String = "cursorManagerRequest";
+
+    /**
+     *  Communication between DragManagers use this request type
+	 *  The name property is the name of some DragManager property
+	 *  The value property is value of that property
+     */
+    public static const DRAG_MANAGER_REQUEST:String = "dragManagerRequest";
+
+    /**
+     *  Ask the other ApplicationDomain to instantiate a manager in
+	 *  that ApplicationDomain (if it isn't already instantiated)
+	 *  so it is available to listen to subsequent
+	 *  SandboxRootRequests.
+	 *  The name property is the name of the manager to instantiate.
+     */
+    public static const INIT_MANAGER_REQUEST:String = "initManagerRequest";
+
+    /**
+     *  Request the SystemManager to perform some action
+	 *  The name property is the name of action to perform
+	 *  The value property is values needed to perform that action
+     */
+    public static const SYSTEM_MANAGER_REQUEST:String = "systemManagerRequest";
+
+    /**
+     *  Communication between ToolTipManagers use this request type
+	 *  The name property is the name of some ToolTipManager property
+	 *  The value property is value of that property
+     */
+    public static const TOOLTIP_MANAGER_REQUEST:String = "tooltipManagerRequest";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  Constructor.
+	 *
+	 *  @param name Name of property or method or name of manager to instantiate
+     *
+	 *  @param value Value of property, or array of parameters
+     *  for method (if not-null).
+	 *
+	 *  @return None, but the value property can be modified
+     *  to represent a return value of a method.
+	 */
+	public function SandboxRootRequest(type:String, bubbles:Boolean = false,
+                                 cancelable:Boolean = false,
+							     name:String = null, value:Object = null)
+	{
+		super(type, bubbles, cancelable);
+
+		this.name = name;
+		this.value = value;
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  name
+    //----------------------------------
+
+    /**
+     *  Name of property or method or manager to instantiate
+     */
+	public var name:String;
+
+    //----------------------------------
+    //  value
+    //----------------------------------
+
+    /**
+     *  Value of property, or array of parameters for method.
+     */
+	public var value:Object;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 11027
Author:   dloverin@adobe.com
Date:     2009-10-20T15:50:09.018295Z

Log Message:
-----------
Changes to enable using multiple style managers.

Multiple style managers are not the default yet. Can be enabled by compiling with -create-style-manager.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex, Paul
Tests run: checkintests, all mustella
Is noteworthy for integration: Yes.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.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/modules/compiler/src/java/flex2/compiler/css/StylesContainer.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/AbstractSyntaxTreeUtil.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/rep/MxmlDocument.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/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/MxmlConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/InterfaceGenerator.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</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/frameworks/projects/halo/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/as3/binding/DataBindingExtension.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/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSMergedStyleDeclaration.as</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/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.java</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/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/ImplementationGenerator.java</path>

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

--- frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
+++ frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as
@@ -18,8 +18,10 @@

 import mx.core.Singleton;
 import mx.core.mx_internal;
+import mx.events.FlexChangeEvent;
 import mx.managers.ISystemManager;
 import mx.managers.SystemManagerGlobals;
+import mx.utils.ObjectUtil;

 use namespace mx_internal;

@@ -123,17 +125,26 @@
      *  @param styleManager - The style manager to set this declaration into. If the
      *  styleManager is null the top-level style manager will be used.
      *
+     *  @param setSelector - If true set the selector in the styleManager. If setSelector
+     *  is false this style declaration can be set in the styleManager at a later time
+     *  by calling styleManager.setStyleDeclaration(styleDeclaration.mx_internal::selectorString, styleDeclaration, false);
+     *   FIXME: (dloverin) Should CSSStyleDeclaration.mx_internal::selectorString be made public?
+     *
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public function CSSStyleDeclaration(selector:Object=null, styleManager:IStyleManager2=null)
+    public function CSSStyleDeclaration(selector:Object=null, styleManager:IStyleManager2=null, setSelector:Boolean = true)
     {
         super();

+        // Do not reference StyleManager directly because this is a bootstrap class
+        if (!styleManager)
+            styleManager = Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2;
+
         this.styleManager = styleManager;
-
+
         if (selector)
         {
             if (selector is CSSSelector)
@@ -146,11 +157,8 @@
                 selectorString = selector.toString();
             }

-            // Do not reference StyleManager directly because this is a bootstrap class
-            if (!styleManager)
-                styleManager = Singleton.getInstance("mx.styles::IStyleManager2") as IStyleManager2;
-
-            styleManager.setStyleDeclaration(selectorString, this, false);
+            if (setSelector)
+                styleManager.setStyleDeclaration(selectorString, this, false);
         }

     }
@@ -204,6 +212,8 @@
     //  defaultFactory
     //----------------------------------

+    private var _defaultFactory:Function;
+
     [Inspectable(environment="none")]

     /**
@@ -226,11 +236,24 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var defaultFactory:Function;
-
+    public function get defaultFactory():Function
+    {
+        return _defaultFactory;
+    }
+
+    /**
+     *  @private
+     */
+    public function set defaultFactory(f:Function):void
+    {
+        _defaultFactory = f;
+    }
+
     //----------------------------------
     //  factory
     //----------------------------------
+
+    private var _factory:Function;

     [Inspectable(environment="none")]

@@ -251,11 +274,24 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    public var factory:Function;
+    public function get factory():Function
+    {
+        return _factory;
+    }
+
+    /**
+     *  @private
+     */
+    public function set factory(f:Function):void
+    {
+        _factory = f;
+    }

     //----------------------------------
     //  overrides
     //----------------------------------
+
+    private var _overrides:Object;

     /**
      *  If the setStyle() method is called on a UIComponent or CSSStyleDeclaration
@@ -269,8 +305,19 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    protected var overrides:Object;
-
+    public function get overrides():Object
+    {
+        return _overrides;
+    }
+
+    /**
+     *  @private
+     */
+    public function set overrides(o:Object):void
+    {
+        _overrides = o;
+    }
+
     //----------------------------------
     //  selector
     //----------------------------------
@@ -453,6 +500,58 @@
     {
         return (selector != null) ? selector.matchesStyleClient(object) : false;
     }
+
+    /**
+     *  Determine if the properties of this style declaration are the same as the the properties of a specified
+     *  style declaration.
+     *
+     *  @param styleDeclaration the style declaration to compare.
+     *
+     *  @return true if the styleDeclaration is considered equal to this declaration.
+     */
+    mx_internal function equals(styleDeclaration:CSSStyleDeclaration):Boolean
+    {
+        if (styleDeclaration == null)
+            return false;
+
+        // test in order of most likey to be different.
+
+        var obj:Object; // loop variable
+
+        // overrides
+        if (ObjectUtil.compare(overrides, styleDeclaration.overrides) != 0)
+            return false;
+
+        // factory
+        if ((factory == null && styleDeclaration.factory != null) ||
+            (factory != null && styleDeclaration.factory == null))
+            return false;
+
+        if (factory != null)
+        {
+            if (ObjectUtil.compare(new factory(), new styleDeclaration.factory()) != 0)
+                return false;
+        }
+
+        // defaultFactory
+        if ((defaultFactory == null && styleDeclaration.defaultFactory != null) ||
+            (defaultFactory != null && styleDeclaration.defaultFactory == null))
+            return false;
+
+        if (defaultFactory != null)
+        {
+            if (ObjectUtil.compare(new defaultFactory(),
+                                   new styleDeclaration.defaultFactory()) != 0)
+                return false;
+        }
+
+        // effects
+        if (ObjectUtil.compare(effects, styleDeclaration.mx_internal::effects))
+            return false;
+
+        return true;
+    }
+

     /**
      *  Gets the value for a specified style property,
@@ -620,6 +719,8 @@
      */
     mx_internal function setLocalStyle(styleProp:String, value:*):void
     {
+        var oldValue:Object = getStyle(styleProp);
+
         // If setting to undefined, clear the style attribute.
         if (value === undefined) // must use ===
         {
@@ -684,21 +785,8 @@
         }

         // Update all clones of this style sheet.
-        for (var clone:* in clones)
-        {
-            var cloneFilter:Object = clone[FILTERMAP_PROP];
-            if (cloneFilter)
-            {
-                if (cloneFilter[styleProp] != null)
-                {
-                    clone[cloneFilter[styleProp]] = value;
-                }
-            }
-            else
-            {
-                clone[styleProp] = value;
-            }
-        }
+        updateClones(styleProp, value);
+
     }

     /**
@@ -761,6 +849,14 @@
             chain = {};
         }

+        // Add parent style to proto chain.
+        if (styleManager.parent)
+        {
+            var parentStyle:CSSStyleDeclaration = styleManager.parent.getStyleDeclaration(selectorString);
+            if (parentStyle)
+                chain = parentStyle.addStyleToProtoChain(chain, target, filterMap);
+        }
+
         // If there's a defaultFactory for this style sheet,
         // then add the object it produces to the chain.
         if (defaultFactory != null)
@@ -772,8 +868,10 @@

         // If there's a factory for this style sheet,
         // then add the object it produces to the chain.
+        var objectFactory:Object = null;
         if (factory != null)
         {
+            objectFactory = new factory();
             factory.prototype = chain;
             chain = new factory();
             nodeAddedToChain = true;
@@ -867,6 +965,30 @@
             delete clone[styleProp];
         }
     }
+
+    /**
+     *  @private
+     */
+    mx_internal function updateClones(styleProp:String, value:*):void
+    {
+        // Update all clones of this style sheet.
+        for (var clone:* in clones)
+        {
+            var cloneFilter:Object = clone[FILTERMAP_PROP];
+            if (cloneFilter)
+            {
+                if (cloneFilter[styleProp] != null)
+                {
+                    clone[cloneFilter[styleProp]] = value;
+                }
+            }
+            else
+            {
+                clone[styleProp] = value;
+            }
+        }
+    }
+
 }

 }


Ensure that a disabled button looks like it is disabled Fix for https://issues.apache.org/jira/browse/FLEX-34758

--- frameworks/projects/mobiletheme/src/spark/skins/ios7/ButtonSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/ios7/ButtonSkin.as
@@ -284,7 +284,7 @@
 	override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
 	{
 		super.updateDisplayList(unscaledWidth,unscaledHeight);
-		if(currentState == "down")
+		if(currentState == "down" || currentState == "disabled")
 		{
 			this.alpha = 0.5;
 		}


Transferred from the Adobe Open Source Subversion Repository

Revision: 8044
Author:   chaase@adobe.com
Date:     2009-06-22T17:01:54.701660Z

Log Message:
-----------
Final (!) PARB changes for effects.
- renamed ArrayInterpolator to MultiValueInterpolator (and enhanced behavior to handle Vectors as well as Arrays).
- Created new AnimateTransform3D subclass of AnimateTransform (to hold 3D-specific properties/defaults), and moved Move3D, Rotate3D, Scale3D to subclass from this new class.

QE Notes: Change to default value of applyLocalProjection (matches former default on 3D effects, but not default on AnimateTransform).
Doc Notes: None
Bugs: None
Reviewer: Hans
Tests: checkintests, effects cyclone from QE

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as" copyfrom-rev="7917" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/MultiValueInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/Animation.as
+++ frameworks/projects/spark/src/spark/effects/animation/Animation.as
@@ -158,7 +158,6 @@
      */
     private static var linearEaser:IEaser;

-    private var arrayMode:Boolean;
     // FIXME (chaase): more efficient way to store/remove these than in an array?
     // Dictionary, perhaps (although that may be unordered and less
     // efficient to access)
@@ -447,19 +446,20 @@
     //----------------------------------

     /**
-     *  The interpolator used by the Animation instance to calculate values between
+     *  The interpolator used by the Animation instance
+     *  to calculate values between
      *  the start and end values of the property.
      *  By default, the class uses the NumberInterpolator class or,
-     *  in the case of the start and end values being arrays,
-     *  by the ArrayInterpolator class.
-     *  Interpolation of other data types, or of Numbers that should be interpolated
+     *  in the case of the start and end values being arrays or Vectors,
+     *  by the MultiValueInterpolator class.
+     *  Interpolation of other data types, or
+     *  of Numbers that should be interpolated
      *  differently, such as uint values that hold color
      *  channel information, can be handled by supplying a different
      *  interpolator.
      *
      *  @see spark.effects.interpolation.NumberInterpolator
-     *  @see spark.effects.interpolation.ArrayInterpolator
-     *
+     *  @see spark.effects.interpolation.MultiValueInterpolator
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 1.5


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/LegendAutomationImpl.as
+++ frameworks/projects/automation_dmv/src/mx/automation/delegates/charts/LegendAutomationImpl.as
@@ -0,0 +1,124 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.automation.delegates.charts
+{
+	import flash.display.DisplayObject;
+	import flash.events.Event;
+	import flash.events.MouseEvent;
+
+	import mx.automation.Automation;
+	import mx.automation.IAutomationObjectHelper;
+	import mx.automation.delegates.core.ContainerAutomationImpl;
+	import mx.charts.Legend;
+	import mx.charts.events.LegendMouseEvent;
+
+	[Mixin]
+	/**
+	 *
+	 *  Defines the methods and properties required to perform instrumentation for the
+	 *  Legend class.
+	 *
+	 *  @see mx.charts.Legend
+	 *
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
+	 */
+	public class LegendAutomationImpl extends ContainerAutomationImpl
+	{
+		include "../../../core/Version.as";
+
+		//--------------------------------------------------------------------------
+		//
+		//  Class methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Registers the delegate class for a component class with automation manager.
+		 *
+		 *  @param root The SystemManger of the application.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public static function init(root:DisplayObject):void
+		{
+			Automation.registerDelegateClass(Legend, LegendAutomationImpl);
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		//  Constructor
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  Constructor.
+		 *  @param obj Legend object to be automated.
+		 *
+		 *  @langversion 3.0
+		 *  @playerversion Flash 9
+		 *  @playerversion AIR 1.1
+		 *  @productversion Flex 3
+		 */
+		public function LegendAutomationImpl(obj:Legend)
+		{
+			super(obj);
+
+			legend = obj;
+
+			legend.addEventListener(LegendMouseEvent.ITEM_CLICK, recordAutomatableEvent, false, 0, true);
+		}
+
+		/**
+		 *  @private
+		 *  storage for the owner component
+		 */
+		private var legend:Legend;
+
+		//--------------------------------------------------------------------------
+		//
+		//  Overridden methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 */
+		override public function replayAutomatableEvent(event:Event):Boolean
+		{
+			var help:IAutomationObjectHelper = Automation.automationObjectHelper;
+			var ev:MouseEvent;
+
+			if (event is LegendMouseEvent)
+			{
+				var legendEvent:LegendMouseEvent = event as LegendMouseEvent;
+				if (event.type == LegendMouseEvent.ITEM_CLICK)
+				{
+					ev = new MouseEvent(MouseEvent.CLICK);
+					ev.localX = legendEvent.item.x + legendEvent.item.width/2;
+					ev.localY = legendEvent.item.y + legendEvent.item.height/2;
+					return help.replayClick(legendEvent.item, ev);
+				}
+			}
+
+			return super.replayAutomatableEvent(event);
+		}
+
+	}
+
+}


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package spark.preloaders
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 2698
Author:   gosmith@adobe.com
Date:     2008-08-01T00:19:14.317096Z

Log Message:
-----------
TextView now has zero default padding, to match TextBox and TextGraphic.

This means that skins like TextInputSkin and TextAreaSkin now need to set padding on their TextView, to avoid having the text displayed too close to the border. You can't just inset the TextView from the border using left/top/right/bottom because then clicks in the area between the border and the text wouldn't be detected.

Reviewer: Glenn
Bug: SDK-16290
QA: No
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextAreaSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/skin/TextInputSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -16,8 +16,14 @@
 import flash.display.Graphics;
 import flash.display.Sprite;
 import flash.geom.Point;
+import flash.text.engine.FontPosture;
+import flash.text.engine.FontWeight;
+import flash.text.engine.Kerning;

 import flex.graphics.IDisplayObjectElement;
+
+import text.model.TextAlign;
+import text.model.VerticalAlign;

 /**
  *  Documentation is not currently available.
@@ -178,7 +184,7 @@
 	/**
 	 *  @private
 	 */
-	private var _fontStyle:String = "normal";
+	private var _fontStyle:String = FontPosture.NORMAL;

 	/**
 	 *  Documentation is not currently available.
@@ -212,7 +218,7 @@
 	/**
 	 *  @private
 	 */
-	private var _fontWeight:String = "normal";
+	private var _fontWeight:String = FontWeight.NORMAL;

 	/**
 	 *  Documentation is not currently available.
@@ -246,7 +252,7 @@
 	/**
 	 *  @private
 	 */
-	private var _kerning:String = "auto";
+	private var _kerning:String = Kerning.AUTO;

 	/**
 	 *  Documentation is not currently available.
@@ -450,7 +456,7 @@
 	/**
 	 *  @private
 	 */
-	private var _textAlign:String = "left";
+	private var _textAlign:String = TextAlign.START;

 	/**
 	 *  Documentation is not currently available.
@@ -551,7 +557,7 @@
 	/**
 	 *  @private
 	 */
-	private var _verticalAlign:String = "top";
+	private var _verticalAlign:String = VerticalAlign.TOP;

 	/**
 	 *  Documentation is not currently available.


Make Fader set visible to false when alpha is 0.

--- skin-src/goplayer/Fader.as
+++ skin-src/goplayer/Fader.as
@@ -36,7 +36,7 @@
     }

     private function get ended() : Boolean
-    { return phase == 1 }
+    { return phase === 1 }

     public function get targetAlpha() : Number
     { return _targetAlpha }
@@ -45,17 +45,23 @@
     {
       // First time around, set the alpha immediately.
       if (isNaN(targetAlpha))
-        object.alpha = value
+        alpha = value

-      if (value != targetAlpha)
+      if (value !== targetAlpha)
         $targetAlpha = value
+    }
+
+    private function set alpha(value : Number) : void
+    {
+      object.alpha = value
+      object.visible = value > 0
     }

     private function set $targetAlpha(value : Number) : void
     {
       _targetAlpha = value

-      if (targetAlpha != object.alpha)
+      if (targetAlpha !== object.alpha)
         startFading()
     }

@@ -68,7 +74,7 @@
     }

     private function update() : void
-    { object.alpha = startAlpha + deltaAlpha * phase }
+    { alpha = startAlpha + deltaAlpha * phase }

     private function get deltaAlpha() : Number
     { return targetAlpha - startAlpha }


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

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

 package mx.automation.delegates.core
 {


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

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

 package mx.automation.delegates.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 17967
Author:   rfrishbe@adobe.com
Date:     2010-09-30T20:42:13.559166Z

Log Message:
-----------
Making a performance change in MobileIconItemRenderer/MobileItemRenderer in how we measure text.  We don't call UIComponent.measureText() anymore as that creates another TextField behind the scenes and changes its text.  Instead we now just ask for the textWidth/textHeight of the TextField we are already using.  This change should give us about a 10-15% improvement.  I added a FIXME to change it in ButtonSkin and look for other places we need to change it as well.

Also, I'm making some changes in the way we measure FPS in TestHelper for RadioStations to be more consistent.

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

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileTextField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/RadioStations/src/TestHelper.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
+++ frameworks/projects/mobilecomponents/src/spark/components/supportClasses/StyleableTextField.as
@@ -567,6 +567,8 @@
             textFormat.leading = getStyleFunction("leading");
             textFormat.letterSpacing = getStyleFunction("letterSpacing");

+            // do we care abotu kerning, antiAliasType, gridFitType, sharpness, thickness, or leading?
+
             // ignore padding in the text...most components deal with it themselves
             //textFormat.leftMargin = getStyleFunction("paddingLeft");
             //textFormat.rightMargin = getStyleFunction("paddingRight");


Fix compilation.

Fix compilation.

--- src/aerys/minko/scene/controller/animation/AbstractAnimationController.as
+++ src/aerys/minko/scene/controller/animation/AbstractAnimationController.as
@@ -304,7 +304,7 @@

 		protected function checkLabelHit(previousTime : int, newTime : int) : void
 		{
-			if (!_isPlaying || !_nextLabelIds || !_nextLabelIds.length) || !_labelHit.numCallbacks)
+			if (!_isPlaying || !_nextLabelIds || !_nextLabelIds.length || !_labelHit.numCallbacks)
 				return;

 			var nextLabelTime	: Number	= _labelTimes[_nextLabelIds[0]];


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

--- frameworks/projects/framework/src/mx/controls/menuClasses/IMenuDataDescriptor.as
+++ frameworks/projects/framework/src/mx/controls/menuClasses/IMenuDataDescriptor.as
@@ -0,0 +1,96 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2006-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.controls.menuClasses
+{
+
+import mx.collections.ICollectionView;
+
+/**
+ *  The IMenuDataDescriptor interface defines the interface that a
+ *  dataDescriptor for a Menu or MenuBar control must implement.
+ *  The interface provides methods for parsing and modifyng a collection
+ *  of data that is displayed by a Menu or MenuBar control.
+ *
+ *  @see mx.collections.ICollectionView
+ */
+public interface IMenuDataDescriptor
+{
+	//--------------------------------------------------------------------------
+	//
+	//  Methods
+	//
+	//--------------------------------------------------------------------------
+
+    /**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#getChildren()
+     */
+	function getChildren(node:Object, model:Object = null):ICollectionView;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#hasChildren()
+     */
+	function hasChildren(node:Object, model:Object = null):Boolean;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#getData()
+     */
+	function getData(node:Object, model:Object = null):Object;
+
+    /**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#isBranch()
+     */
+	function isBranch(node:Object, model:Object = null):Boolean;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#getType()
+     */
+	function getType(node:Object):String;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#addChildAt()
+     */
+    function addChildAt(parent:Object, newChild:Object, index:int,
+						model:Object = null):Boolean;
+
+    /**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#removeChildAt()
+     */
+    function removeChildAt(parent:Object, child:Object, index:int,
+						   model:Object = null):Boolean;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#isEnabled()
+     */
+	function isEnabled(node:Object):Boolean;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#setEnabled()
+     */
+	function setEnabled(node:Object, value:Boolean):void;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#isToggled()
+     */
+	function isToggled(node:Object):Boolean;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#setToggled()
+     */
+	function setToggled(node:Object, value:Boolean):void;
+
+	/**
+     *  @copy mx.controls.treeClasses.DefaultDataDescriptor#getGroupName()
+     */
+	function getGroupName(node:Object):String;
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 21970
Author:   chiedozi@adobe.com
Date:     2011-08-12T23:17:44.298219Z

Log Message:
-----------
activeView on ViewNavigator and TabbedViewNavigator is now bindable

QE notes:
Doc notes:
Bugs: SDK-31150
Reviewer: Tom
Tests run: checkintests-mobile
Is noteworthy for integration: No

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as
@@ -277,6 +277,7 @@
     //  activeView
     //----------------------------------

+    [Bindable("viewChangeComplete")]
     /**
      *  @private
      */


Reduce log volume related to time cache.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -468,6 +468,9 @@
 		protected var _timeCache_streamStartAbsoluteTime:Number = NaN;
 		protected var _timeCache_lastTime:Number = NaN;

+		// Used to suppress repopulating time cache spam.
+		private static var _timeCache_logLatch:Boolean = false;
+
 		/**
 		 * @inheritDoc
 		 */
@@ -490,7 +493,9 @@
 			{
 				CONFIG::LOGGING
 				{
-					logger.debug("Repopulating time cache.");
+					if(_timeCache_logLatch)
+						logger.debug("Repopulating time cache.");
+					_timeCache_logLatch = false;
 				}

 				var activeManifest:HLSManifestParser = indexHandler.getLastSequenceManifest();
@@ -564,7 +569,16 @@

 			// Update cache as appropriate.
 			if(!isNaN(potentialNewTime))
+			{
+				CONFIG::LOGGING
+				{
+					if(_timeCache_logLatch == false)
+						logger.debug("Finished repopulating time cache to " + potentialNewTime + ".");
+					_timeCache_logLatch = true;
+				}
+
 				_lastValidTimeTime = potentialNewTime;
+			}

 			return _lastValidTimeTime;
 		}


URL Error Recovery Fix Fixed a mysterious issue where the player was jumping forward in the event of a URL error much too quickly.

--- HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
+++ HLSPlugin/src/org/osmf/net/httpstreaming/HLSHTTPNetStream.as
@@ -787,16 +787,16 @@
 										timeSinceWait = retryAttemptMaxTime;
 									}

-									if (retryAttemptMaxTime > timeSinceWait && (!currentStream || currentStream.numBackups >= retryAttemptCount))
+									if (retryAttemptMaxTime < timeSinceWait && (!currentStream || currentStream.numBackups < retryAttemptCount))
 									{
-										// we reset the stream by seeking to our curent play position
-										seekToRetrySegment(time);
+										// if we are finished waiting for the same segment we seek forward to trigger new segments
+										seekToRetrySegment(time + calculateSeekTime());
+										seekForwardCount++;
 									}
 									else
 									{
-										// if we are finished waiting for the same segment we seek forward to trigger new segments
-										seekToRetrySegment(time + calculateSeekTime());
-										seekForwardCount++;
+										// we reset the stream by seeking to our curent play position
+										seekToRetrySegment(time);
 									}
 									retryAttemptCount++;
 								}
@@ -1309,7 +1309,7 @@
 				/**
 				 * @private
 				 *
-				 * We received an download error event. We will dispatch a NetStatusEvent with StreamNotFound
+				 * We received an download error event. We will attempt to recover the stream, then dispatch a NetStatusEvent with StreamNotFound
 				 * error to notify all NetStream consumers and close the current NetStream.
 				 */
 				private function onDownloadError(event:HTTPStreamingEvent):void


added video permalink to trackPlayUrl POST

--- com/definition/Player.as
+++ com/definition/Player.as
@@ -941,6 +941,7 @@
 					var request:URLRequest = new URLRequest(config.trackPlayUrl);
 					var variables:URLVariables = new URLVariables();
 					variables._method = 'post';
+					if(videoPermalinkId) variables.permalink = videoPermalinkId;
 					if(config.userId) variables.user_id = config.userId;
 					request.method = URLRequestMethod.POST;
 					request.data = variables;


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4489
Author:   chaase@adobe.com
Date:     2009-01-12T21:51:55.997718Z

Log Message:
-----------
Workaround for Flash bug where final column/row are repeated during the transition, causing a cark border artifact. Workaround is to have the shader output alpha=0 for any pixel not in specified bounds (only works if shader specifies width/height, as we do for FxWipe and now do for FxCrossFade).
Also fixed some minor asdoc errors.

QE Notes: None
Doc Notes: None
Bugs:
Reviewer: Corey

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxWipe.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxWipe.pbk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxCrossFade.pbj</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxCrossFade.pbk</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as
@@ -92,7 +92,7 @@
      *   shaderEffect.shaderProperties = {direction : 1};</listing>
      * or in MXML code, this:<listing version="3.0">
      *   <FxAnimateShaderTransition
-     *       shaderCode="&64;Embed(source="MyShader.pbj", mimeType="application/octet-stream")"
+     *       shaderCode="&64;Embed(source='MyShader.pbj', mimeType='application/octet-stream')"
      *       shaderProperties="{{direction : 1}}}"/>
      * </listing>
      *
@@ -201,24 +201,24 @@
             propertyValuesList = [
                 new PropertyValuesHolder("progress", [0,1])
             ];
+            // auto-set width/height if exposed in shader
+            if ("width" in shader.data)
+                shader.data.width.value = [bitmapFrom.width];
+            if ("height" in shader.data)
+                shader.data.height.value = [bitmapFrom.height];
+            if (shaderProperties)
+            {
+                for (var prop:String in shaderProperties)
+                {
+                    var value:Object = shaderProperties[prop];
+                    shader.data[prop].value = (value is Array) ?
+                        value :
+                        [value];
+                }
+            }
+            shaderFilter = new ShaderFilter(shader);
         }
-        // auto-set width/height if exposed in shader
-        if ("width" in shader.data)
-            shader.data.width.value = [target.width];
-        if ("height" in shader.data)
-            shader.data.height.value = [target.height];

-        if (shaderProperties)
-        {
-            for (var prop:String in shaderProperties)
-            {
-                var value:Object = shaderProperties[prop];
-                shader.data[prop].value = (value is Array) ?
-                    value :
-                    [value];
-            }
-        }
-        shaderFilter = new ShaderFilter(shader);
         super.play();
     }


Change Int8Array to Uint8Array

Change Int8Array to Uint8Array

--- frameworks/projects/Core/src/main/flex/org/apache/flex/utils/BinaryData.as
+++ frameworks/projects/Core/src/main/flex/org/apache/flex/utils/BinaryData.as
@@ -88,11 +88,11 @@
         }
         COMPILE::JS
         {
-            var view:Int8Array;
+            var view:Uint8Array;

             growBuffer(1);

-            view = new Int8Array(ba, _position, 1);
+            view = new Uint8Array(ba, _position, 1);
             view[0] = byte;
             _position++;
         }
@@ -192,9 +192,9 @@
         }
         COMPILE::JS
         {
-            var view:Int8Array;
-
-            view = new Int8Array(ba, _position, 1);
+            var view:Uint8Array;
+
+            view = new Uint8Array(ba, _position, 1);
             _position++;
             return view[0];
         }
@@ -368,8 +368,8 @@
         COMPILE::JS
         {
             var newBuffer:ArrayBuffer;
-            var newView:Int8Array;
-            var view:Int8Array;
+            var newView:Uint8Array;
+            var view:Uint8Array;
             var i:int;
             var n:int;

@@ -377,8 +377,8 @@
             {
                 n = ba.byteLength;
                 newBuffer = new ArrayBuffer(n + extra);
-                newView = new Int8Array(newBuffer, 0, n);
-                view = new Int8Array(ba, 0, n);
+                newView = new Uint8Array(newBuffer, 0, n);
+                view = new Uint8Array(ba, 0, n);
                 for (i = 0; i < n; i++)
                 {
                     newView[i] = view[i];


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

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

 package mx.charts.chartClasses
 {


Renamed VOs in the default package so as not to clash with future others that might have the same name.

--- frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
+++ frameworks/projects/framework/tests/ListCollectionView_FLEX_34837_Tests.as
@@ -56,7 +56,7 @@
             _sut.refresh(); //values: Object1, Object2, Object3, Object4

             //when
-            const newItem:ListCollectionViewTestVO = generateOneObject(5);
+            const newItem:ListCollectionView_FLEX_34837_VO = generateOneObject(5);
             _sut.addItem(newItem); //values: Object1, Object2, Object3, Object4, Object5
             newItem.name = "Object0"; //this should immediately place the newItem at position 0

@@ -79,7 +79,7 @@
             _sut.refresh(); //values: Object1, Object2, Object3, Object4

             //when
-            const newItem:ListCollectionViewTestVO = generateOneObject(5);
+            const newItem:ListCollectionView_FLEX_34837_VO = generateOneObject(5);
             _sut.addItem(newItem); //values: Object1, Object2, Object3, Object4, Object5
             newItem.address.street = "Street0"; //this should immediately place the newItem at position 0

@@ -100,34 +100,34 @@
             return result;
         }

-        private static function generateOneObject(i:int):ListCollectionViewTestVO
+        private static function generateOneObject(i:int):ListCollectionView_FLEX_34837_VO
         {
-            return new ListCollectionViewTestVO("Object"+i, "Street"+i);
+            return new ListCollectionView_FLEX_34837_VO("Object"+i, "Street"+i);
         }
     }
 }

-class ListCollectionViewTestVO
+class ListCollectionView_FLEX_34837_VO
 {
     [Bindable]
     public var name:String;

     [Bindable]
-    public var address:ListCollectionViewTestAddressVO;
+    public var address:ListCollectionView_FLEX_34837_AddressVO;

-    public function ListCollectionViewTestVO(name:String, street:String)
+    public function ListCollectionView_FLEX_34837_VO(name:String, street:String)
     {
         this.name = name;
-        this.address = new ListCollectionViewTestAddressVO(street);
+        this.address = new ListCollectionView_FLEX_34837_AddressVO(street);
     }
 }

-class ListCollectionViewTestAddressVO
+class ListCollectionView_FLEX_34837_AddressVO
 {
     [Bindable]
     public var street:String;

-    public function ListCollectionViewTestAddressVO(street:String)
+    public function ListCollectionView_FLEX_34837_AddressVO(street:String)
     {
         this.street = street;
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 19851
Author:   mcho@adobe.com
Date:     2011-01-20T23:07:11.305461Z

Log Message:
-----------
More precise text alignment for mobile components

QE notes: Components with tend to be narrower and shorter for the View Menu.  Must update baselines that use x, y, width, height.
Doc notes: None
Bugs:
Reviewer: Ryan, Jason Szeto, Jason SJ, Glenn
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/supportClasses/StyleableTextField.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/ViewMenuItemSkin.as</path>
<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/mobilecomponents/src/spark/components/IconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorButtonBarButtonSkinBase.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/mobilecomponents/src/spark/components/LabelItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as
@@ -44,8 +44,13 @@
                 downBorderSkin = spark.skins.mobile320.assets.ViewMenuItem_down;
                 showsCaretBorderSkin = spark.skins.mobile320.assets.ViewMenuItem_showsCaret;

-                layoutBorderSize = 2;
-                layoutPaddingBottom = 12;
+				layoutGap = 12;
+				layoutPaddingLeft = 12;
+				layoutPaddingRight = 12;
+				layoutPaddingTop = 12;
+                layoutPaddingBottom = 3;
+				layoutBorderSize = 2;
+

                 break;
             }
@@ -55,9 +60,13 @@
                 downBorderSkin = spark.skins.mobile.assets.ViewMenuItem_down;
                 showsCaretBorderSkin = spark.skins.mobile.assets.ViewMenuItem_showsCaret;

-                layoutBorderSize = 1;
-                layoutPaddingBottom = 8;
-
+				layoutGap = 8;
+				layoutPaddingLeft = 8;
+				layoutPaddingRight = 8;
+				layoutPaddingTop = 8;
+                layoutPaddingBottom = 1;
+				layoutBorderSize = 1;
+
                 break;

             }
@@ -67,8 +76,12 @@
                 downBorderSkin = spark.skins.mobile.assets.ViewMenuItem_down;
                 showsCaretBorderSkin = spark.skins.mobile.assets.ViewMenuItem_showsCaret;

-                layoutBorderSize = 1;
-                layoutPaddingBottom = 6;
+				layoutGap = 6;
+				layoutPaddingLeft = 6;
+				layoutPaddingRight = 6;
+				layoutPaddingTop = 6;
+                layoutPaddingBottom = 1;
+				layoutBorderSize = 1;
             }
         }