Transferred from the Adobe Open Source Subversion Repository

Revision: 18264
Author:   cframpto@adobe.com
Date:     2010-10-21T15:49:14.183942Z

Log Message:
-----------
Fixup content and typos in ASdoc for setFormatOfRange().

QE notes:
Doc notes:
Bugs: SDK-26470
Reviewer:
Tests run: builds
Is noteworthy for integration:

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

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

--- frameworks/projects/spark/src/spark/components/RichEditableText.as
+++ frameworks/projects/spark/src/spark/components/RichEditableText.as
@@ -3422,7 +3422,7 @@
         }

         /**
-         *  Applies the specified formats to each elements in the specified
+         *  Applies the specified formats to each element in the specified
          *  range that correspond to the given format.
          *  It applies the character formats to the text in the specified range
          *  (no change is made if the specified range is a single point).
@@ -3431,7 +3431,7 @@
          *  single point).
          *  It applies the container formats to the container.
          *
-         *
The supported formats are those in TextFormatLayout.
+         *
The supported formats are those in TextLayoutFormat.
          *  A value of undefined does not get applied.
          *  If you don't specify a range, the selected range is used.

          *
@@ -3444,6 +3444,23 @@
          *

          *

          *
+         *
If you use the results of getFormatOfRange() to
+         *  specify the format, note that every format in the
+         *  TextLayoutFormat has a
+         *  computed value, which will be applied to each element that
+         *  corresponds to the given format.

+         *
+         *
If you would like to specify a format to be applied to all the text
+         *  it would be better to use setStyle(format, value)
+         *  on the component itself.

+         *
+         *
The following example sets the fontSize and color of all the text:
+         *

+         *  myRET.setStyle("fontSize", 12);
+         *  myRET.setStyle("color", 0xFF0000);
+         *

+         *

+         *
          *  @param format The TextLayoutFormat to apply to the selection.
          *
          *  @param anchorPosition A character position, relative to the beginning of the


Transferred from the Adobe Open Source Subversion Repository

Revision: 4748
Author:   dsubrama@adobe.com
Date:     2009-01-30T00:31:42.781368Z

Log Message:
-----------
Externalizing strings for the flex4 project. We now produce a resource bundle swc (flex4_rb.swc) that has all of the externalized strings for the flex4 project. We include 3 new bundles: components, layout and sparkEffects for the en_US locale. Other locales will come shortly.

QA: Yes, please doublecheck error messages are thrown with the correct error message.
Checkintests: Pass
Reviewer: Gordon

Modified Paths:
--------------
<path kind="file" action="A">/flex/sdk/trunk/components.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxScroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/build.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.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/Animation.as</path>
<path kind="file" action="A">/flex/sdk/trunk/layout.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/interpolation/NumberInterpolator.as</path>
<path kind="file" action="A">/flex/sdk/trunk/sparkEffects.properties</path>

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

--- frameworks/projects/spark/src/spark/effects/animation/Animation.as
+++ frameworks/projects/spark/src/spark/effects/animation/Animation.as
@@ -26,6 +26,8 @@
 import mx.effects.interpolation.NumberInterpolator;
 import mx.effects.interpolation.Sine;
 import mx.events.AnimationEvent;
+import mx.resources.IResourceManager;
+import mx.resources.ResourceManager;

 /**
  * Dispatched when the animation starts. The first
@@ -61,6 +63,12 @@
  * @eventType mx.events.AnimationEvent.ANIMATION_END
  */
 [Event(name="animationEnd", type="mx.events.AnimationEvent")]
+
+//--------------------------------------
+//  Other metadata
+//--------------------------------------
+
+[ResourceBundle("sparkEffects")]

 /**
  * The Animation class defines an animation that happens between
@@ -167,6 +175,13 @@
     private static var delayedStartAnims:Vector.<Animation> =
         new Vector.<Animation>();
     private static var delayedStartTimes:Dictionary = new Dictionary();
+
+    /**
+     *  @private
+     *  Used for accessing localized Error messages.
+     */
+    private var resourceManager:IResourceManager =
+                                    ResourceManager.getInstance();

     //--------------------------------------------------------------------------
     //
@@ -890,8 +905,7 @@
                 {
                     if (isNaN(startArray[i]))
                     {
-                        throw new Error("startValue array contains non-Numbers: " +
-                                        "must supply Interpolator to Animation");
+                        throw new Error(resourceManager.getString("sparkEffects", "startValContainsNonNums"));
                         return;
                     }
                 }
@@ -899,8 +913,7 @@
                 {
                     if (isNaN(endArray[i]))
                     {
-                        throw new Error("endValue array contains non-Numbers: " +
-                                        "must supply Interpolator to Animation");
+                        throw new Error(resourceManager.getString("sparkEffects", "endValContainsNonNums"));
                         return;
                     }
                 }


This goes along with 1369012 - https://svn.apache.org/repos/asf/incubator/flex/trunk/frameworks/projects/tool/src/mx/automation/tool/ToolAdapter.as

Fix https://issues.apache.org/jira/browse/FLEX-33160. For Apache SDK, references to QTP were replaced with Tool. During that process, one genuine reference to QTP also got modified and hence the issue.

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

--- frameworks/projects/tool_air/src/mx/automation/tool/ToolAdapter.as
+++ frameworks/projects/tool_air/src/mx/automation/tool/ToolAdapter.as
@@ -560,7 +560,7 @@

 					ExternalInterface.call("eval",
 					"if (!window._mx_testing_plugin_" + playerID +
-					".RegisterPluginWithTool(self, " + "'" + playerID + "')) {" +
+					".RegisterPluginWithQTP(self, " + "'" + playerID + "')) {" +
 					"document.getElementById('" + playerID +
 					"').SetLastError('TEAPluginIE.TEAFlexAgentIE is not scriptable'); }");


Transferred from the Adobe Open Source Subversion Repository

Revision: 21967
Author:   ksimm@adobe.com
Date:     2011-08-12T22:42:12.578702Z

Log Message:
-----------
SDK-31119: Setting locale to null displays the correct date and year.
SDK-31056: Change default min and max date to limit.

QE notes: none
Doc notes: none
Bugs: SDK-31056, SDK-31119
Reviewer: Tom Kraikit
Tests run: checkintests
Is noteworthy for integration: no

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

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

--- frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/YearProvider.as
+++ frameworks/projects/mobilecomponents/src/spark/components/calendarClasses/YearProvider.as
@@ -48,7 +48,10 @@
         endYear = end;

         formatter = new DateTimeFormatterEx();
-        formatter.setStyle("locale", locale);
+        if (locale)
+            formatter.setStyle("locale", locale);
+        else
+            formatter.clearStyle("locale");
         formatter.dateTimePattern = formatter.getYearPattern();

         todayDate = today;


ShadowYOffset was never parsed correctly

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

--- src/reprise/css/propertyparsers/Filters.as
+++ src/reprise/css/propertyparsers/Filters.as
@@ -89,7 +89,7 @@
 			{
 				res.addPropertyForKey(strToIntProperty(part + important, file),
 					name + 'ShadowXOffset');
-				part = parts[counter++];
+				part = parts[counter++];
 				res.addPropertyForKey(strToIntProperty(part + important, file),
 						name + 'ShadowYOffset');
 			}
