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

--- frameworks/projects/framework/src/mx/effects/easing/Elastic.as
+++ frameworks/projects/framework/src/mx/effects/easing/Elastic.as
@@ -1,11 +1,19 @@
 ////////////////////////////////////////////////////////////////////////////////
 //
-//  ADOBE SYSTEMS INCORPORATED
-//  Copyright 2004-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.
+//  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: 4106
Author:   rfrishbe@adobe.com
Date:     2008-11-14T01:56:47.949068Z

Log Message:
-----------
Mostly rename changes.  IVisualItem -> IVisualElement.  IVisualContainer -> IVisualElementContainer.  Also changed the APIs so that it's addElement, removeElement, etc.. instead of addItem, removeItem, etc...  Moreover, all of these APIs have been added to IVisualElementContainer (not just the read-only ones).  Now there's a common interface for all containers (even Halo's Container class implements it).  There's no more need to do:

if (x is Group || x is FxContainer)

Just use the IVisualElementContainer interface.

Some classes, like FxScroller (and perhaps DataGroup/FxDataContainer), will only implement the "getter" part of the API.  For now, if you call the mutation methods, we will throw an exception.  Perhaps later we'll add a separate interface for the read-only portion and the mutator interface will extend that one.

There might be a few more places in the code that need to be updated to use the new names for the methods.  I know Mustella needs cleaning up so it doesn't use getItem and uses getElement instead.  I've left the old APIs in there exactly for this purpose, so we can gradually move over to the new names (esp. QA).

At some point soon, we will remove the old methods as well as type them more strictly to only accept IVisualElements, for example addElement(element:IVisualElement).  Part of this work is dependent on updating the Flash Component Kit so that it implements IVisualElement (and perhaps IVisualElementContainer for containers).

Ran checkintests and all gumbo mustella tests.

QE Notes: Please update your tests to use addElement, removeElement, etc... along with the new IVisualElementContainer interface.  The old APIs (addItem, removeItem, etc...) will be removed soon.
Doc Notes: None
Bugs: -
Reviewer: Hans (he patiently sat through all these files...)

Modified Paths:
--------------
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as</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/effects/effectClasses/RemoveActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemHelper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutItemUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/RemoveAction.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/effects/effectClasses/FxFadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IUIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimate3DInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as" copyfrom-rev="4083" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/core/IVisualContainer.as" copyfrom-rev="4083" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElementContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/states/AddItems.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxList.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/AddActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxContainer.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -25,7 +25,7 @@
 import mx.core.IFontContextComponent;
 import mx.core.IInvalidating;
 import mx.core.IUITextField;
-import mx.core.IVisualItem;
+import mx.core.IVisualElement;
 import mx.core.mx_internal;
 import mx.core.UIComponent;
 import mx.effects.EffectManager;
@@ -196,8 +196,8 @@
             object.registerEffects(nonInheritChain.effects);

         var p:IStyleClient;
-        if (object is IVisualItem)
-            p = IVisualItem(object).parent as IStyleClient;
+        if (object is IVisualElement)
+            p = IVisualElement(object).parent as IStyleClient;

         if (p)


Transferred from the Adobe Open Source Subversion Repository

Revision: 4806
Author:   pfarland@adobe.com
Date:     2009-02-03T05:01:18.665465Z

Log Message:
-----------
Fixes for Advanced CSS applying to inner components. The changes involved three areas:

1. mx.styles.StyleProxy needed updating to support IAdvancedStyleClient

2. mx.styles.StyleProtoChain required refactoring so that advanced selector matching functionality could be shared outside of this class (see next). The main change is in StyleProtoChain.addProperties() which is recursively called to handle the case when styleName is set to another IStyleClient (instead of a String). The change concerns the order of building the proto chain for this special case. Before advanced CSS, it seems we recursively did the following in the addProperties() subroutine:
  - Find type selectors, add to proto chain
  - Examine styleName:
    - if a CSSStyleDeclaration, add it to the proto chain next
    - if a IStyleClient, recurse again by calling addProperties to this IStyleClient
    - if a String, apply class selectors to proto chain
  - Finally, add inline style declarations to proto chain

Advanced CSS might involve other universal selectors that aren't necessarily class selectors (such as id selectors), or we could have type selectors that are more specific that class selectors. So the new logic for Advanced CSS is:
  - Examine styleName:
    - if a CSSStyleDeclaration, add it to the list of selectors
  - Get all matching selectors, sort by specificity, and add to the proto chain.
  - Then, if styleName was an IStyleClient, recurse again by calling addProperties to this IStyleClient
  - Finally, add inline styleDeclarations to proto chain

A styleName pointing to an IStyleClient means that it has a very high specificity and will override any other selector. The only thing that continues to always win are inline style declarations which are added last to the proto chain.

3. mx.core.UIComponent.initThemeColor() needed updating to support advanced CSS selectors. This required the use of a new utility method in StyleProtoChain to find matching selectors.

QA: Yes, please watch styles test results closely. Take a look at descendant/id/class selectors on more advanced components like DataGrid.
Doc: No
Checkintests: Pass
Reviewer: Glenn
Bugs:
SDK-17358 - [Advanced CSS] When using an id selector without a Type selector, styles are not passed onto sub components (e.g. the drop down of a ComboBox)

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>

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

--- frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
+++ frameworks/projects/framework/src/mx/styles/StyleProtoChain.as
@@ -110,7 +110,7 @@
                 var decls:Object = StyleManager.getStyleDeclarations(type);
                 if (decls)
                 {
-                    var matchingDecls:Array = getMatchingStyleDeclarations(decls, advancedObject);
+                    var matchingDecls:Array = matchStyleDeclarations(decls, advancedObject);
                     classDecls = classDecls.concat(matchingDecls);
                 }
             }