@@ -97,8 +97,9 @@
 			{
 				res.addPropertyForKey(strToIntProperty(part + important, file),
 					name + 'ShadowXOffset');
+				part = parts[counter++];
 				res.addPropertyForKey(strToIntProperty(part + important, file),
-				name + 'ShadowYOffset');
+					name + 'ShadowYOffset');
 			}
 			part = parts[counter++];
 			res.addPropertyForKey(strToIntProperty(part + important, file),
@@ -139,7 +140,8 @@
 			{
 				quality = 3;
 			}
-
+			log('f ' + offset.angle());
+			log('f ' + offset.angle());
 			var filter : DropShadowFilter = new DropShadowFilter(
 				offset.getLength(), offset.angle(), color.rgb(), color.opacity(), blurX, blurY,
 				strength, quality, inner, knockout, hideObject);


Fix for broken TextureResource.setContentForATF()

--- src/aerys/minko/render/resource/texture/TextureResource.as
+++ src/aerys/minko/render/resource/texture/TextureResource.as
@@ -122,6 +122,7 @@
 		public function setContentFromATF(atf : ByteArray) : void
 		{
 			_atf			= atf;
+			_bitmapData		= null;
 			_update 		= true;

 			atf.position 	= 6;


Added AdVideoStart to list of VPAID events which have listeners

--- src/org/openvv/OVVAsset.as
+++ src/org/openvv/OVVAsset.as
@@ -184,7 +184,8 @@
 			VPAIDEvent.AdImpression, VPAIDEvent.AdLinearChange, VPAIDEvent.AdLog, VPAIDEvent.AdPaused, VPAIDEvent.AdPlaying,
 			VPAIDEvent.AdStarted,VPAIDEvent.AdStopped, VPAIDEvent.AdUserAcceptInvitation,  VPAIDEvent.AdUserClose, VPAIDEvent.AdUserMinimize, VPAIDEvent.AdVideoComplete,
 			VPAIDEvent.AdVideoFirstQuartile, VPAIDEvent.AdVideoMidpoint, VPAIDEvent.AdVideoThirdQuartile, VPAIDEvent.AdVolumeChange, VPAIDEvent.AdSkipped,
-			VPAIDEvent.AdSkippableStateChange, VPAIDEvent.AdSizeChange, VPAIDEvent.AdDurationChange, VPAIDEvent.AdInteraction]);
+			VPAIDEvent.AdSkippableStateChange, VPAIDEvent.AdSizeChange, VPAIDEvent.AdDurationChange,
+			VPAIDEvent.AdInteraction, VPAIDEvent.AdVideoStart]);

 		/**
 		 * A vector of all OVV events


Provide ready state to ad.

Provide ready state to ad.

--- src/org/openvv/OVVAsset.as
+++ src/org/openvv/OVVAsset.as
@@ -404,6 +404,14 @@
 			}
 			raiseReady();
 		}
+
+		/**
+		 * Ready state from the JS code, including beacons.
+		 * @return
+		 */
+		public function isJsReady():Boolean {
+			return jsReady;
+		}
 		/**
          * When the VPAID AdVideoStart event is received, it triggers this function
          * to start the interval timer which does viewability checks every 200ms (POLL_INTERVAL)


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

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

 package mx.managers
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

TextGraphicElement:

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

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

RichText:

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

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

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

Styles:

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

The text styles are now divided into five buckets:

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
+++ frameworks/projects/framework/src/mx/styles/IAdvancedStyleClient.as
@@ -57,13 +57,23 @@
      */
     function get styleParent():IAdvancedStyleClient;

-
     //--------------------------------------------------------------------------
     //
     //  Methods
     //
     //--------------------------------------------------------------------------
-
+
+	/**
+	 *  Flex calls the stylesInitialized() method when
+	 *  the styles for a component are first initialized.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 10
+	 *  @playerversion AIR 1.5
+	 *  @productversion Flex 4
+	 */
+	function stylesInitialized():void
+
     /**
      *  The current state of this component used to match CSS pseudo-selectors.
      *  If no state exists, returns null.
@@ -88,7 +98,6 @@
      *  @productversion Flex 3
      */
     function matchesCSSType(cssType:String):Boolean;
-
 }

 }


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

--- frameworks/projects/spark/src/spark/layouts/supportClasses/Block.as
+++ frameworks/projects/spark/src/spark/layouts/supportClasses/Block.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.layouts.supportClasses
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.validators
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9779
Author:   chaase@adobe.com
Date:     2009-08-29T01:17:24.968838Z

Log Message:
-----------
Fixed bug with transform effects acting on optimized FXG objects. We did not have some of the required functionality on SpriteVisualElement that would allow objects of that type (optimized FXG objects) to be animated by the flex 4 transform effects. We have added that functionality and pushed that common property (postLayoutTransformOffsets) and function (transformAround()) into interfaces implemented by  the objects that can be so transformed.
Also fixed some unrelated bugs lurking in the transformAround() and AnimateTransform code.

QE notes: None
Doc notes: None
Bugs: sdk-22576
Reviewer: Ely
Tests run: checkintests, Mustella (tests/spark/effects/AnimateTransform, Move, Rotate, Rotate3D)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -245,16 +245,20 @@
     //--------------------------------------------------------------------------

     /**
-     *  Defines a set of adjustments that can be applied to the component's transform in a way that is
-     *  invisible to the component's parent's layout. For example, if you want a layout to adjust
-     *  for a component that will be rotated 90 degrees, you set the component's rotation property.
-     *  If you want the layout to not adjust for the component being rotated,
-     *  you set its postLayoutTransformOffsets.rotationZ property.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
+     *  @copy mx.core.ILayoutElement#postLayoutTransformOffsets
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function get postLayoutTransformOffsets():TransformOffsets
+    {
+        return (layoutFeatures == null)? null:layoutFeatures.postLayoutTransformOffsets;
+    }
+
+    /**
+     * @private
      */
     public function set postLayoutTransformOffsets(value:TransformOffsets):void
     {
@@ -266,14 +270,6 @@
         layoutFeatures.postLayoutTransformOffsets = value;
         if(layoutFeatures.postLayoutTransformOffsets != null)
             layoutFeatures.postLayoutTransformOffsets.addEventListener(Event.CHANGE,transformOffsetsChangedHandler);
-    }
-
-    /**
-     * @private
-     */
-    public function get postLayoutTransformOffsets():TransformOffsets
-    {
-        return (layoutFeatures == null)? null:layoutFeatures.postLayoutTransformOffsets;
     }

     /**
@@ -2074,12 +2070,7 @@
     }

     /**
-     * A utility method to update the rotation and scale of the transform while keeping a particular point, specified in the component's own coordinate space,
-     * fixed in the parent's coordinate space.  This function will assign the rotation and scale values provided, then update the x/y/z properties
-     * as necessary to keep tx/ty/tz fixed.
-     * @param rx,ry,rz the new values for the rotation of the transform
-     * @param sx,sy,sz the new values for the scale of the transform
-     * @param tx,ty,tz the point, in the component's own coordinates, to keep fixed relative to its parent.
+     * @copy mx.core.ILayoutElement#transformAround
      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 4889
Author:   jszeto@adobe.com
Date:     2009-02-07T01:21:29.010759Z

Log Message:
-----------
Reverting revision 4885

Something in this checkin is causing an ASDoc compile failure. I will track this down later and resubmit the changes.

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BevelFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientFilter.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ColorMatrixFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/BlurFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DisplacementMapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ShaderFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/DropShadowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientBevelFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/Parser.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/IFlexBitmapFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/ConvolutionFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/FrameworkClasses.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as" copyfrom-rev="4884" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/filters/GradientGlowFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -19,7 +19,6 @@
 import flash.display.Sprite;
 import flash.events.Event;
 import flash.events.IEventDispatcher;
-import flash.filters.BitmapFilter;
 import flash.geom.ColorTransform;
 import flash.geom.Matrix;
 import flash.geom.Matrix3D;
@@ -41,7 +40,8 @@
 import mx.events.FlexEvent;
 import mx.events.PropertyChangeEvent;
 import mx.events.PropertyChangeEventKind;
-import mx.filters.IFlexBitmapFilter;
+import mx.filters.BaseFilter;
+import mx.filters.IBitmapFilter;
 import mx.geom.Transform;
 import mx.geom.TransformOffsets;
 import mx.graphics.IGraphicElement;
@@ -681,7 +681,7 @@
         {
             edFilter = _filters[i] as IEventDispatcher;
             if (edFilter)
-                edFilter.removeEventListener(Event.CHANGE, filterChangedHandler);
+                edFilter.removeEventListener(BaseFilter.CHANGE, filterChangedHandler);
         }

 		var previous:Boolean = needsDisplayObject;
@@ -693,16 +693,16 @@

         for (i = 0; i < newLen; i++)
         {
-        	if (value[i] is IFlexBitmapFilter)
-        	{
-        		edFilter = value[i] as IEventDispatcher;
+            if (value[i] is IBitmapFilter)
+            {
+                edFilter = value[i] as IEventDispatcher;
                 if (edFilter)
-                    edFilter.addEventListener(Event.CHANGE, filterChangedHandler);
-                _clonedFilters.push(IFlexBitmapFilter(value[i]).createBitmapFilter());
-        	}
+                    edFilter.addEventListener(BaseFilter.CHANGE, filterChangedHandler);
+                _clonedFilters.push(IBitmapFilter(value[i]).clone());
+            }
             else
             {
-            	_clonedFilters.push(value[i]);
+                _clonedFilters.push(value[i]);
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 7319
Author:   jszeto@adobe.com
Date:     2009-05-27T17:45:33.641648Z

Log Message:
-----------
Transform improvements

http://bugs.adobe.com/jira/browse/SDK-17312 - Fix up transform, matrix and matrix3D properties on UIComponent and GraphicElement.

When a Transform is assigned to a GraphicElement or UIComponent, we want changes to the Transform to be applied to the GraphicElement or UIComponent (component). The current implementation has the component listening for change events on the Transform. We also want the Transform to reflect changes made to the component. The current implementation doesn’t do this.

The solution is when the Transform is assigned to the component, that component is assigned to the target property of the Transform. Any calls to the setters of the Transform directly assign properties of the component. The getters grab their values directly from the component. The components no longer listen for change events from the Transform.

Since the GraphicElement and IGraphicElement classes exist in the flex4 swc, they can not be used in the Transform class, which exists only in the framework swc. The solution is to use loose typing and use the “property in object” check. The change to the component classes are made in UIComponent, UIMovieClip and GraphicElement.

I added a public $transform property to UIMovieClip to access super.transform. I had to make it public because the framework swc doesn’t include UIMovieClip.

I was unable to override the matrix3D setter in Transform because it was throwing an illegal override compiler error.

I had to add a setColorTransform public function to GraphicElement to handle the case where the GraphicElement’s colorTransform is directly set.

myRect.transform.colorTransform = newColorTransform;

In this situation, the GraphicElement’s transform object is created on demand. At this point, the GraphicElement might not have its own DisplayObject, so we need a way to store the colorTransform value until the DO is created. I had to make the function public because the “in” operator doesn’t work with non-public namespaces.

ColorTransforms get passed around by reference, so in setColorTransform, I make a copy. This fixes some strange baseColor bug I was seeing.

http://bugs.adobe.com/jira/browse/SDK-17680 - GraphicElement with transform matrix ignores alpha property

If the alpha property and a transform are declaratively set on a GraphicElement, then the alpha value is ignored. The reason is that the Transform object always has a default value for its ColorTransform, which sets the alpha value. The transform.ColorTransform.alphaMultiplier and alpha property are synchronized in DisplayObject.

Ideally we would throw a compiler error if both the alpha property and the transform property were set at the same time. Instead, the next best thing to do is to apply the alpha value after the ColorTransform has been applied. We can do this for GraphicElement since alpha and colorTransform are set in commitProperties. For UIComponent, alpha is applied right away. I didn’t want to change that since it would probably break a whole lot of mustella tests and effect behavior. Thus this bug still exists in UIComponent.

QE Notes: Need tests to ensure that the Transform is in sync with its target component
Doc Notes: Need to document that changes to the component get reflected by its Transform
Bugs: SDK-17312, SDK-17680
Reviewer: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/Transform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/halo-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/fxg-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -20,6 +20,7 @@
 import flash.display.Shape;
 import flash.display.Sprite;
 import flash.events.Event;
+import flash.events.EventDispatcher;
 import flash.events.IEventDispatcher;
 import flash.geom.ColorTransform;
 import flash.geom.Matrix;
@@ -40,16 +41,13 @@
 import mx.core.mx_internal;
 import mx.events.FlexEvent;
 import mx.events.PropertyChangeEvent;
-import mx.events.PropertyChangeEventKind;
 import mx.filters.BaseFilter;
 import mx.filters.IBitmapFilter;
 import mx.geom.Transform;
 import mx.geom.TransformOffsets;
 import mx.graphics.IStroke;
 import mx.managers.ILayoutManagerClient;
-import mx.managers.LayoutManager;
 import mx.utils.MatrixUtil;
-import mx.utils.OnDemandEventDispatcher;

 import spark.components.Group;
 import spark.components.supportClasses.InvalidatingSprite;
@@ -78,7 +76,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-public class GraphicElement extends OnDemandEventDispatcher
+public class GraphicElement extends EventDispatcher
     implements IGraphicElement, IInvalidating, ILayoutElement, IVisualElement, IID
 {
     include "../../core/Version.as";
@@ -166,6 +164,8 @@
      *  @private
      */
     private var _colorTransform:ColorTransform;