@@ -226,36 +226,17 @@
         // because of the considerably more complex selector matches...
         if (StyleManager.hasAdvancedSelectors() && advancedObject != null)
         {
-            // Find matching universal selectors
-            var decls:Object = StyleManager.getStyleDeclarations("*");
-            universalSelectors = getMatchingStyleDeclarations(decls, advancedObject).concat(universalSelectors);
-
-            // If we had universal selectors, concatenate them with our type
-            // selectors and resort by specificity...
-            if (universalSelectors.length > 0)
-            {
-                styleDeclarations = advancedObject.getClassStyleDeclarations().concat(universalSelectors);
-                styleDeclarations = sortOnSpecificity(styleDeclarations);
-            }
-            else
-            {
-                // We only have type selectors
-                styleDeclarations = advancedObject.getClassStyleDeclarations();
-            }
+            styleDeclarations = getMatchingStyleDeclarations(advancedObject, universalSelectors);

             n = styleDeclarations != null ? styleDeclarations.length : 0;
             for (i = 0; i < n; i++)
             {
                 styleDeclaration = styleDeclarations[i];
-
-                inheritChain =
-                    styleDeclaration.addStyleToProtoChain(inheritChain, uicObject);
-
-                nonInheritChain =
-                    styleDeclaration.addStyleToProtoChain(nonInheritChain, uicObject);
+                inheritChain = styleDeclaration.addStyleToProtoChain(inheritChain, uicObject);
+                nonInheritChain = styleDeclaration.addStyleToProtoChain(nonInheritChain, uicObject);

                 if (styleDeclaration.effects)
-                    object.registerEffects(styleDeclaration.effects);
+                    advancedObject.registerEffects(styleDeclaration.effects);
             }
         }
         // Otherwise we use the legacy Flex 3 logic for simple selectors.
@@ -284,13 +265,9 @@
             for (i = 0; i < n; i++)
             {
                 styleDeclaration = styleDeclarations[i];
-
-                inheritChain =
-                    styleDeclaration.addStyleToProtoChain(inheritChain, uicObject);
-
-                nonInheritChain =
-                    styleDeclaration.addStyleToProtoChain(nonInheritChain, uicObject);
-
+                inheritChain = styleDeclaration.addStyleToProtoChain(inheritChain, uicObject);
+                nonInheritChain = styleDeclaration.addStyleToProtoChain(nonInheritChain, uicObject);
+
                 if (styleDeclaration.effects)
                     object.registerEffects(styleDeclaration.effects);
             }
@@ -466,66 +443,107 @@
             curObj = StyleProxy(curObj).source;
         }
         var target:DisplayObject = curObj as DisplayObject;
-
-        // 4) Add type selectors
-        var typeSelectors:Array = obj.getClassStyleDeclarations();
-        var n:int = typeSelectors.length;
-        for (var i:int = 0; i < n; i++)
-        {
-            var typeSelector:CSSStyleDeclaration = typeSelectors[i];
-            chain = typeSelector.addStyleToProtoChain(chain, target, filterMap);
-
-            if (typeSelector.effects)
-                obj.registerEffects(typeSelector.effects);
-        }
-
-        // 3) Add class selectors
+
+        var advancedObject:IAdvancedStyleClient = obj as IAdvancedStyleClient;
         var styleName:Object = obj.styleName;