+
+	private var colorTransformChanged:Boolean;

 	/**
      *  @private The Sprite to draw into.
@@ -1762,6 +1762,12 @@
      */
     public function set transform(value:flash.geom.Transform):void
     {
+    	// TODO jszeto Add perspectiveProjection support
+
+    	var matrix:Matrix = value && value.matrix ? value.matrix.clone() : null;
+    	var matrix3D:Matrix3D = value && value.matrix3D ? value.matrix3D.clone() : null;
+    	var colorTransform:ColorTransform = value ? value.colorTransform : null;
+
         setTransform(value);

 		var previous:Boolean = needsDisplayObject;
@@ -1770,18 +1776,18 @@
         {
             allocateLayoutFeatures();

-            if(_transform.matrix != null)
+            if(matrix != null)
             {
-                layoutFeatures.layoutMatrix = _transform.matrix.clone();
+                layoutFeatures.layoutMatrix = matrix;
             }
-            else if (_transform.matrix3D != null)
+            else if (matrix3D != null)
             {
-                layoutFeatures.layoutMatrix3D = _transform.matrix3D.clone();
+                layoutFeatures.layoutMatrix3D = matrix3D;
             }
         }
-
-        _colorTransform = _transform ? _transform.colorTransform : null;
-
+
+		setColorTransform(colorTransform);
+
         invalidateTransform(previous != needsDisplayObject);
     }

@@ -1790,21 +1796,40 @@
      */
     private function setTransform(value:flash.geom.Transform):void
     {
-        // Clean up the old event listeners
+        // Clean up the old transform
         var oldTransform:mx.geom.Transform = _transform as mx.geom.Transform;
         if (oldTransform)
-        {
-            oldTransform.removeEventListener(PropertyChangeEvent.PROPERTY_CHANGE, transformPropertyChangeHandler);
+        	oldTransform.target = null;
+
+        var newTransform:mx.geom.Transform = value as mx.geom.Transform;
+
+        if (newTransform)
+        	newTransform.target = this;
+
+        _transform = value;
+    }
+
+    public function setColorTransform(value:ColorTransform):void
+    {
+    	if (_colorTransform != value)
+		{
+			var previous:Boolean = needsDisplayObject;
+			// Make a copy of the colorTransform
+			_colorTransform = new ColorTransform(value.redMultiplier, value.greenMultiplier, value.blueMultiplier, value.alphaMultiplier,
+												 value.redOffset, value.greenOffset, value.blueOffset, value.alphaOffset);
+
+			if (displayObject && sharedIndex == -1)
+            {
+                displayObject.transform.colorTransform = _colorTransform;
+            }
+            else
+            {
+            	colorTransformChanged = true;
+            	invalidateProperties();
+                if (previous != needsDisplayObject)
+                	notifyElementLayerChanged();
+            }
         }
-
-        var newTransform:mx.geom.Transform = value as mx.geom.Transform;
-
-        if (newTransform)
-        {
-            newTransform.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, transformPropertyChangeHandler);
-        }
-
-        _transform = value;
     }

     /**
@@ -2635,7 +2660,7 @@
             var rectBounds:Rectangle = displayObject.getBounds(useLocalSpace ? displayObject.parent : topLevel);
             var bitmapData:BitmapData = new BitmapData(rectBounds.width, rectBounds.height, transparent, fillColor);

-            var m:Matrix = useLocalSpace ? displayObject.transform.matrix : displayObject.transform.concatenatedMatrix;
+           	var m:Matrix = useLocalSpace ? displayObject.transform.matrix : displayObject.transform.concatenatedMatrix;

             if (m)
                 m.translate(-rectBounds.x, -rectBounds.y);
@@ -2962,6 +2987,13 @@
         // If we are the first in the sequence, setup the displayObject properties
         if (sharedIndex <= 0 && displayObject)
         {
+			if (colorTransformChanged || displayObjectChanged)
+			{
+				colorTransformChanged = false;
+				if (_colorTransform)
+					displayObject.transform.colorTransform = _colorTransform;
+			}
+
             if (alphaChanged || displayObjectChanged)
             {
                 alphaChanged = false;
@@ -3892,11 +3924,6 @@
                 displayObject.y = _y;
         	}
         }
-
-        if (_colorTransform)
-        {
-            displayObject.transform.colorTransform = _colorTransform;
-        }
     }

     /**
@@ -3996,52 +4023,6 @@
         filters = _filters;
     }

-    /**
-     *  Called when one of the properties of the transform changes.
-     *
-     *  @param event The event that is dispatched when the property changed.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    protected function transformPropertyChangeHandler(
-                                    event:PropertyChangeEvent):void
-    {
-        if (event.kind == PropertyChangeEventKind.UPDATE)
-        {
-            if (event.property == "matrix")
-            {
-                // Apply matrix
-                if (_transform)
-                {
-			        allocateLayoutFeatures();
-					var previous:Boolean = needsDisplayObject;
-				   	layoutFeatures.layoutMatrix = _transform.matrix.clone();
-					invalidateTransform(previous != needsDisplayObject);
-                }
-            }
-            else if (event.property == "colorTransform")
-            {
-                // Apply colorTranform
-                if (_transform)
-                {
-                    _colorTransform = _transform.colorTransform;
-
-                    if (displayObject && sharedIndex == -1)
-                    {
-                        displayObject.transform.colorTransform = _colorTransform;
-                    }
-                    else
-                    {
-                        invalidateDisplayList();
-                        notifyElementLayerChanged();
-                    }
-                }
-            }
-        }
-    }
 }

 }


detect "graphic" symbols and warn about them

--- exporter/src/main/as/flump/export/XflLoader.as
+++ exporter/src/main/as/flump/export/XflLoader.as
@@ -84,6 +84,10 @@
                 _library.addError(_library, ParseError.DEBUG,
                     "Skipping file since its root element isn't DOMSymbolItem");
                 return;
+            } else if (XmlUtil.getStringAttr(xml, "symbolType", "") == "graphic") {
+                _library.addError(_library, ParseError.DEBUG,
+                    "Skipping file because symbolType=graphic");
+                return;
             }

             const isSprite :Boolean = XmlUtil.getBooleanAttr(xml, "isSpriteSubclass", false);


Transferred from the Adobe Open Source Subversion Repository

Revision: 12864
Author:   mhorn@adobe.com
Date:     2009-12-11T21:35:24.243046Z

Log Message:
-----------
asdoc minor fixes

Modified Paths:
--------------
<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/SpriteAsset.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/MovieClipAsset.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/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/BitmapAsset.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/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>

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

--- frameworks/projects/mx/src/mx/controls/Label.as
+++ frameworks/projects/mx/src/mx/controls/Label.as
@@ -726,13 +726,13 @@
      *
where the myLabel_initialize method is in a script CDATA section:

      *
      *

-     *  <mx:Script>
+     *  <fx:Script>
      *  <![CDATA[
      *  private function myLabel_initialize():void {
      *      myLabel.htmlText = "This is an example of <b>bold</b> markup";
      *  }
      *  ]]>
-     *  </mx:Script>
+     *  </fx:Script>
      *
      *

      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 5119
Author:   smgilson@adobe.com
Date:     2009-03-01T15:19:39.936226Z

Log Message:
-----------
Clean up some ASDoc tags from the addition of the @productversion/@playerversion tags

QE Notes: None
Doc Notes: None
Bugs: -

Modified Paths:
--------------
<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/ToolTip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/ResultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.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/frameworks/projects/framework/src/mx/effects/EffectManager.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/messages/HTTPRequestMessage.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.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/core/UITextField.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/halo/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/videoClasses/NCManager.as</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/framework/src/mx/utils/Base64Encoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/StringValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SchemaMarshaller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IInteractiveObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ContainerRawChildrenList.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/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/events/FaultEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/SparkSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Tween.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxResizeInstance.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/videoClasses/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/HistoryManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/Schema.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/HexEncoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/AbstractOperation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDisplayObjectContainerInterface.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/effects/effectClasses/SoundEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.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/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISpriteInterface.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/haloclassic/src/haloclassic/HaloRectBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as
+++ frameworks/projects/rpc/src/mx/rpc/wsdl/WSDL.as
@@ -84,7 +84,7 @@
      *  @private
      */
     private var resourceManager:IResourceManager =
-									ResourceManager.getInstance();
+                                    ResourceManager.getInstance();

     //--------------------------------------------------------------------------
     //
@@ -158,11 +158,6 @@
            import XML
         2. Also, check that the import being added does not cause a cyclic
            relationship.
-    *
-    *  @langversion 3.0
-    *  @playerversion Flash 9
-    *  @playerversion AIR 1.1
-    *  @productversion Flex 3
     */
     public function addImport(targetNamespace:Namespace, wsdl:WSDL):void
     {
@@ -212,8 +207,8 @@

         if (port == null)
         {
-			var message:String = resourceManager.getString(
-				"rpc", "noServiceAndPort", [ serviceName, portName ]);
+            var message:String = resourceManager.getString(
+                "rpc", "noServiceAndPort", [ serviceName, portName ]);
             throw new Fault("Client.NoSuchPort", message);
         }

@@ -258,8 +253,8 @@
         {
             service = parseService(serviceName, portName);

-			var message:String;
-			var detail:String;
+            var message:String;
+            var detail:String;

             if (service != null)
             {
@@ -270,16 +265,16 @@
             }
             else if (serviceName != null)
             {
-				message = resourceManager.getString(
-					"rpc", "noSuchServiceInWSDL", [ serviceName ]);
+                message = resourceManager.getString(
+                    "rpc", "noSuchServiceInWSDL", [ serviceName ]);
                 throw new Fault("Client.NoSuchService", message);
             }
             else
             {
-				message = resourceManager.getString(
-					"rpc", "noServiceElement");
-				detail = resourceManager.getString(
-					"rpc", "noServiceElement.details", [ "" ]);
+                message = resourceManager.getString(
+                    "rpc", "noServiceElement");
+                detail = resourceManager.getString(
+                    "rpc", "noServiceElement.details", [ "" ]);
                 throw new Fault("Server.NoServicesInWSDL", message, detail);
             }
         }
@@ -432,9 +427,9 @@
             }
             else
             {
-				var message:String = resourceManager.getString(
-					"rpc", "unrecognizedBindingName",
-					[ bindingQName.localName, bindingQName.uri ]);
+                var message:String = resourceManager.getString(
+                    "rpc", "unrecognizedBindingName",
+                    [ bindingQName.localName, bindingQName.uri ]);
                 throw new Fault("WSDL.UnrecognizedBindingName", message);
             }
         }


Fix typo when checking for custom widget config existence.

--- src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
+++ src/com/esri/builder/controllers/supportClasses/WidgetTypeLoader.as
@@ -78,7 +78,7 @@
         {
             loadModule();
         }
-        else if (!swf.exists && config.exists)
+        else if (config && config.exists)
         {
             loadConfigModule();
         }


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

--- frameworks/projects/charts/src/mx/charts/series/items/BarSeriesItem.as
+++ frameworks/projects/charts/src/mx/charts/series/items/BarSeriesItem.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: 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@1258802 13f79535-47bb-0310-9956-ffa450edef68