-        if (styleName)
-        {
-            var classSelectors:Array = [];
-
-            if (typeof(styleName) == "object")
-            {
-                if (styleName is CSSStyleDeclaration)
-                {
-                    // Get the style sheet referenced by the styleName property.
-                    classSelectors.push(CSSStyleDeclaration(styleName));
+        var styleDeclarations:Array;
+        var decl:CSSStyleDeclaration;
+
+        // If we have an advanced style client, we handle this separately
+        // because of the considerably more complex selector matches...
+        if (StyleManager.hasAdvancedSelectors() && advancedObject != null)
+        {
+            // Handle special case of styleName as a CSSStyleDeclaration
+            if (styleName is CSSStyleDeclaration)
+            {
+                styleDeclarations = [CSSStyleDeclaration(styleName)];
+            }
+
+            // Find matching style declarations, sorted by specificity
+            styleDeclarations = getMatchingStyleDeclarations(advancedObject, styleDeclarations);
+
+            // Then apply matching selectors to the proto chain
+            for (i = 0; i < styleDeclarations.length; i++)
+            {
+                decl = styleDeclarations[i];
+                if (decl)
+                {
+                    chain = decl.addStyleToProtoChain(chain, target, filterMap);
+                    if (decl.effects)
+                        obj.registerEffects(decl.effects);
+                }
+            }
+
+            // Finally, handle special case of styleName as an IStyleClient
+            // which overrides any of the selectors above
+            if (styleName is IStyleClient)
+            {
+                // If the styleName property is another UIComponent, then
+                // recursively add type selectors, class selectors, and
+                // inline styles for that UIComponent
+                chain = addProperties(chain, IStyleClient(styleName),
+                                      bInheriting);
+            }
+        }
+        else
+        {
+            // 4) Add type selectors
+            styleDeclarations = obj.getClassStyleDeclarations();
+            var n:int = styleDeclarations.length;
+            for (var i:int = 0; i < n; i++)
+            {
+                decl = styleDeclarations[i];
+                chain = decl.addStyleToProtoChain(chain, target, filterMap);
+
+                if (decl.effects)
+                    obj.registerEffects(decl.effects);
+            }
+
+            // 3) Add class selectors
+            if (styleName)
+            {
+                styleDeclarations = [];
+                if (typeof(styleName) == "object")
+                {
+                    if (styleName is CSSStyleDeclaration)
+                    {
+                        // Get the style sheet referenced by the styleName property.
+                        styleDeclarations.push(CSSStyleDeclaration(styleName));
+                    }
+                    else
+                    {
+                        // If the styleName property is another UIComponent, then
+                        // recursively add type selectors, class selectors, and
+                        // inline styles for that UIComponent
+                        chain = addProperties(chain, IStyleClient(styleName),
+                                              bInheriting);
+                    }
                 }
                 else
-                {
-                    // If the styleName property is another UIComponent, then
-                    // recursively add type selectors, class selectors, and
-                    // inline styles for that UIComponent
-                    chain = addProperties(chain, IStyleClient(styleName),
-                                          bInheriting);
-                }
-            }
-            else
-            {
-                // Get the style sheets referenced by the styleName property
-                var styleNames:Array = styleName.split(/\s+/);
-                for (var c:int=0; c < styleNames.length; c++)
-                {
-                    if (styleNames[c].length) {
-                        classSelectors.push(StyleManager.getStyleDeclaration("." +
-                            styleNames[c]));
+                {
+                    // Get the style sheets referenced by the styleName property
+                    var styleNames:Array = styleName.split(/\s+/);
+                    for (var c:int=0; c < styleNames.length; c++)
+                    {
+                        if (styleNames[c].length)
+                        {
+                            styleDeclarations.push(StyleManager.getStyleDeclaration("." + styleNames[c]));
+                        }
                     }
                 }
-            }
-
-            for (i = 0; i < classSelectors.length; i++)
-            {
-                var classSelector:CSSStyleDeclaration = classSelectors[i];
-                if (classSelector)
-                {
-                    chain = classSelector.addStyleToProtoChain(chain, target, filterMap);
-                    if (classSelector.effects)
-                        obj.registerEffects(classSelector.effects);
-                }
-            }
-
-        }
+
+                for (i = 0; i < styleDeclarations.length; i++)
+                {
+                    decl = styleDeclarations[i];
+                    if (decl)
+                    {
+                        chain = decl.addStyleToProtoChain(chain, target, filterMap);
+                        if (decl.effects)
+                            obj.registerEffects(decl.effects);
+                    }
+                }
+            }
+        }

         // 2) Add inline styles
         if (obj.styleDeclaration)
@@ -735,17 +753,115 @@
     /**
      *  @private
      *  Find all matching style declarations for an IAdvancedStyleClient
+     *  component. The result is sorted in terms of specificity, but the
+     *  declaration order is preserved.
+     *
+     *  @param object - an IAdvancedStyleClient instance of the component to
+     *  match.
+     *  @param styleDeclarations - an optional Array of additional
+     *  CSSStyleDeclarations to be included in the sorted matches.
+     *
+     *  @return An Array of matching style declarations sorted by specificity.
+     */
+    public static function getMatchingStyleDeclarations(object:IAdvancedStyleClient,
+            styleDeclarations:Array=null):Array // of CSSStyleDeclaration
+    {
+        if (styleDeclarations == null)
+            styleDeclarations = [];
+
+        // First, look for universal selectors
+        var universalDecls:Object = StyleManager.getStyleDeclarations("*");
+        styleDeclarations = matchStyleDeclarations(universalDecls, object).concat(styleDeclarations);
+
+        // Next, look for type selectors (includes ActionScript supertype matches)
+        // If we also had universal selectors, concatenate them with our type
+        // selectors and then resort by specificity...
+        if (styleDeclarations.length > 0)
+        {
+            styleDeclarations = object.getClassStyleDeclarations().concat(styleDeclarations);
+            styleDeclarations = sortOnSpecificity(styleDeclarations);
+        }
+        else
+        {
+            // Otherwise, we only have type selectors (which are already sorted)
+            styleDeclarations = object.getClassStyleDeclarations();
+        }
+        return styleDeclarations;
+    }
+
+    /**
+     *  @private
+     *  Returns an ordered map of unqualified class names, starting with the
+     *  object's class name and then each super class name until we hit a stop
+     *  class, such as mx.core::UIComponent.
+     */
+    private static function getUnqualifiedTypeHierarchy(object:IStyleClient):OrderedObject
+    {
+        var className:String = getQualifiedClassName(object);
+        var hierarchy:OrderedObject = StyleManager.typeHierarchyCache[className];
+        if (hierarchy == null)
+        {
+            hierarchy = new OrderedObject();
+
+            var myApplicationDomain:ApplicationDomain;
+            var factory:IFlexModuleFactory = ModuleManager.getAssociatedFactory(object);
+            if (factory != null)
+            {
+                myApplicationDomain = ApplicationDomain(factory.info()["currentDomain"]);
+            }
+            else
+            {
+                var myRoot:DisplayObject = SystemManager.getSWFRoot(object);
+                if (!myRoot)
+                    return hierarchy;
+                myApplicationDomain = myRoot.loaderInfo.applicationDomain;
+            }
+
+            StyleManager.typeHierarchyCache[className] = hierarchy;
+            while (!isStopClass(className))
+            {
+                try
+                {
+                    var type:String = NameUtil.getUnqualifiedClassName(className);
+                    hierarchy[type] = true;
+                    className = getQualifiedSuperclassName(
+                        myApplicationDomain.getDefinition(className));
+                }
+                catch(e:ReferenceError)
+                {
+                    className = null;
+                }
+            }
+        }
+        return hierarchy;
+    }
+
+    /**
+     *  @private
+     *  Our style type hierarhcy stops at UIComponent, UITextField or
+     *  GraphicElement, not Object.
+     */
+    private static function isStopClass(value:String):Boolean
+    {
+        return value == null ||
+               value == "mx.core::UIComponent" ||
+               value == "mx.core::UITextField" ||
+               value == "mx.graphics.graphicsClasses::GraphicElement";
+    }
+
+    /**
+     *  @private
+     *  Find all matching style declarations for an IAdvancedStyleClient
      *  component. The result is unsorted in terms of specificity, but the
      *  declaration order is preserved.
      *
-     *  @param declarations - an Array of declarations to be searched for
-     *  matches.
+     *  @param declarations - a map of declarations to be searched for matches.
      *  @param object - an instance of the component to match.
      *
      *  @return An unsorted Array of matching style declarations for the given
      *  subject.
      */
-    private static function getMatchingStyleDeclarations(declarations:Object,
+    private static function matchStyleDeclarations(declarations:Object,
             object:IAdvancedStyleClient):Array // of CSSStyleDeclaration
     {
         var matchingDecls:Array = [];
@@ -759,66 +875,6 @@
         }

         return matchingDecls;
-    }
-
-    /**
-     *  @private
-     *  Returns an ordered map of unqualified class names, starting with the
-     *  object's class name and then each super class name until we hit a stop
-     *  class, such as mx.core::UIComponent.
-     */
-    private static function getUnqualifiedTypeHierarchy(object:IStyleClient):OrderedObject
-    {
-        var className:String = getQualifiedClassName(object);
-        var hierarchy:OrderedObject = StyleManager.typeHierarchyCache[className];
-        if (hierarchy == null)
-        {
-            hierarchy = new OrderedObject();
-
-            var myApplicationDomain:ApplicationDomain;
-            var factory:IFlexModuleFactory = ModuleManager.getAssociatedFactory(object);
-            if (factory != null)
-            {
-                myApplicationDomain = ApplicationDomain(factory.info()["currentDomain"]);
-            }
-            else
-            {
-                var myRoot:DisplayObject = SystemManager.getSWFRoot(object);
-                if (!myRoot)
-                    return hierarchy;
-                myApplicationDomain = myRoot.loaderInfo.applicationDomain;
-            }
-
-            StyleManager.typeHierarchyCache[className] = hierarchy;
-            while (!isStopClass(className))
-            {
-                try
-                {
-                    var type:String = NameUtil.getUnqualifiedClassName(className);
-                    hierarchy[type] = true;
-                    className = getQualifiedSuperclassName(
-                        myApplicationDomain.getDefinition(className));
-                }
-                catch(e:ReferenceError)
-                {
-                    className = null;
-                }
-            }
-        }
-        return hierarchy;
-    }
-
-    /**
-     *  @private
-     *  Our style type hierarhcy stops at UIComponent, UITextField or
-     *  GraphicElement, not Object.
-     */
-    private static function isStopClass(value:String):Boolean
-    {
-        return value == null ||
-               value == "mx.core::UIComponent" ||
-               value == "mx.core::UITextField" ||
-               value == "mx.graphics.graphicsClasses::GraphicElement";
     }

     /**


Transferred from the Adobe Open Source Subversion Repository

Revision: 17876
Author:   tan@adobe.com
Date:     2010-09-27T17:34:08.606973Z

Log Message:
-----------
Adding copyright to some files that were missing them.

QE notes: N/A
Doc notes:
Bugs: SDK-27968
Reviewer:
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/filters/BaseFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/ComboBoxButtonSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DropDownListButtonSkin.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/filters/BaseDimensionFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/ConstraintLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/EffectEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/filters/IBitmapFilter.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/sparkskins/src/mx/skins/spark/ContainerBorderSkin.as</path>

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

--- frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as
+++ frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as
@@ -1,3 +1,14 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  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.rpc.http
 {


Corrected Resource directory to the re-structured one

--- DroneAnarchy/Resources/Scripts/InputController.as
+++ DroneAnarchy/Resources/Scripts/InputController.as
@@ -92,9 +92,9 @@
     // read settings out of a user prepared configuration file
     void load_user_settings()
     {
-		if ( !cache.Exists ("DroneAnarchy/dajoystick.xml") ) return; // no file, no error in console
+		if ( !cache.Exists ("Resources/Settings/dajoystick.xml") ) return; // no file, no error in console

-        XMLFile@ ujoy = cache.GetResource("XMLFile", "DroneAnarchy/dajoystick.xml");
+        XMLFile@ ujoy = cache.GetResource("XMLFile", "Resources/Settings/dajoystick.xml");
 		if ( ujoy !is null )
 		{
 			clearAll();	// start clean


Add a comment so people don't accidentally new StreamableHashMap(), and expect it to work.

git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@6106 542714f4-19e9-0310-aa3c-eee0fc999fb1

--- src/as/com/threerings/util/StreamableHashMap.as
+++ src/as/com/threerings/util/StreamableHashMap.as
@@ -40,6 +40,14 @@
 public class StreamableHashMap extends ForwardingMap
     implements Streamable
 {
+    /**
+     * Creates a new StreamableHashMap.
+     *
+     * @param keyClazz The class to use as the map key. May be null, but this functionality is
+     * provided only for deserialization. A StreamableHashMap that has not been initialized
+     * properly by either a non-null keyClazz or via readObject will throw errors on write and
+     * always return null on read.
+     */
     public function StreamableHashMap (keyClazz :Class = null)
     {
         super(keyClazz == null ? DEFAULT_MAP : Maps.newMapOf(keyClazz));


Passes register type as singleton

Passes register type as singleton

--- src/asfac/src/com/thedevstop/asfac/AsFactory.as
+++ src/asfac/src/com/thedevstop/asfac/AsFactory.as
@@ -28,10 +28,22 @@

 		public function registerType(instanceType:Class, type:Class, asSingleton:Boolean=false):void
 		{
-			_registrations[type] = function():Object
-			{
-				return resolveByClass(instanceType);
-			};
+			if (asSingleton)
+				_registrations[type] = (function(instanceType:Class):Function
+				{
+					var instance:Object = null;
+					return function():Object {
+						if (!instance)
+							instance = resolveByClass(instanceType);
+
+						return instance;
+					};
+				})(instanceType);
+			else
+				_registrations[type] = function():Object
+				{
+					return resolveByClass(instanceType);
+				};
 		}

 		public function resolve(type:Class):*


Transferred from the Adobe Open Source Subversion Repository

Revision: 6609
Author:   gruehle@adobe.com
Date:     2009-05-04T22:47:31.285324Z

Log Message:
-----------
Add theme attribute to theme-specific style metadata.

Example of a halo-specific style:
[Style(name="cornerRadius", type="Number", format="Length", inherit="no", theme="halo")]

Example of a spark-specific style:
[Style(name="baseColor", type="uint", format="Color", inherit="yes", theme="spark")]

Style metadata without a theme attribute is theme-agnostic, and works with either spark or halo.

Bugs: SDK-20606

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/FillStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.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/framework/src/mx/styles/metadata/SkinStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Button.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.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/flex4/src/spark/components/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BorderStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/BarColorStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CheckBox.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/flex4/src/spark/components/CheckBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/IconColorStyles.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/scrollClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/metadata/SelectedFillColorsStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.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/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/mx/src/mx/controls/Button.as
+++ frameworks/projects/mx/src/mx/controls/Button.as
@@ -128,7 +128,7 @@
  *  @playerversion AIR 1.5
  *  @productversion Flex 4
  */
-[Style(name="focusColor", type="uint", format="Color", inherit="yes")]
+[Style(name="focusColor", type="uint", format="Color", inherit="yes", theme="spark")]

 /**
  *  Gap between the label and icon, when the labelPlacement property


Transferred from the Adobe Open Source Subversion Repository

Revision: 9399
Author:   aharui@adobe.com
Date:     2009-08-19T20:39:10.836192Z

Log Message:
-----------
Check in prototypes of ControlBars in Panel and Application, Spark Containers in Halo Navigators, Halo ViewStack in Spark ButtonBar.  APIs should match spec but are subject to change from PARB.  Skins are subject to tweaking after XD review

QE Notes: The following tests will fail and need updating:
gumbo/containers/Panel/Properties/Panel_Properties_position Panel_Properties_rotate
apollo/spark/components/Window/properties/window_properties_titleIcon_tests titleIcon_test8

Doc Notes: None
Bugs: None
Reviewer: Darrell, Glenn, Ryan
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/gumbo/components/Application, gumbo/components/ButtonBar, gumbo/containers/Panel, apollo/gumbo/spark/Window, containers/ViewStack, containers/Accordion,

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/builder/ComponentBuilder.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NavigatorChild.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/spark/src/spark/core/IDeferredContentOwner.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/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler_en.properties</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatable.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/PanelSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/INavigatorContent.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/wireframe/src/spark/skins/wireframe/PanelSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IDeferredContentOwner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/ApplicationSkin.mxml</path>

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

--- frameworks/projects/mx/src/mx/controls/NavBar.as
+++ frameworks/projects/mx/src/mx/controls/NavBar.as
@@ -23,7 +23,7 @@
 import mx.containers.BoxDirection;
 import mx.containers.ViewStack;
 import mx.core.ClassFactory;
-import mx.core.Container;
+import mx.core.INavigatorContent;
 import mx.core.FlexVersion;
 import mx.core.IFactory;
 import mx.core.IFlexDisplayObject;
@@ -251,7 +251,7 @@
                 if (targetStack)
                 {
                     Button(getChildAt(i)).enabled = value &&
-                            Container(targetStack.getChildAt(i)).enabled;
+                            UIComponent(targetStack.getChildAt(i)).enabled;
                 }
                 else
                 {
@@ -1069,11 +1069,11 @@
                 IndexChangedEvent.CHILD_INDEX_CHANGE, childIndexChangeHandler);

             var numViews:int = targetStack.numChildren;
-            var child:Container;
+            var child:INavigatorContent;

             for (var i:int = 0; i < numViews; i++)
 	        {
-                child = Container(targetStack.getChildAt(i));
+                child = INavigatorContent(targetStack.getChildAt(i));

                 child.removeEventListener("labelChanged", labelChangedHandler);
                 child.removeEventListener("iconChanged", iconChangedHandler);
@@ -1106,7 +1106,7 @@

         for (i = 0; i < numViews; i++)
         {
-            child = Container(targetStack.getChildAt(i));
+            child = INavigatorContent(targetStack.getChildAt(i));
             var item:Button = Button(createNavItem(itemToLabel(child), child.icon));

@@ -1180,7 +1180,7 @@
         if (event.relatedObject.parent != targetStack)
             return;

-        var newChild:Container = Container(event.relatedObject);
+        var newChild:INavigatorContent = INavigatorContent(event.relatedObject);
         var item:Button = Button(createNavItem(itemToLabel(newChild), newChild.icon));
         var index:int = newChild.parent.getChildIndex(DisplayObject(newChild));
         setChildIndex(item, index);
@@ -1259,7 +1259,7 @@
         var itemIndex:int =
             targetStack.getChildIndex(DisplayObject(event.target));

-        updateNavItemLabel(itemIndex, Container(event.target).label);
+        updateNavItemLabel(itemIndex, INavigatorContent(event.target).label);
     }

     /**
@@ -1272,7 +1272,7 @@
         var itemIndex:int =
             targetStack.getChildIndex(DisplayObject(event.target));

-        updateNavItemIcon(itemIndex, Container(event.target).icon);
+        updateNavItemIcon(itemIndex, INavigatorContent(event.target).icon);
     }

     /**


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

--- frameworks/projects/mx/src/mx/controls/TabBar.as
+++ frameworks/projects/mx/src/mx/controls/TabBar.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.controls
 {


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

--- frameworks/projects/framework/src/mx/controls/SWFLoader.as
+++ frameworks/projects/framework/src/mx/controls/SWFLoader.as
@@ -17,6 +17,8 @@
 import flash.display.DisplayObjectContainer;
 import flash.display.Loader;
 import flash.display.LoaderInfo;
+import flash.display.Shape;
+import flash.display.Sprite;
 import flash.events.Event;
 import flash.events.EventDispatcher;
 import flash.events.HTTPStatusEvent;
@@ -43,6 +45,7 @@
 import mx.events.SandboxBridgeEvent;
 import mx.events.FlexEvent;
 import mx.events.FocusRequest;
+import mx.events.MarshalEvent;
 import mx.managers.CursorManager;
 import mx.managers.FocusManager;
 import mx.managers.IFocusManager;
@@ -386,6 +389,11 @@
      */
     private var explicitLoaderContext:Boolean = false;

+    /**
+     *  @private
+     */
+    private var mouseShield:Sprite;
+
     //--------------------------------------------------------------------------
     //
     //  Overridden properties
@@ -1189,6 +1197,8 @@

         if (brokenImageBorder)
             brokenImageBorder.setActualSize(unscaledWidth, unscaledHeight);
+
+		sizeShield();
     }

     //--------------------------------------------------------------------------
@@ -1847,6 +1857,8 @@
             if (_autoLoad)
                 load(_source);
         }
+		ISystemManager2(systemManager).getSandboxRoot().addEventListener(MarshalEvent.DRAG_MANAGER,
+				mouseShieldHandler);
     }

@@ -2056,6 +2068,55 @@
 		}
 	}