--- frameworks/projects/framework/src/mx/containers/utilityClasses/Flex.as
+++ frameworks/projects/framework/src/mx/containers/utilityClasses/Flex.as
@@ -1,13 +1,3 @@
-////////////////////////////////////////////////////////////////////////////////
-//
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2003-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.containers.utilityClasses
 {


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

--- frameworks/projects/framework/src/mx/graphics/RectangularDropShadow.as
+++ frameworks/projects/framework/src/mx/graphics/RectangularDropShadow.as
@@ -0,0 +1,685 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.graphics
+{
+
+import flash.display.BitmapData;
+import flash.display.Graphics;
+import flash.display.Shape;
+import flash.filters.DropShadowFilter;
+import flash.geom.Matrix;
+import flash.geom.Point;
+import flash.geom.Rectangle;
+import mx.core.FlexShape;
+import mx.utils.GraphicsUtil;
+
+/**
+ *  Drop shadows are typically created using the DropShadowFilter class.
+ *  However, the DropShadowFilter, like all bitmap filters,
+ *  can be computationally expensive.
+ *  If the DropShadowFilter is applied to a DisplayObject,
+ *  then the drop shadow is recalculated
+ *  whenever the appearance of the object changes.
+ *  If the DisplayObject is animated (using a Resize effect, for example),
+ *  then the presence of drop shadows hurts the animation refresh rate.
+ *
+ *
This class optimizes drop shadows for a common case.
+ *  If you are applying a drop shadow to a rectangularly-shaped object
+ *  whose edges fall on pixel boundaries, then this class should
+ *  be used instead of using the DropShadowFilter directly.

+ *
+ *
This class accepts the first four parameters that are passed
+ *  to DropShadowFilter: alpha, angle,
+ *  color, and distance.
+ *  In addition, this class accepts the corner radii for each of the four
+ *  corners of the rectangularly-shaped object that is casting a shadow.

+ *
+ *
Once those 8 values have been set,
+ *  this class pre-computes the drop shadow in an offscreen Bitmap.
+ *  When the drawShadow() method is called, pieces of the
+ *  precomputed drop shadow are  copied onto the passed-in Graphics object.

+ *
+ *  @see flash.filters.DropShadowFilter
+ *  @see flash.display.DisplayObject
+ */
+public class RectangularDropShadow
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     */
+    public function RectangularDropShadow()
+    {
+		super();
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Variables
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  The drop shadow is rendered into this BitmapData object,
+	 *  which is later copied to the passed-in Graphics
+	 */
+	private var shadow:BitmapData;
+
+	/**
+	 *  @private
+	 */
+	private var leftShadow:BitmapData;
+
+	/**
+	 *  @private
+	 */
+	private var rightShadow:BitmapData;
+
+	/**
+	 *  @private
+	 */
+	private var topShadow:BitmapData;
+
+	/**
+	 *  @private
+	 */
+	private var bottomShadow:BitmapData;
+
+	/**
+	 *  @private
+	 *  Remembers whether any of the public properties have changed
+	 *  since the most recent call to drawDropShadow().
+	 */
+	private var changed:Boolean = true;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  alpha
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the alpha property.
+     */
+    private var _alpha:Number = 0.4;
+
+	[Inspectable]
+
+    /**
+     *  @copy flash.filters.DropShadowFilter#alpha
+     */
+    public function get alpha():Number
+    {
+        return _alpha;
+    }
+
+    /**
+     *  @private
+     */
+    public function set alpha(value:Number):void
+    {
+    	if (_alpha != value)
+    	{
+			_alpha = value;
+			changed = true;
+		}
+    }
+
+    //----------------------------------
+    //  angle
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the angle property.
+     */
+    private var _angle:Number = 45.0;
+
+	[Inspectable]
+
+    /**
+     *  @copy flash.filters.DropShadowFilter#angle
+     */
+    public function get angle():Number
+    {
+        return _angle;
+    }
+
+    /**
+     *  @private
+     */
+    public function set angle(value:Number):void
+    {
+    	if (_angle != value)
+    	{
+			_angle = value;
+			changed = true;
+		}
+    }
+
+    //----------------------------------
+    //  color
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the color property.
+     */
+    private var _color:int = 0;
+
+	[Inspectable]
+
+    /**
+     *  @copy flash.filters.DropShadowFilter#color
+     */
+    public function get color():int
+    {
+        return _color;
+    }
+
+    /**
+     *  @private
+     */
+    public function set color(value:int):void
+    {
+    	if (_color != value)
+    	{
+			_color = value;
+			changed = true;
+		}
+    }
+
+    //----------------------------------
+    //  distance
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the distance property.
+     */
+    private var _distance:Number = 4.0;
+
+	[Inspectable]
+
+    /**
+     *  @copy flash.filters.DropShadowFilter#distance
+     */
+    public function get distance():Number
+    {
+        return _distance;
+    }
+
+    /**
+     *  @private
+     */
+    public function set distance(value:Number):void
+    {
+    	if (_distance != value)
+    	{
+			_distance = value;
+			changed = true;
+		}
+    }
+
+    //----------------------------------
+    //  tlRadius
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the tlRadius property.
+     */
+    private var _tlRadius:Number = 0;
+
+	[Inspectable]
+
+    /**
+     *  The corner radius of the top left corner
+	 *  of the rounded rectangle that is casting the shadow.
+	 *  May be zero for non-rounded rectangles.
+     */
+    public function get tlRadius():Number
+    {
+        return _tlRadius;
+    }
+
+    /**
+     *  @private
+     */
+    public function set tlRadius(value:Number):void
+    {
+    	if (_tlRadius != value)
+    	{
+			_tlRadius = value;
+			changed = true;
+		}
+    }
+
+    //----------------------------------
+    //  trRadius
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the trRadius property.
+     */
+    private var _trRadius:Number = 0;
+
+	[Inspectable]
+
+    /**
+     *  The corner radius of the top right corner
+	 *  of the rounded rectangle that is casting the shadow.
+	 *  May be zero for non-rounded rectangles.
+     */
+    public function get trRadius():Number
+    {
+        return _trRadius;
+    }
+
+    /**
+     *  @private
+     */
+    public function set trRadius(value:Number):void
+    {
+    	if (_trRadius != value)
+    	{
+			_trRadius = value;
+			changed = true;
+		}
+    }
+
+    //----------------------------------
+    //  blRadius
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the blRadius property.
+     */
+    private var _blRadius:Number = 0;
+
+	[Inspectable]
+
+    /**
+     *  The corner radius of the bottom left corner
+	 *  of the rounded rectangle that is casting the shadow.
+	 *  May be zero for non-rounded
+     *  rectangles.
+     */
+    public function get blRadius():Number
+    {
+        return _blRadius;
+    }
+
+    /**
+     *  @private
+     */
+    public function set blRadius(value:Number):void
+    {
+    	if (_blRadius != value)
+    	{
+			_blRadius = value;
+			changed = true;
+		}
+    }
+
+    //----------------------------------
+    //  brRadius
+    //----------------------------------
+
+    /**
+     *  @private
+     *  Storage for the brRadius property.
+     */
+    private var _brRadius:Number = 0;
+
+	[Inspectable]
+
+    /**
+     *  The corner radius of the bottom right corner
+	 *  of the rounded rectangle that is casting the shadow.
+	 *  May be zero for non-rounded rectangles.
+     */
+    public function get brRadius():Number
+    {
+        return _brRadius;
+    }
+
+    /**
+     *  @private
+     */
+    public function set brRadius(value:Number):void
+    {
+    	if (_brRadius != value)
+    	{
+			_brRadius = value;
+			changed = true;
+		}
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Renders the shadow on the screen.
+     *
+     *  @param g The Graphics object on which to draw the shadow.
+     *
+     *  @param x The horizontal offset of the drop shadow,
+	 *  based on the Graphics object's position.
+     *
+     *  @param y The vertical offset of the drop shadow,
+	 *  based on the Graphics object's position.
+     *
+     *  @param width The width of the shadow, in pixels.
+     *
+     *  @param height The height of the shadow, in pixels.
+    */
+	public function drawShadow(g:Graphics,
+							   x:Number, y:Number,
+							   width:Number, height:Number):void
+	{
+		// If any parameters of the shadow have changed,
+		// then regenerate the offscreen bitmaps.
+		if (changed)
+		{
+			createShadowBitmaps();
+			changed = false;
+		}
+
+		width = Math.ceil(width);
+		height = Math.ceil(height);
+
+		// Determine the thickness of the shadow along each of the edges
+		var leftThickness:int = leftShadow ? leftShadow.width : 0;
+		var rightThickness:int = rightShadow ? rightShadow.width : 0;
+		var topThickness:int = topShadow ? topShadow.height : 0;
+		var bottomThickness:int = bottomShadow ? bottomShadow.height : 0;
+
+		var widthThickness:int = leftThickness + rightThickness;
+		var heightThickness:int = topThickness + bottomThickness;
+		var maxCornerHeight:Number = (height + heightThickness) / 2;
+		var maxCornerWidth:Number = (width + widthThickness) / 2;
+
+		var matrix:Matrix = new Matrix();
+
+		// Copy the corners of the shadow bitmap onto the graphics object
+		if (leftShadow || topShadow)
+		{
+			var tlWidth:Number = Math.min(tlRadius + widthThickness,
+										  maxCornerWidth);
+			var tlHeight:Number = Math.min(tlRadius + heightThickness,
+										   maxCornerHeight);
+
+			matrix.tx = x - leftThickness;
+			matrix.ty = y - topThickness;
+
+			g.beginBitmapFill(shadow, matrix);
+			g.drawRect(x - leftThickness, y - topThickness, tlWidth, tlHeight);
+			g.endFill();
+		}
+
+		if (rightShadow || topShadow)
+		{
+			var trWidth:Number = Math.min(trRadius + widthThickness,
+										  maxCornerWidth);
+			var trHeight:Number = Math.min(trRadius + heightThickness,
+										   maxCornerHeight);
+
+			matrix.tx = x + width + rightThickness - shadow.width;
+			matrix.ty = y - topThickness;
+
+			g.beginBitmapFill(shadow, matrix);
+			g.drawRect(x + width + rightThickness - trWidth,
+					   y - topThickness,
+					   trWidth, trHeight);
+			g.endFill();
+		}
+
+		if (leftShadow || bottomShadow)
+		{
+			var blWidth:Number = Math.min(blRadius + widthThickness,
+										  maxCornerWidth);
+			var blHeight:Number = Math.min(blRadius + heightThickness,
+										   maxCornerHeight);
+
+			matrix.tx = x - leftThickness;
+			matrix.ty = y + height + bottomThickness - shadow.height;
+
+			g.beginBitmapFill(shadow, matrix);
+			g.drawRect(x - leftThickness,
+					   y + height + bottomThickness - blHeight,
+					   blWidth, blHeight);
+			g.endFill();
+		}
+
+		if (rightShadow || bottomShadow)
+		{
+			var brWidth:Number = Math.min(brRadius + widthThickness,
+										  maxCornerWidth);
+			var brHeight:Number = Math.min(brRadius + heightThickness,
+										   maxCornerHeight);
+
+			matrix.tx = x + width + rightThickness - shadow.width;
+			matrix.ty = y + height + bottomThickness - shadow.height;
+
+			g.beginBitmapFill(shadow, matrix);
+			g.drawRect(x + width + rightThickness - brWidth,
+					   y + height + bottomThickness - brHeight,
+					   brWidth, brHeight);
+			g.endFill();
+		}
+
+		// Copy the sides of the shadow bitmap onto the graphics object
+		if (leftShadow)
+		{
+			matrix.tx = x - leftThickness;
+			matrix.ty = 0;
+
+			g.beginBitmapFill(leftShadow, matrix);
+			g.drawRect(x - leftThickness,
+					   y - topThickness + tlHeight,
+					   leftThickness,
+					   height + topThickness +
+					   bottomThickness - tlHeight - blHeight);
+			g.endFill();
+		}
+
+		if (rightShadow)
+		{
+			matrix.tx = x + width;
+			matrix.ty = 0;
+
+			g.beginBitmapFill(rightShadow, matrix);
+			g.drawRect(x + width,
+					   y - topThickness + trHeight,
+					   rightThickness,
+					   height + topThickness +
+					   bottomThickness - trHeight - brHeight);
+			g.endFill();
+		}
+
+		if (topShadow)
+		{
+			matrix.tx = 0;
+			matrix.ty = y - topThickness;
+
+			g.beginBitmapFill(topShadow, matrix);
+			g.drawRect(x - leftThickness + tlWidth,
+					   y - topThickness,
+					   width + leftThickness +
+					   rightThickness - tlWidth - trWidth,
+					   topThickness);
+			g.endFill();
+		}
+
+		if (bottomShadow)
+		{
+			matrix.tx = 0;
+			matrix.ty = y + height;
+
+			g.beginBitmapFill(bottomShadow, matrix);
+			g.drawRect(x - leftThickness + blWidth,
+					   y + height,
+					   width + leftThickness +
+					   rightThickness - blWidth - brWidth,
+					   bottomThickness);
+			g.endFill();
+		}
+	}
+
+	/**
+	 *  @private
+	 *  Render the drop shadow for the rounded rectangle
+	 *  in a small BitmapData object.
+	 *  The shadow will be copied onto the graphics object
+	 *  passed into drawDropShadow().
+	 */
+	private function createShadowBitmaps():void
+	{
+		// Create a Shape containing a round rectangle that the
+		// specified corner radii and very short sides.
+		var roundRectWidth:Number = Math.max(tlRadius, blRadius) +
+								    2 * distance +
+									Math.max(trRadius, brRadius);
+		var roundRectHeight:Number = Math.max(tlRadius, trRadius) +
+									 2 * distance +
+									 Math.max(blRadius, brRadius);
+
+		if (roundRectWidth < 0 || roundRectHeight < 0)
+			return;
+
+		var roundRect:Shape = new FlexShape();
+		var g:Graphics = roundRect.graphics;
+		g.beginFill(0xFFFFFF);
+		GraphicsUtil.drawRoundRectComplex(
+			g, 0, 0, roundRectWidth, roundRectHeight,
+			tlRadius, trRadius, blRadius, brRadius);
+		g.endFill();
+
+		// Copy the round rectangle into a BitmapData object
+		var roundRectBitmap:BitmapData = new BitmapData(
+			roundRectWidth,
+			roundRectHeight,
+			true,
+			0x00000000);
+		roundRectBitmap.draw(roundRect, new Matrix());
+
+		// Get the size of the drop shadow that will be cast by this
+		// rounded rectangle.
+		var filter:DropShadowFilter =
+			new DropShadowFilter(distance, angle, color, alpha);
+		filter.knockout = true;
+		var inputRect:Rectangle = new Rectangle(0, 0,
+			roundRectWidth, roundRectHeight);
+		var outputRect:Rectangle =
+			roundRectBitmap.generateFilterRect(inputRect, filter);
+
+		// Determine the thickness of each edge of the drop shadow
+		var leftThickness:Number = inputRect.left - outputRect.left;
+		var rightThickness:Number = outputRect.right - inputRect.right;
+		var topThickness:Number = inputRect.top - outputRect.top;
+		var bottomThickness:Number = outputRect.bottom - inputRect.bottom;
+
+		// Create a BitmapData object large enough to contain the
+		// rounded rectangle and its drop shadow.  Render the drop
+		// shadow into this BitmapData
+		shadow = new BitmapData(outputRect.width, outputRect.height);
+		shadow.applyFilter(roundRectBitmap, inputRect,
+			new Point(leftThickness, topThickness),
+			filter);
+
+		// For each of the four sides of the round rectangle, create a copy
+		// of the drop shadow in a separate BitmapData object
+		var origin:Point = new Point(0, 0);
+		var rect:Rectangle = new Rectangle();
+
+		if (leftThickness > 0)
+		{
+			rect.x = 0;
+			rect.y = tlRadius + topThickness + bottomThickness;
+			rect.width = leftThickness;
+			rect.height = 1;
+
+			leftShadow = new BitmapData(leftThickness, 1);
+			leftShadow.copyPixels(shadow, rect, origin);
+		}
+		else
+		{
+			leftShadow = null;
+		}
+
+		if (rightThickness > 0)
+		{
+			rect.x = shadow.width - rightThickness;
+			rect.y = trRadius + topThickness + bottomThickness;
+			rect.width = rightThickness;
+			rect.height = 1;
+
+			rightShadow = new BitmapData(rightThickness, 1);
+			rightShadow.copyPixels(shadow, rect, origin);
+		}
+		else
+		{
+			rightShadow = null;
+		}
+
+		if (topThickness > 0)
+		{
+			rect.x = tlRadius + leftThickness + rightThickness;
+			rect.y = 0;
+			rect.width = 1;
+			rect.height = topThickness;
+
+			topShadow = new BitmapData(1, topThickness);
+			topShadow.copyPixels(shadow, rect, origin);
+		}
+		else
+		{
+			topShadow = null;
+		}
+
+		if (bottomThickness > 0)
+		{
+			rect.x = blRadius + leftThickness + rightThickness;
+			rect.y = shadow.height - bottomThickness;
+			rect.width = 1;
+			rect.height = bottomThickness;
+
+			bottomShadow = new BitmapData(1, bottomThickness);
+			bottomShadow.copyPixels(shadow, rect, origin);
+		}
+		else
+		{
+			bottomShadow = null;
+		}
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 17320
Author:   tkraikit@adobe.com
Date:     2010-08-13T21:50:12.856724Z

Log Message:
-----------
Feature commit: MovieClipSWFLoader, new class to support Catalyst use case. Note that the new class is in the mx package structure and framework.swc, but is exposed in MXML via s: namespace.

QE notes: new class, will need incorporation into tests; Peter DeHaan already notified and working on this
Doc notes: n/a
Bugs: n/a
Reviewer: Corey Lucier
Tests run: checkintests, mustella
Is noteworthy for integration: yes; Catalyst is waiting on this

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/FrameworkClasses.as</path>

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

--- frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as
+++ frameworks/projects/framework/src/mx/controls/MovieClipSWFLoader.as
@@ -0,0 +1,296 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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 mx.controls
+{
+import flash.display.DisplayObject;
+import flash.display.DisplayObjectContainer;
+import flash.display.Loader;
+import flash.display.MovieClip;
+import flash.events.Event;
+
+import mx.core.MovieClipLoaderAsset;
+import mx.managers.ISystemManager;
+
+/**
+ *  The MovieClipSWFLoader control extends SWFLoader to provide convenience
+ *  methods for manipulating a SWF which has a MovieClip as its root content,
+ *  provided that the MovieClip is not a Flex application.
+ *
+ *  Note that for all other SWF content types, this class will return null
+ *  for the movieClip getter and will result in a no-op for function calls.
+ *
+ */
+public class MovieClipSWFLoader extends SWFLoader
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function MovieClipSWFLoader()
+    {
+        super();
+
+        addEventListener(Event.COMPLETE, handleComplete);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  When the content of the SWF is a MovieClip, if autoStop is true then
+     *  the MovieClip is stopped immediately after loading.
+     *
+     *  @default true
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public var autoStop:Boolean = true;
+
+
+    /**
+     *  Handle to the underlying MovieClip of the loaded SWF. If the SWF is not
+     *  rooted in a MovieClip, this property will be null.
+     *
+     *  @return MovieClip if the content is of type MovieClip; otherwise,
+     *          return null
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function get movieClip():MovieClip
+    {
+        var content:DisplayObject = this.content;
+
+        if (content is MovieClipLoaderAsset)
+        {
+            // Get child MovieClip from Loader
+            if (DisplayObjectContainer(content).numChildren > 0)
+                content =
+                    Loader(DisplayObjectContainer(content).getChildAt(0)).content;
+        }
+
+        if (content is MovieClip && !(content is ISystemManager))
+            return MovieClip(content);
+
+        return null;
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Begins playing the SWF content. If the content is not a MovieClip,
+     *  this results in a no-op.
+     *
+     *  @see flash.display.MovieClip#play
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function play():void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.play();
+    }
+
+    /**
+     *  Stops the SWF content. If the content is not a MovieClip,
+     *  this results in a no-op.
+     *
+     *  @see flash.display.MovieClip#stop
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function stop():void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.stop(); // stop at current frame
+    }
+
+    /**
+     *  Starts playing the SWF file at the specified frame. If the
+     *  content is not a MovieClip, this results in a no-op.
+     *
+     *  @see flash.display.MovieClip#gotoAndPlay
+     *
+     *  @param frame
+     *  @param scene
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+
+    public function gotoAndPlay(frame:Object, scene:String = null):void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.gotoAndPlay(frame, scene);
+    }
+
+    /**
+     *  Resets the playhead to the first frame and stops the MovieClip.
+     *  If the content is not a MovieClip, this results in a no-op.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function gotoFirstFrameAndStop():void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.gotoAndStop(0); // go to first frame and stop
+    }
+
+    /**
+     *  Stops playing the SWF and resets the playhead to the specified frame.
+     *  If the content is not a MovieClip, this results in a no-op.
+     *
+     *  @see flash.display.MovieClip#gotoAndStop
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function gotoAndStop(frame:Object, scene:String = null):void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.gotoAndStop(frame, scene);
+    }
+
+    /**
+     *  Go to the next frame. No-op if content is not a MovieClip.
+     *
+     *  @see flash.display.MovieClip#nextFrame
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function nextFrame():void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.nextFrame();
+    }
+
+    /**
+     *  Go to the next scene. No-op if content is not a MovieClip.
+     *
+     *  @see flash.display.MovieClip#nextScene
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function nextScene():void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.nextScene();
+    }
+
+    /**
+     *  Go to the previous frame. No-op if content is not a MovieClip.
+     *
+     *  @see flash.display.MovieClip#prevFrame
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function prevFrame():void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.prevFrame();
+    }
+
+    /**
+     *  Go to the previous scene. No-op if content is not a MovieClip.
+     *
+     *  @see flash.display.MovieClip#prevScene
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    public function prevScene():void
+    {
+        var movieClip:MovieClip = this.movieClip;
+        if (movieClip)
+            movieClip.prevScene();
+    }
+
+    //-----------------------------------
+    //  internal functions
+    //-----------------------------------
+
+
+    /**
+     *  On completion of SWF loading, explicitly stop the SWF
+     *  (i.e. prevent auto-play) if autoStop is true.
+     *
+     *  @private
+     *
+     *  @param event
+     *
+     */
+    private function handleComplete(event:Event):void
+    {
+        if (autoStop)
+            stop();
+    }
+
+
+}
+}


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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 17491
Author:   aharui@adobe.com
Date:     2010-08-26T18:31:34.581497Z

Log Message:
-----------
Handle clipped sub-apps

QE notes: none
Doc notes: New optional parameter to SystemManager.getVisibleApplicationRect
Bugs: SDK-26478
Reviewer: Darrell
Tests run: checkintests mustella/MarshallPlan
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/VSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark_dmv/src/mx/controls/advancedDataGridClasses/FTEAdvancedDataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallingSupport.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/HSlider.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/datavisualization/src/mx/controls/advancedDataGridClasses/AdvancedDataGridItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/mx/controls/dataGridClasses/FTEDataGridItemRenderer.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
+++ frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as
@@ -273,9 +273,9 @@
      *  @playerversion AIR 1.1
      *  @productversion Flex 3
      */
-    override public function getVisibleApplicationRect(bounds:Rectangle = null):Rectangle
-    {
-        return _systemManager.getVisibleApplicationRect(bounds);
+    override public function getVisibleApplicationRect(bounds:Rectangle = null, skipToSandboxRoot:Boolean = false):Rectangle
+    {
+        return _systemManager.getVisibleApplicationRect(bounds, skipToSandboxRoot);
     }

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