+	/**
+	 *	@private
+	 *
+	 * 	Put up or takedown a mouseshield that covers the content
+	 *  of the application we loaded.
+	 */
+	private function mouseShieldHandler(event:Event):void
+	{
+		if (event["name"] != "mouseShield")
+			return;
+
+		if (accessibleFromChild())
+			return;
+
+		if (event["value"])
+		{
+			if (!mouseShield)
+			{
+				mouseShield = new Sprite();
+				mouseShield.graphics.beginFill(0, 0);
+				mouseShield.graphics.drawRect(0, 0, 100, 100);
+				mouseShield.graphics.endFill();
+			}
+			if (!mouseShield.parent)
+				addChild(mouseShield);
+			sizeShield();
+
+		}
+		else
+		{
+			if (mouseShield.parent)
+				removeChild(mouseShield)
+		}
+	}
+
+	/**
+	 *	@private
+	 *
+	 * 	size the shield if needed
+	 */
+	private function sizeShield():void
+	{
+		if (mouseShield && mouseShield.parent)
+		{
+			mouseShield.width = unscaledWidth;
+			mouseShield.height = unscaledHeight;
+		}
+	}
+
     /**
      *  @private
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 7163
Author:   aharui@adobe.com
Date:     2009-05-21T02:19:55.813792Z

Log Message:
-----------
Initial checkin of frame 1 cleanup.  In an RSL linkage, more classes will now come from the RSL because they are no longer needed in frame 1, and the size of the application SWF will be smaller.

QE Notes: None
Doc Notes: Maybe.  All new classes should be undocumented, but it might be worth checking that and any changes to interfaces
Bugs:
Reviewer: darrell
tests: checkintests mustella/MarshallPlan

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileListItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ActiveWindowManager.as</path>
<path kind="dir" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/MarshalPopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IEmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ColorPicker.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/EventProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextFormat.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/flex/tools/dependencychecker/FrameworkSwcDependencyRules.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/EmbeddedFontRegistry.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</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/framework/src/mx/core/EmbeddedFont.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/Preloader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ResourceModuleRSLItem.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/ISWFBridgeProvider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/FocusManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IMarshalSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EventListenerRequest.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/ToolTipManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/mustella/MustellaResultsParser.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Alert.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/ChildManager.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/systemClasses/MarshallPlan.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/managers/SystemManagerGlobals.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SWFBridgeGroup.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/alertClasses/AlertForm.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/treeClasses/TreeItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/DragManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.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/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IActiveWindowManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/PopUpManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManagerProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/messaging/config/LoaderConfig.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/IFocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/preloaders/DownloadProgressBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ScrollControlBase.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ISystemManagerChildManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/marshalClasses/CursorManagerMarshalMixin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/PopUpData.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ISWFBridgeGroup.as</path>

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

--- frameworks/projects/framework/src/mx/controls/SWFLoader.as
+++ frameworks/projects/framework/src/mx/controls/SWFLoader.as
@@ -49,6 +49,7 @@
 import mx.events.SWFBridgeEvent;
 import mx.events.SWFBridgeRequest;
 import mx.managers.CursorManager;
+import mx.managers.IMarshalSystemManager;
 import mx.managers.ISystemManager;
 import mx.managers.SystemManagerGlobals;
 import mx.styles.ISimpleStyleClient;
@@ -738,16 +739,18 @@
             {
                 try
                 {
-                        if (systemManager.swfBridgeGroup)
+					var mp:IMarshalSystemManager =
+						IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
+					if (mp && mp.swfBridgeGroup)
+                    {
+                        var bridge:IEventDispatcher = swfBridge;
+                        if (bridge)
                         {
-                            var bridge:IEventDispatcher = swfBridge;
-                            if (bridge)
-                            {
-                                var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
-                                bridge.dispatchEvent(request);
-                                return request.data.height;
-                            }
+                            var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
+                            bridge.dispatchEvent(request);
+                            return request.data.height;
                         }
+                    }

                     var content:IFlexDisplayObject =
                         Loader(contentHolder).content as IFlexDisplayObject;
@@ -803,12 +806,12 @@
             {
                 try
                 {
-                        if (swfBridge)
-                        {
-                        var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
-                        swfBridge.dispatchEvent(request);
-                        return request.data.width;
-                        }
+                    if (swfBridge)
+                    {
+                    var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
+                    swfBridge.dispatchEvent(request);
+                    return request.data.width;
+                    }

                     var content:IFlexDisplayObject =
                         Loader(contentHolder).content as IFlexDisplayObject;
@@ -972,7 +975,7 @@
     //----------------------------------
     //  sandBoxBridge (read only)
     //----------------------------------
-        private var _swfBridge:IEventDispatcher;
+    private var _swfBridge:IEventDispatcher;

     //----------------------------------
     //  percentLoaded (read only)
@@ -1327,8 +1330,8 @@

         try
         {
-            if (contentHolder is Loader)
-                return Loader(contentHolder).contentLoaderInfo.childAllowsParent;
+        if (contentHolder is Loader)
+            return Loader(contentHolder).contentLoaderInfo.childAllowsParent;
         }
         catch (error:Error)
         {
@@ -1355,8 +1358,8 @@

         try
         {
-            if (contentHolder is Loader)
-                return Loader(contentHolder).contentLoaderInfo.parentAllowsChild;
+        if (contentHolder is Loader)
+            return Loader(contentHolder).contentLoaderInfo.parentAllowsChild;
         }
         catch (error:Error)
         {
@@ -1364,7 +1367,7 @@
             // We can get this if this content has been unload
             return false;
         }
-
+
         return true;
     }

@@ -1456,7 +1459,7 @@
             if (smoothBitmapContentChanged) {
             	doSmoothBitmapContent();
             	smoothBitmapContentChanged = false;
-            }
+        }
         }

         if (brokenImage && !brokenImageBorder)
@@ -1479,7 +1482,7 @@
         if (brokenImageBorder)
             brokenImageBorder.setActualSize(unscaledWidth, unscaledHeight);

-        sizeShield();
+                sizeShield();
     }

     //--------------------------------------------------------------------------
@@ -1890,7 +1893,7 @@
                 }
                 catch(e:Error)
                 {
-                    // trace("contentLoader: " + e);
+                        // trace("contentLoader: " + e);
                     flexContent = swfBridge != null;
                 }
             }
@@ -2002,7 +2005,7 @@
                     {
                         var sizeSet:Boolean = false;

-                        if (holder.contentLoaderInfo.contentType == "application/x-shockwave-flash")
+                            if (holder.contentLoaderInfo.contentType == "application/x-shockwave-flash")
                         {
                             if (childAllowsParent)
                             {
@@ -2036,11 +2039,11 @@
                                 contentHolder.scaleY = h / lInfo.height;
                             }
                             else
-                            {
-                                contentHolder.width = w;
-                                contentHolder.height = h;
-                            }
+                        {
+                            contentHolder.width = w;
+                            contentHolder.height = h;
                         }
+                    }
                     }
                     else if (childAllowsParent &&
                              !(holder.content is IFlexDisplayObject))
@@ -2056,7 +2059,7 @@
                 }

                 if (!parentAllowsChild)
-                    contentHolder.scrollRect = new Rectangle(0, 0,
+                        contentHolder.scrollRect = new Rectangle(0, 0,
                                                              w / contentHolder.scaleX,
                                                              h / contentHolder.scaleY);
             }
@@ -2104,7 +2107,7 @@
         contentHolder.x = (w - contentHolderWidth) * getHorizontalAlignValue();
         contentHolder.y = (h - contentHolderHeight) * getVerticalAlignValue();
     }
-
+
     /**
      *  @private
      */
@@ -2169,10 +2172,12 @@
                                                invalidateDisplayList:Boolean):void
     {
         var sm:ISystemManager = systemManager;
-        if (!sm.useSWFBridge())
+		var mp:IMarshalSystemManager =
+			IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
+        if (!mp || !mp.useSWFBridge())
             return;

-        var bridge:IEventDispatcher = sm.swfBridgeGroup.parentBridge;
+        var bridge:IEventDispatcher = mp.swfBridgeGroup.parentBridge;
         var flags:uint = 0;

         if (invalidateProperites)
@@ -2240,9 +2245,6 @@

         contentLoaded();

-        if (contentHolder is Loader)
-            removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);
-
     }

     /**
@@ -2265,29 +2267,29 @@

         // if we are loading a swf listen of a message if it ends up needing to
         // use a sandbox bridge to communicate.
-                addInitSystemManagerCompleteListener(LoaderInfo(event.target).loader.contentLoaderInfo);
-    }
-
-
-        /**
-         * If we are loading a swf, listen for a message from the swf telling us it was loading
-         * into an application domain where it needs to use a sandbox bridge to communicate.
+        addInitSystemManagerCompleteListener(LoaderInfo(event.target).loader.contentLoaderInfo);
+    }
+
+
+    /**
+     * If we are loading a swf, listen for a message from the swf telling us it was loading
+     * into an application domain where it needs to use a sandbox bridge to communicate.
          *
          *  @langversion 3.0
          *  @playerversion Flash 9
          *  @playerversion AIR 1.1
          *  @productversion Flex 3
-         */
-        private function addInitSystemManagerCompleteListener(loaderInfo:LoaderInfo):void
-        {
-                if (loaderInfo.contentType == "application/x-shockwave-flash")
-                {
-                        var bridge:EventDispatcher = loaderInfo.sharedEvents;
-                        bridge.addEventListener(SWFBridgeEvent.BRIDGE_NEW_APPLICATION,
-                                                                  initSystemManagerCompleteEventHandler);
-                }
-        }
-
+     */
+    private function addInitSystemManagerCompleteListener(loaderInfo:LoaderInfo):void
+    {
+        if (loaderInfo.contentType == "application/x-shockwave-flash")
+        {
+                var bridge:EventDispatcher = loaderInfo.sharedEvents;
+                bridge.addEventListener(SWFBridgeEvent.BRIDGE_NEW_APPLICATION,
+                                                          initSystemManagerCompleteEventHandler);
+        }
+    }
+
     /**
      * Remove the listener after the swf is loaded.
      *
@@ -2375,7 +2377,7 @@
         dispatchEvent(event);

         if (contentHolder is Loader)
-            removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);
+                        removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);
     }

     /**
@@ -2392,15 +2394,17 @@
         if (_swfBridge)
         {
             _swfBridge.removeEventListener(SWFBridgeRequest.INVALIDATE_REQUEST,
-                                           invalidateRequestHandler);
+                                               invalidateRequestHandler);

             var sm:ISystemManager = systemManager;
-            sm.removeChildBridge(_swfBridge);
+			var mp:IMarshalSystemManager =
+					IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
+            mp.removeChildBridge(_swfBridge);
             _swfBridge = null;
         }

         if (contentHolder is Loader)
-            removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);
+                        removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);

     }

@@ -2419,13 +2423,18 @@
             eObj.data == Loader(contentHolder).contentLoaderInfo.sharedEvents)
         {
             _swfBridge = Loader(contentHolder).contentLoaderInfo.sharedEvents;
-
+
+            flexContent = true;
+            // if we got validated before we got this event
+            // then we might have accidentally scaled the loader
+            unScaleContent();
+
             var sm:ISystemManager = systemManager;
-            sm.addChildBridge(_swfBridge, this);
+            IMarshalSystemManager(sm.getImplementation("mx.managers::IMarshalSystemManager")).addChildBridge(_swfBridge, this);
             removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);

-            _swfBridge.addEventListener(SWFBridgeRequest.INVALIDATE_REQUEST,
-                                       invalidateRequestHandler);
+		    _swfBridge.addEventListener(SWFBridgeRequest.INVALIDATE_REQUEST,
+                               invalidateRequestHandler);
         }
     }

@@ -2463,53 +2472,53 @@
     }

-    /**
-     *  @private
-     *
-     *  Put up or takedown a mouseshield that covers the content
-     *  of the application we loaded.
-     */
-    private function mouseShieldHandler(event:Event):void
-    {
-        if (event["name"] != "mouseShield")
-            return;
+        /**
+         *      @private
+         *
+         *      Put up or takedown a mouseshield that covers the content
+         *  of the application we loaded.
+         */
+        private function mouseShieldHandler(event:Event):void
+        {
+                if (event["name"] != "mouseShield")
+                        return;

         if (!isContentLoaded || parentAllowsChild)
-            return;
-
-        if (event["value"])
-        {
-            if (!mouseShield)
-            {
-                mouseShield = new Sprite();
-                mouseShield.graphics.beginFill(0, 0);
-                mouseShield.graphics.drawRect(0, 0, 100, 100);
-                mouseShield.graphics.endFill();
-            }
-            if (!mouseShield.parent)
-                addChild(mouseShield);
-            sizeShield();
-        }
-        else
-        {
-            if (mouseShield && mouseShield.parent)
-                removeChild(mouseShield)
-        }
-    }
-
-    /**
-     *      @private
-     *
-     *      size the shield if needed
-     */
-    private function sizeShield():void
-    {
-        if (mouseShield && mouseShield.parent)
-        {
-            mouseShield.width = unscaledWidth;
-            mouseShield.height = unscaledHeight;
-        }
-    }
+                        return;
+
+                if (event["value"])
+                {
+                        if (!mouseShield)
+                        {
+                                mouseShield = new Sprite();
+                                mouseShield.graphics.beginFill(0, 0);
+                                mouseShield.graphics.drawRect(0, 0, 100, 100);
+                                mouseShield.graphics.endFill();
+                        }
+                        if (!mouseShield.parent)
+                                addChild(mouseShield);
+                        sizeShield();
+                }
+                else
+                {
+                        if (mouseShield && mouseShield.parent)
+                                removeChild(mouseShield)
+                }
+        }
+
+        /**
+         *      @private
+         *
+         *      size the shield if needed
+         */
+        private function sizeShield():void
+        {
+                if (mouseShield && mouseShield.parent)
+                {
+                        mouseShield.width = unscaledWidth;
+                        mouseShield.height = unscaledHeight;
+                }
+        }

     /**
      *  @private
@@ -2525,7 +2534,10 @@
         {
             var sm:ISystemManager = content as ISystemManager;
             if (sm != null)
-                Object(sm).regenerateStyleCache(recursive);
+			{
+				var cm:Object = sm.getImplementation("mx.managers.ISystemManagerChildManager");
+                Object(cm).regenerateStyleCache(recursive);
+			}
         }
         catch(error:Error)
         {
@@ -2549,7 +2561,10 @@
         {
             var sm:ISystemManager = content as ISystemManager;
             if (sm != null)
-                Object(sm).notifyStyleChangeInChildren(styleProp, recursive);
+			{
+				var cm:Object = sm.getImplementation("mx.managers.ISystemManagerChildManager");
+                Object(cm).notifyStyleChangeInChildren(styleProp, recursive);
+			}
         }
         catch(error:Error)
         {
@@ -2558,44 +2573,44 @@
                         // Also ignore if the sm doesn't have a notifyStyleChangeInChildren method
         }
     }
-
+
     /**
      *  @private
      *  @throws Error - #2099 if the content has been unloaded
      */
-    private function getContentSize():Point
-    {
-        var pt:Point = new Point();
+        private function getContentSize():Point
+        {
+                var pt:Point = new Point();
+
+                if (!contentHolder is Loader)
+                        return pt;
+
+                var holder:Loader = Loader(contentHolder);
+                if (holder.contentLoaderInfo.childAllowsParent)
+                {
+                        pt.x = holder.content.width;
+                        pt.y = holder.content.height;
+                }
+                else
+                {
+                        var bridge:IEventDispatcher = swfBridge;
+                        if (bridge)
+                        {
+                                var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
+                                bridge.dispatchEvent(request);
+                                pt.x = request.data.width;
+                                pt.y = request.data.height;
+                        }
+                }

-        if (!contentHolder is Loader)
-            return pt;
-
-        var holder:Loader = Loader(contentHolder);
-        if (holder.contentLoaderInfo.childAllowsParent)
-        {
-            pt.x = holder.content.width;
-            pt.y = holder.content.height;
-        }
-        else
-        {
-            var bridge:IEventDispatcher = swfBridge;
-            if (bridge)
-            {
-                var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
-                bridge.dispatchEvent(request);
-                pt.x = request.data.width;
-                pt.y = request.data.height;
-            }
-        }
-
-        // don't return zero out of here otherwise the Loader's scale goes to zero
-        if (pt.x == 0)
-            pt.x = holder.contentLoaderInfo.width;
-        if (pt.y == 0)
-            pt.y = holder.contentLoaderInfo.height;
-
-        return pt;
-    }
+                // don't return zero out of here otherwise the Loader's scale goes to zero
+                if (pt.x == 0)
+                        pt.x = holder.contentLoaderInfo.width;
+                if (pt.y == 0)
+                        pt.y = holder.contentLoaderInfo.height;
+
+                return pt;
+        }

     /**
      *  The default handler for the MouseEvent.CLICK event.
@@ -2612,7 +2627,7 @@
             // if the Button is disabled.
             event.stopImmediatePropagation();
             return;
-        }
+}
     }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 3148
Author:   gosmith@adobe.com
Date:     2008-09-08T22:01:15.712225Z

Log Message:
-----------
You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.

SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.

Reviewer: Glenn
Bugs: -
QA: Lots of new stuff to test!
Doc: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -308,8 +308,8 @@
 		{
 			// Set the TextView to allow multiple lines of input.
 			textView.heightInLines = 10;
-            textView.lineBreak = LineBreak.TO_FIT;
 			textView.multiline = true;
+            textView.setStyle("lineBreak", "toFit");
         }
 	}


Transferred from the Adobe Open Source Subversion Repository

Revision: 4439
Author:   cframpto@adobe.com
Date:     2009-01-08T14:54:17.234818Z

Log Message:
-----------
Fix FxTextArea focus issue.  In FxTextArea.partAdded(), if there is a scroller,set scroller.focusEnabled to false.  With this change, calling focusManager.getFocus() for the embedded textView object will skip over the scroller in the chain and return the desired FxTextArea.  The FxTextArea will now have the expected focus ring and you should only have to click once, not twice, in a FxTextArea to get focus.

QE Notes:
Doc Notes: None
Bugs: SDK-18101, SDK-18211
Reviewers: Gordan, Alex

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxTextArea.as

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

--- frameworks/projects/spark/src/spark/components/TextArea.as
+++ frameworks/projects/spark/src/spark/components/TextArea.as
@@ -390,6 +390,11 @@
 									  textView_textInvalidHandler);

         }
+
+        // The scroller, between textView and this in the chain, should not
+        // getFocus.
+        if (instance == scroller)
+            scroller.focusEnabled = false;
 	}

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


forEach  return Stream

forEach  return Stream

--- src/com/kemsky/impl/Stream.as
+++ src/com/kemsky/impl/Stream.as
@@ -572,7 +572,7 @@
             }));
         }

-        public function forEach(callback:Function):void
+        public function forEach(callback:Function):Stream
         {
             source.forEach(function (item:*, index:int, array:Array):void
             {


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

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

 package mx.controls
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 153
Author:   proberts@adobe.com
Date:     2008-01-10T20:22:23.867658Z

Log Message:
-----------
Severity: ignore
Description: docs update -- added @productVersion tag to Flex AIR classes' class descriptions.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/Window.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeMenuEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/FlexHTMLLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemHistoryButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowRestoreButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowMaximizeButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/StatusBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemTree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/HTML.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/IWindow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumeration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemSizeDisplayMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/utils/DirectoryEnumerationMode.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/AIREvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/events/FileEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemDataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/WindowCloseButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/skins/halo/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FlexNativeMenu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.as</path>

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

--- frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as
+++ frameworks/projects/airframework/src/mx/events/FlexNativeWindowBoundsEvent.as
@@ -22,6 +22,8 @@
  *
  *  @see mx.core.Window
  *  @see mx.core.WindowedApplication
+ *
+ *  @productversion Apollo 1.0
  */
 public class FlexNativeWindowBoundsEvent extends NativeWindowBoundsEvent
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18685
Author:   chiedozi@adobe.com
Date:     2010-11-17T23:41:28.244847Z

Log Message:
-----------
MobileApplication classes have been renamed to ViewNavigatorApplication.  Specific file changes are:
MobileApplicationBase  -->  ViewNavigatorApplicationBase
MobileApplication --> ViewNavigatorApplication
MobileApplicationSkin -->  ViewNavigatorApplicationSkin
TabbedMobileApplication -->  TabbedViewNavigatorApplication
TabbedMobileApplicationSkin --> TabbedViewNavigatorApplicationSkin

QE notes:
Doc notes:
Bugs:
Reviewer: Jason SJ
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/manifest.xml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLLabel.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenuItem.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/RadioStations/src/RadioStations.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedMXMLTextField.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewMenu.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ActionBar.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ComponentCatalog.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileApplication.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchASLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/MobileThemeClasses.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TextTest/src/TextTest.mxml</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedMobileApplicationSkin.as" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchASTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLLabel.mxml</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="dir" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers/IPersistenceManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchMXMLTextField.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TwitterSearch/src/TwitterSearchVirtualizedASLabel.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/TransitionTests/src/TransitionTests.mxml</path>
<path kind="dir" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/core/managers" copyfrom-rev="18641" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/managers</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/MobileApplicationSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
+++ frameworks/projects/mobilecomponents/src/spark/managers/PersistenceManager.as
@@ -9,7 +9,7 @@
 //
 ////////////////////////////////////////////////////////////////////////////////

-package spark.core.managers
+package spark.managers
 {
 import flash.net.SharedObject;