commentfix

commentfix

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

--- src/as/com/threerings/util/Throttle.as
+++ src/as/com/threerings/util/Throttle.as
@@ -98,8 +98,8 @@
     }

     /**
-     * Registers an attempt at an operation and returns true if the operation should be performed
-     * or false if it should be throttled (meaning N operations have already been performed in the
+     * Registers an attempt at an operation and returns false if the operation should be performed
+     * or true if it should be throttled (meaning N operations have already been performed in the
      * last M seconds).
      *
      * @return true if the throttle is activated, false if the operation can proceed.
@@ -110,8 +110,8 @@
     }

     /**
-     * Registers an attempt at an operation and returns true if the operation should be performed
-     * or false if it should be throttled (meaning N operations have already been performed in the
+     * Registers an attempt at an operation and returns false if the operation should be performed
+     * or true if it should be throttled (meaning N operations have already been performed in the
      * last M seconds).
      *
      * @param timeStamp the timestamp at which this operation is being attempted.


Transferred from the Adobe Open Source Subversion Repository

Revision: 17274
Author:   rfrishbe@adobe.com
Date:     2010-08-11T18:08:34.293087Z

Log Message:
-----------
A lot of changes, most involving touch scrolling.

UIComponent: remove keepControlOfMouseDown, which was checked in accidentally

FocusManager: move a check for event.isPreventDefauled() from the mouseDown handler to the mouseFocusHandler.  It was probably accidentally added in the mouseDown handler in the first place since mousedown events were not prevent defaultable (they are now, though)

SystemManager: Make MouseDown events prevent defaultable.  We do this for mouseWheel handlers already.  This allows our components to communicate a little with regards to who's handling this event.  Currently only ButtonBase and ItemRenderer check for this.

Split up IconItemRenderer in to MobileItemRenderer and MobileIconItemRenderer.  MobileItemRenderer is still based on UIComponent and is in charge of drawing the background and has a single text component.  MobileIconItemRenderer will be a more complex item renderer that developers can use. I'm also moving both of these classes in to the mobilecomponents project and mapping them in the spark manifest so that developers can now use them.

ButtonBase and List: Clean up code around how we deal with touch scrolling and adding a delay to button.  We also make sure that if the Button was clicked quickly before the delay fires that we show the button in the down state for some minimum amount of time.

Scroller: clean up a lot of the touch scrolling code

QE notes: None
Doc notes: None
Bugs: SDK-27263, SDK-27173, SDK-27157, SDK-27016
Reviewer: Jason SJ for MobileItemRenderer/MobileIconItemRenderer, Hans for the rest (he's still working through it though)
Tests run: checkintests, all mustella (some mustella failed for me locally but also in a clean sandbox)
Is noteworthy for integration: No

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/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/List.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/spark-manifest.xml</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/projects/spark/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TouchScrollingEasing.as</path>
<path kind="file" action="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/IconItemRenderer.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/IconItemRenderer.as" copyfrom-rev="17121" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileIconItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/PaddingStyles.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles/metadata/GapStyles.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/styles</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/ItemRenderer.as
@@ -433,6 +433,8 @@
     {
         if (dragging && hasState("dragging"))
             return "dragging";
+
+        // TODO (rfrishbe): do we need a down state here and would keyboard put it in the downstate?

         if (selected && showsCaret && hasState("selectedAndShowsCaret"))
             return "selectedAndShowsCaret";


Transferred from the Adobe Open Source Subversion Repository

Revision: 7447
Author:   chaase@adobe.com
Date:     2009-05-29T21:11:10.326849Z

Log Message:
-----------
Fixed bug with new Fade effect. Fade automatically manages parenting/unparenting objects which go away during a transition, but it was not doing this correctly for GraphicElements, which do not parent their underlying display object until a layout pass. This caused a failure in Rotate3D, which called a function in GraphicElement that relied on the existence of that display object parent. Fix was to force a validation to occur on the graphic element to parent it correctly and also to check for a null parent just in case.

QE Notes: None
Doc Notes: None
Bugs: sdk-21442
Reviewer: Jason
Tests: checkintests, Mustella spark/effects/Fade, mx/states/Transition

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as
@@ -31,6 +31,7 @@
 import spark.effects.animation.IAnimationTarget;
 import spark.effects.easing.IEaser;
 import spark.effects.interpolation.IInterpolator;
+import spark.primitives.supportClasses.GraphicElement;

 use namespace mx_internal;

@@ -819,6 +820,12 @@
                         IVisualElementContainer(parentStart).addElement(target as IVisualElement);
                     else
                         parentStart.addChild(target);
+                    // GraphicElements may delay parenting their underlying displayObject until
+                    // a layout pass, so let's force it to make sure we're ready to go
+                    // TODO (chaase): this should probably happen as a part of applyStartValues()
+                    // instead, then we already force the layout to happen
+                    if (target is GraphicElement)
+                        GraphicElement(target).validateNow();
                     needsRemoval = true;
                 }
             }


code cleanup

code cleanup


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

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


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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

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

--- frameworks/projects/advancedgrids/src/mx/olap/OLAPMeasure.as
+++ frameworks/projects/advancedgrids/src/mx/olap/OLAPMeasure.as
@@ -0,0 +1,158 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2009 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.olap
+{
+
+import mx.olap.aggregators.SumAggregator;
+import mx.olap.aggregators.AverageAggregator;
+import mx.olap.aggregators.MaxAggregator;
+import mx.olap.aggregators.MinAggregator;
+import mx.olap.aggregators.CountAggregator;
+import mx.resources.ResourceManager;
+
+[ResourceBundle("olap")]
+
+/**
+ *  The OLAPMeasure class represents a member of the measure dimension of an OLAP cube.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
+ */
+public class OLAPMeasure extends OLAPMember
+{
+    include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+     *
+     *  @param name The name of the OLAP element that includes the OLAP schema hierarchy of the element.
+     *  For example, "Time_Year", where "Year" is a level of the "Time" dimension in an OLAP schema.
+     *
+     *  @param displayName The name of the measure, as a String, which can be used for display.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function OLAPMeasure(name:String=null, displayName:String=null)
+    {
+        super(name, displayName);
+    }
+
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // isMeasure
+    //----------------------------------
+
+    /**
+     * @private
+     */
+    override public function get isMeasure():Boolean
+    {
+        return true;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+    // aggregator
+    //----------------------------------
+
+    /**
+     * @private
+     *
+     * By default we use the sum as aggregator.
+     */
+    private var _aggregator:Object = new SumAggregator;
+
+    /**
+     *  The aggregation to be performed for this measure.
+     *  You can use one of the following values for the property:
+     *  "SUM", "AVG", "MIN",
+     *  "MAX", or "COUNT".
+     *
+     *
You can also use a custom aggregator by implementing
+     *  the IOLAPCustomAggregator interface, then setting the aggregator property to
+     *  that custom aggregator, as the following example shows:

+     *
+     *
aggregator={new CustomAgg()}

+     *
+     *  @see mx.olap.IOLAPCustomAggregator
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
+     */
+    public function get aggregator():Object
+    {
+        return _aggregator;
+    }
+
+    /**
+     * @private
+     */
+    public function set aggregator(value:Object):void
+    {
+        _aggregator = value;
+        if (value is String)
+        {
+            switch(String(value).toLowerCase())
+            {
+                case "sum":
+                    _aggregator = new SumAggregator;
+                    break;
+                case "count":
+                    _aggregator = new CountAggregator;
+                    break;
+                case "avg":
+                    _aggregator = new AverageAggregator;
+                    break;
+                case "max":
+                    _aggregator = new MaxAggregator;
+                    break;
+                case "min":
+                    _aggregator = new MinAggregator;
+                    break;
+                default:
+                    {
+                        _aggregator = null;
+                        var message:String = ResourceManager.getInstance().getString(
+                                "olap", "invalidAggregator", [value]);
+                        throw Error(message);
+                    }
+                    break;
+            }
+        }
+    }
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 19220
Author:   harishs@adobe.com
Date:     2010-12-09T17:13:33.525753Z

Log Message:
-----------
QE notes: Ran checkintests and peformed full cyclone run. 3 Timeout failures were noted in unrelated tests.
Doc notes: ASDOC samples for spark validators, sort and sortfield added now
Bugs: sdk-28780
Reviewer: Gordon Smith
Tests run: cyclone, checkintests and QE tests
Is noteworthy for integration:

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/SortField.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/collections/SortField.as</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/validators/examples</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/validators</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/collections/examples</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/collections/examples/SortExample1.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/collections/Sort.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/collections/examples/SortExample2.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/validators/examples/NumberValidatorExample1.mxml</path>
<path kind="dir" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/collections</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/asdoc/en_US/spark/validators/examples/CurrencyValidatorExample1.mxml</path>

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

--- frameworks/projects/spark/src/spark/collections/SortField.as
+++ frameworks/projects/spark/src/spark/collections/SortField.as
@@ -29,6 +29,25 @@
 import spark.globalization.SortingCollator;

 [ResourceBundle("collections")]
+
+//--------------------------------------
+//  Styles
+//--------------------------------------
+
+/**
+ *  The locale identifier that specifies the language, region, script
+ *  and optionally other related tags and keys.
+ *  The syntax of this identifier must follow the syntax defined
+ *  by the Unicode Technical Standard #35 (e.g. en-US, de-DE, zh-Hans-CN)
+ *
+ *  @see http://www.unicode.org/reports/tr35/
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10.1
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+[Style(name="locale", type="String", inherit="yes")]

 /**
  *  Provides the sorting information required to establish a sort on a field
@@ -365,7 +384,7 @@
     /**
      *  @inheritDoc
      *
-     *  @default false
+     *  @default null
      *
      *  @langversion 3.0
      *  @playerversion Flash 10.1


Transferred from the Adobe Open Source Subversion Repository

Revision: 4357
Author:   egreenfi@adobe.com
Date:     2008-12-18T23:52:27.017290Z

Log Message:
-----------
UIComponent now implements ILayoutElement directly

ILayoutElement was moved to mx.core.ILayoutElement, as it is now a core interface required by UIComponent.

Further phases to follow:
1) IVlisualElement to extend ILayoutElement, pending resolution of a compiler bug.
2) remove LayoutElementUIC, pending UIMovieclip implementing ILayoutElement
3) remove LayoutElementFactory, once all IVisualElements implement ILayoutElement directly.
4) remove ITransformable, moving transform properties onto IVisualElement.

Reviewer: Evtim
QA: yes.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/tests/layout/layout_tester.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LinearLayoutVector.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/DataGroup.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/MatrixUtil.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/FxComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxHScrollBar.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/VerticalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IVisualElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/skins/spark/FxScrollerSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/effectClasses/FxAnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVSlider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementFactory.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/BasicLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/FxVScrollBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutElementUIComponentUtils.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/utils/MatrixUtil.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/ILayoutElement.as" copyfrom-rev="4249" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/HorizontalLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/components/baseClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/layout/LayoutElementUIC.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/graphics/graphicsClasses/GraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/components/HScrollBar.as
+++ frameworks/projects/spark/src/spark/components/HScrollBar.as
@@ -14,7 +14,7 @@
 import mx.components.baseClasses.FxScrollBar;
 import mx.core.ScrollUnit;
 import mx.core.IViewport;
-import mx.layout.ILayoutElement;
+import mx.core.ILayoutElement;
 import mx.layout.LayoutElementFactory;
 import mx.events.PropertyChangeEvent;
 import mx.events.ResizeEvent;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6200
Author:   smgilson@adobe.com
Date:     2009-04-22T20:20:58.294727Z

Log Message:
-----------
Starting ASDoc work on spark effects

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateColor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateShaderTransition.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CallAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/CrossFade.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateFilter.as
+++ frameworks/projects/spark/src/spark/effects/AnimateFilter.as
@@ -24,49 +24,35 @@
 use namespace mx_internal;

 /**
- * This effect applies an IBitmapFilter instance and allows you to animate
- * an arbitrary set of properties of the filter between values, as specified
- * by the motionPaths.
+ *  The AnimateFilter effect applies an mx.filters.IBitmapFilter instance to the target
+ *  and allows you to animate properties of the filter between values.
+ *  Unlike effects that animate properties of the target,
+ *  the AnimateFilter effect animates properties of the filter applied to the target.
+ *
+ *
The filters that you can use with this effect are defined in the spark.filters. package.
+ *  Common filters include the DropShadowFilter, GlowFilter, BlurFilter, and ShaderFilter.

+ *
+ *
To define the properties of the filter to animate, pass an Array of SimpleMotionPath objects
+ *  to the to the motionPath property of the AnimateFilter effect.
+ *  Each SimpleMotionPath object defines a property on the filer,
+ *  the starting value of the property, and the ending value of the property.

+ *
+ *  @mxml
+ *
+ *
The <mx:AnimateFilter> tag
+ *  inherits all of the tag attributes of its superclass,
+ *  and adds the following tag attributes:

+ *
+ *

+ *  <mx:AnimateFilter
+ *    Properties
+ *    id="ID"
+ *    bitmapFilter="no default"
+ *  />
+ *

+ *
+ *  @see spark.effects.supportClasses.AnimateFilterInstance
  *
- * Example usage is as follows:
- * @example AnimateFilter example:
- * <listing version="3.0">
- * <?xml version="1.0" encoding="utf-8"?>
- * <Application xmlns="http://ns.adobe.com/mxml/2009" >
- *
- * <Script>
- * <![CDATA[
- *
- * import mx.effects.*;
- * import spark.filters.DropShadowFilter;
- *
- * // Use AnimateFilter to animate the color, distance, and angle
- * // of a DropShadowFilter.
- *
- * private function doDropShadowFilterSample():void{
- *     var df:DropShadowFilter = new DropShadowFilter();
- *     var anim:AnimateFilter = new AnimateFilter(btn1, df);
- *
- *     anim.motionPaths = [
- *         new SimpleMotionPath("color", 0, 0x0000FF),
- *         new SimpleMotionPath("distance", 0, 10),
- *         new SimpleMotionPath("angle", 270, 360)
- *     ];
- *
- *     anim.repeatCount = 0;
- *     anim.duration = 500;
- *     anim.repeatBehavior = Animation.REVERSE;
- *     anim.play();
- * }
- *
- * ]]>
- * </Script>
- *
- * <Button id="btn1" x="50" y="50" label="Animate a DropShadowFilter" click="doDropShadowFilterSample()" />
- *
- * </Application>
- * </listing>
- *
  *  @langversion 3.0
  *  @playerversion Flash 10
  *  @playerversion AIR 1.5
@@ -84,6 +70,8 @@

     /**
      *  Constructor.
+     *
+     *  @param target The Object to animate with this effect.
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
@@ -109,6 +97,9 @@

     /**
      *  IBitmapFilter instance to apply and animate.
+     *
+     *
The filters that you can use with this effect are defined in the spark.filters. package.
+     *  Common filters include the DropShadowFilter, GlowFilter, BlurFilter, and ShaderFilter.

      *
      *  @langversion 3.0
      *  @playerversion Flash 10


Transferred from the Adobe Open Source Subversion Repository

Revision: 6122
Author:   chaase@adobe.com
Date:     2009-04-10T14:30:17.762458Z

Log Message:
-----------
Various refactorings/renamings/changes from effects PARB review.

QE Notes: mx/effects and spark/effects currently broken (and disabled) due to these API changes. Matt is fixing.
Doc Notes: None
Bugs:
Reviewer: Hans
tests: checkintests, mustella tests/ListDataEffects

Modified Paths:
--------------
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as" copyfrom-rev="5944" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOutBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformMove.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EaseInOut.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/EasingFraction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Power.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/EffectEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/ParallelInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/TweenEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/FadeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Animate.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/RepeatBehavior.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/NumberArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformScale.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Animate3DInstance.as</path>
<path kind="file" copyfrom-path="/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as" copyfrom-rev="5944" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/SimpleMotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateColorInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateShaderTransitionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/Resize.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateFilterInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/easing/Sine.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/Rotate3DInstance.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/events/AnimationEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/interpolation/ArrayInterpolator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/IEffectInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransform.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/RotateInstance.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/animation/IAnimationTarget.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/ResizeInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/MotionPath.as</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimationProperty.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SequenceInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/effects/AnimateTransformRotate.as</path>

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

--- frameworks/projects/spark/src/spark/effects/AnimateFilter.as
+++ frameworks/projects/spark/src/spark/effects/AnimateFilter.as
@@ -26,7 +26,7 @@
 /**
  * This effect applies an IBitmapFilter instance and allows you to animate
  * an arbitrary set of properties of the filter between values, as specified
- * by the animationProperties.
+ * by the motionPaths.
  *
  * Example usage is as follows:
  * @example AnimateFilter example:
@@ -47,10 +47,10 @@
  *     var df:DropShadowFilter = new DropShadowFilter();
  *     var anim:AnimateFilter = new AnimateFilter(btn1, df);
  *
- *     anim.animationProperties = [
- *         new AnimationProperty("color", 0, 0x0000FF),
- *         new AnimationProperty("distance", 0, 10),
- *         new AnimationProperty("angle", 270, 360)
+ *     anim.motionPaths = [
+ *         new SimpleMotionPath("color", 0, 0x0000FF),
+ *         new SimpleMotionPath("distance", 0, 10),
+ *         new SimpleMotionPath("angle", 270, 360)
  *     ];
  *
  *     anim.repeatCount = 0;


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

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

 package mx.olap
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12084
Author:   klin@adobe.com
Date:     2009-11-21T15:29:09.802295Z

Log Message:
-----------
Fix asdoc to fix the build.

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

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccConst.as

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

--- frameworks/projects/framework/src/mx/accessibility/AccConst.as
+++ frameworks/projects/framework/src/mx/accessibility/AccConst.as
@@ -130,7 +130,7 @@
 	 *  to carry out a command, select an option, or display another menu.
 	 *
 	 *
Functionally, a menu item can be equivalent to a push button,
-	 *  radio button, check box, or menu.</pL>
+	 *  radio button, check box, or menu.

 	 */
 	public static const ROLE_SYSTEM_MENUITEM:uint = 0xC;

@@ -650,7 +650,7 @@
 	 *  several hundred names, but only a few are visible to the user.
 	 *  The rest are clipped by the parent
 	 *  and should have STATE_SYSTEM_INVISIBLE set.

-	 *  Objects that are never visible should be set as STATE_SYSTEM_OFFSCREEN.
+	 *
Objects that are never visible should be set as STATE_SYSTEM_OFFSCREEN.
 	 *  Note that an object can be considered visible
 	 *  (that is, the STATE_SYSTEM_INVISIBLE flag is not set)
 	 *  and yet be obscured by another application,


Transferred from the Adobe Open Source Subversion Repository

Revision: 9206
Author:   dloverin@adobe.com
Date:     2009-08-10T18:39:33.826984Z

Log Message:
-----------
Merge 3.4 changes 9109, 8949.

Also fixed a bug in the generated code for IFlexModuleFactory.allowInsecureDomain() and cleanup up SystemManager by removing unused variables rslSizes and lastSystemManager.

QE notes: None.
Doc notes: None.
Bugs: SDK-16050, SDK-22556
Reviewer:
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<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/core/IFlexModuleFactory.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/modules/compiler/src/java/flex2/tools/CompcPreLink.java</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/frameworks/projects/framework/src/mx/events/RSLEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
@@ -21,6 +21,7 @@
 import flash.system.ApplicationDomain;
 import flash.text.TextField;
 import flash.text.TextFieldAutoSize;
+import flash.utils.Dictionary;
 import flash.utils.Timer;
 import flash.utils.getDefinitionByName;
 import mx.core.RSLItem;
@@ -205,11 +206,34 @@

 	//--------------------------------------------------------------------------
 	//
-	//  Methods: IFlexModuleFactory
-	//
-	//--------------------------------------------------------------------------
-
-  	/**
+	//  Properties: IFlexModuleFactory
+	//
+	//--------------------------------------------------------------------------
+
+    //----------------------------------
+    //  preloadedRSLs
+    //----------------------------------
+
+    /**
+     *  The RSLs loaded by this FlexModuleFactory before the application
+     *  starts. RSLs loaded by the application are not included in this list.
+     *
+     *  Information about preloadedRSLs is stored in a Dictionary. The key is
+     *  the RSL's LoaderInfo. The value is the url the RSL was loaded from.
+     */
+    public function  get preloadedRSLs():Dictionary
+    {
+        // Overriden by compiler generate code.
+        return null;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods: IFlexModuleFactory
+    //
+    //--------------------------------------------------------------------------
+
+    /**
    	 *  @private
 	 *  This method is overridden in the autogenerated subclass.
    	 */
@@ -238,7 +262,27 @@
         return {};
     }

-	//--------------------------------------------------------------------------
+    /**
+     *  Calls Security.allowDomain() for the SWF associated with this FlexModuleFactory.
+     *  plus all the SWFs assocatiated with RSLs preloaded by this FlexModuleFactory.
+     *
+     */
+    public function allowDomain(... domains):void
+    {
+        // Overridden by compiler generated code.
+    }
+
+    /**
+     *  Calls Security.allowInsecureDomain() for the SWF associated with this FlexModuleFactory
+     *  plus all the SWFs assocatiated with RSLs preloaded by this FlexModuleFactory.
+     *
+     */
+    public function allowInsecureDomain(... domains):void
+    {
+        // Overridden by compiler generated code.
+    }
+
+    //--------------------------------------------------------------------------
 	//
 	//  Methods
 	//
@@ -522,6 +566,8 @@
 	 */
     private function rslCompleteHandler(event:Event):void
     {
+        var rsl:RSLItem = rslListLoader.getItem(rslListLoader.getIndex());
+        preloadedRSLs[event.target] = rsl.urlRequest.url;
         update();
     }


Transferred from the Adobe Open Source Subversion Repository

Revision: 6324
Author:   cframpto@adobe.com
Date:     2009-04-28T15:20:11.363586Z

Log Message:
-----------
Integrate Vellum Build 420.

import flashx.textLayout.elements.ITextCreator -> flashx.textLayout.compose.ITextCreator
StringTextLineFactory.defaultFactoryConfiguration -> defaultConfiguration
textLineCreator property added to TextLineFactoryBase and arg removed from createTextLines
factory.bounds -> factory.compositionBounds
factory.measuredBounds -> factory.contentBounds

QE Notes:
Doc Notes:
Bugs:
Reviewers: will be Gordon

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swz</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/libs/textLayout.swc</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/frameworks/projects/flex4/src/spark/primitives/RichText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/RichText2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/textLayout.swf</path>
<path kind="file" action="M">/flex/sdk/trunk/in/tlf/tlf.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/SimpleText.as</path>

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

--- frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
+++ frameworks/projects/framework/src/mx/core/FlexModuleFactory.as
@@ -25,7 +25,7 @@
 import flash.text.engine.TextLine;
 import flash.utils.Timer;
 import flash.utils.getDefinitionByName;
-import flashx.textLayout.elements.ITextLineCreator;
+import flashx.textLayout.compose.ITextLineCreator;
 import mx.core.RSLItem;
 import mx.core.RSLListLoader;
 import mx.events.ModuleEvent;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10336
Author:   aharui@adobe.com
Date:     2009-09-17T01:03:24.093052Z

Log Message:
-----------
Block the player from every handling focus.  Deal with focused item becoming invisible

QE Notes: None
Doc Notes: None
Bugs: SDK-17716, SDK-23201
Reviewer: Corey
API Change: No
Is noteworthy for integration: No
tests: checkintests mustella/FocusManager

Modified Paths:
--------------
<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/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>

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

--- frameworks/projects/framework/src/mx/managers/SystemManager.as
+++ frameworks/projects/framework/src/mx/managers/SystemManager.as
@@ -3093,12 +3093,12 @@

     /**
-         *  Go up the parent chain to get the top level system manager.
-	 *
-         *  Returns null if not on the display list or we don't have
-         *  access to the top-level system manager.
-         *
-         *  @return The root system manager.
+     *  Go up the parent chain to get the top level system manager.
+     *
+     *  Returns null if not on the display list or we don't have
+     *  access to the top-level system manager.
+     *
+     *  @return The root system manager.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9
@@ -3115,7 +3115,7 @@
 			if (sm.topLevelSystemManager)
 				sm = sm.topLevelSystemManager;
 			var parent:DisplayObject = DisplayObject(sm).parent;
-			var lastParent:DisplayObject = parent;
+            var lastParent:DisplayObject = DisplayObject(sm);
 			while (parent)
 			{
 				if (parent is Stage)
@@ -3132,10 +3132,10 @@
 	}

 	/**
-         *  Go up the parent chain to get the top level system manager in this
-         *  SecurityDomain.
+     *  Go up the parent chain to get the top level system manager in this
+     *  SecurityDomain.
 	 *
-         *  @return The root system manager in this SecurityDomain.
+     *  @return The root system manager in this SecurityDomain.
      *
      *  @langversion 3.0
      *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/framework/src/mx/states/SetEventHandler.as
+++ frameworks/projects/framework/src/mx/states/SetEventHandler.as
@@ -0,0 +1,271 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.states
+{
+
+import flash.events.EventDispatcher;
+import flash.utils.Dictionary;
+import mx.core.ComponentDescriptor;
+import mx.core.UIComponent;
+
+/**
+ *  The event handler function to execute in response to the event that is
+ *  specified by the name property.
+ *
+ *
Do not specify the handler property and the handlerFunction
+ *  property in a single <mx:SetEventHandler> tag.

+ *
+ *
Flex does not dispatch a handler event.
+ *  You use the handler key word only as an MXML attribte.
+ *  When you use the handler handler attribute, you can specify a
+ *  method that takes multiple parameters, not just the Event object;
+ *  also, you can specify the handler code in-line in the MXML tag.

+ */
+[Event(name="handler", type="Object")]
+
+/**
+ *  The SetEventHandler class specifies an event handler that is active
+ *  only during a particular view state.
+ *  For example, you might define a Button control that uses one event handler
+ *  in the base view state, but uses a different event handler when you change view state.
+ *
+ *
 You use this class in the overrides property of the State class.

+ *
+ *  @mxml
+ *
+ *
The <mx:SetEventHanlder> tag
+ *  has the following attributes:

+ *
+ *

+ *  <mx:SetEventHandler
+ *  Properties
+ *  name="null"
+ *  handlerFunction="null"
+ *  target="null"
+ *
+ *  Events
+ *  handler=No default
+ *  />
+ *

+ *
+ *  @see mx.states.State
+ *  @see mx.states.SetProperty
+ *  @see mx.states.SetStyle
+ */
+public class SetEventHandler extends EventDispatcher implements IOverride
+{
+	include "../core/Version.as";
+
+    //--------------------------------------------------------------------------
+    //
+    //  Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructor.
+	 *
+	 *  @param target The object that dispatches the event to be handled.
+	 *  By default, Flex uses the immediate parent of the State object.
+	 *
+	 *  @param event The event type for which to set the handler.
+     */
+	public function SetEventHandler(
+			target:EventDispatcher = null,
+			name:String = null)
+	{
+		super();
+
+		this.target = target;
+		this.name = name;
+	}
+
+	//--------------------------------------------------------------------------
+	//
+	//  Variables
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 *  Storage for the old event handler value.
+	 */
+	private var oldHandlerFunction:Function;
+
+	/**
+	 *  @private
+	 *	Dictionary of installed event handlers.
+	 */
+	private static var installedHandlers:Dictionary;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Properties
+    //
+    //--------------------------------------------------------------------------
+
+    //----------------------------------
+	//  name
+    //----------------------------------
+
+	[Inspectable(category="General")]
+
+	/**
+     *  The name of the event whose handler is being set.
+	 *  You must set this property, either in
+	 *  the SetEventHandler constructor or by setting
+	 *  the property value directly.
+	 */
+	public var name:String;
+
+	/**
+	 *  The handler function for the event.
+	 *  This property is intended for developers who use ActionScript to
+	 *  create and access view states.
+	 *  In MXML, you can use the equivalent handler
+	 *  event attribute; do not use both in a single MXML tag.
+	 *
+	 *  @default null
+	 */
+	public var handlerFunction:Function;
+
+    //----------------------------------
+	//  target
+    //----------------------------------
+
+	[Inspectable(category="General")]
+
+    /**
+     *  The component that dispatches the event.
+	 *  If the property value is null, Flex uses the
+     *  immediate parent of the <mx:states> tag.
+     *
+	 *  @default null
+     */
+	public var target:EventDispatcher;
+
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: EventDispatcher
+    //
+    //--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	override public function addEventListener(
+									type:String, listener:Function,
+									useCapture:Boolean = false,
+									priority:int = 0,
+									useWeakReference:Boolean = false):void
+	{
+		if (type == "handler")
+			handlerFunction = listener;
+
+		super.addEventListener(type, listener, useCapture,
+							   priority, useWeakReference);
+	}
+
+    //--------------------------------------------------------------------------
+    //
+    //  Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  IOverride interface method; this class implements it as an empty method.
+	 *
+	 *  @copy IOverride#initialize()
+     */
+    public function initialize():void
+    {
+    }
+
+    /**
+     *  @inheritDoc
+     */
+	public function apply(parent:UIComponent):void
+	{
+		var obj:EventDispatcher = target ? target : parent;
+		var uiObj:UIComponent = obj as UIComponent;
+
+		if (!installedHandlers)
+			installedHandlers = new Dictionary(true);
+
+		// Remember the current handler so it can be restored
+		if (installedHandlers[obj] && installedHandlers[obj][name])
+		{
+			oldHandlerFunction = installedHandlers[obj][name];
+			obj.removeEventListener(name, oldHandlerFunction);
+		}
+		else if (uiObj && uiObj.descriptor)
+		{
+			var descriptor:ComponentDescriptor = uiObj.descriptor;
+
+			if (descriptor.events && descriptor.events[name])
+			{
+				oldHandlerFunction = uiObj.document[descriptor.events[name]];
+				obj.removeEventListener(name, oldHandlerFunction);
+			}
+		}
+
+		// Set new handler as weak reference
+		if (handlerFunction != null)
+		{
+			obj.addEventListener(name, handlerFunction, false, 0, true);
+
+			// Add this handler to our installedHandlers list so it can
+			// be removed if needed by a state based on this state.
+			if (installedHandlers[obj] == undefined)
+				installedHandlers[obj] = {};
+
+			installedHandlers[obj][name] = handlerFunction;
+		}
+	}
+
+	/**
+     *  @inheritDoc
+	 */
+	public function remove(parent:UIComponent):void
+	{
+		var obj:EventDispatcher = target ? target : parent;
+
+		if (handlerFunction != null)
+			obj.removeEventListener(name, handlerFunction);
+
+		// Restore the old value
+		if (oldHandlerFunction != null)
+			obj.addEventListener(name, oldHandlerFunction, false, 0, true);
+
+		if (installedHandlers[obj])
+		{
+			var deleteObj:Boolean = true;
+
+			// Remove this handler
+			delete installedHandlers[obj][name];
+
+			// If no other handlers are installed for this object, delete
+			// this object from the installedHandlers dictionary
+			for (var i:String in installedHandlers[obj])
+			{
+				// Found one - don't delete this object
+				deleteObj = false;
+				break;
+			}
+
+			if (deleteObj)
+				delete installedHandlers[obj];
+		}
+	}
+}
+
+}


Transferred from the Adobe Open Source Subversion Repository

Revision: 14095
Author:   cframpto@adobe.com
Date:     2010-02-10T17:33:30.511669Z

Log Message:
-----------
Merge 14076 from 4.x branch to trunk.

Revision: 14076
Author:   cframpto@adobe.com
Date:     2010-02-09 15:23:15 -0800 (Tue, 09 Feb 2010)
Log Message:
***********
Add UIComponent.mapKeycodeForLayoutDirection().  This should be called by any keyDownHandlers() which handles Keyboard.LEFT and Keyboard.RIGHT, and optionally for Keyboard.UP and Keyboard.DOWN, if they behave like Keyboard.LEFT and Keyboard.RIGHT.  If the layoutDirection="rtl", it maps LEFT to RIGHT, RIGHT to LEFT, UP to RIGHT and DOWN to LEFT.  This allows the keyDownHandler() to perform the correct action without adding lots of special case code to the key handling code.

QE notes: For layoutDirection="rtl" need to test LEFT, RIGHT, UP and DOWN keys.
Doc notes: None
Bugs: SDK-25330
Reviewed By: Hans
Tests run: checkintests
Is noteworthy for integration: No

Ticket Links:
***********
    http://bugs.adobe.com/jira/browse/SDK-25330

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk/frameworks</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/spark/src/spark/components/RadioButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/HScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/colorPickerClasses/SwatchPanel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SliderBase.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/spark/src/spark/components/Spinner.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/SliderThumb.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Scroller.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ButtonBarBase.as</path>

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

--- frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
+++ frameworks/projects/mx/src/mx/controls/listClasses/TileBase.as
@@ -2539,12 +2539,16 @@

         if (!collection) return;

-        switch (event.keyCode)
+        // If rtl layout, need to swap LEFT for RIGHT so correct action
+        // is done.
+        var keyCode:int = mapKeycodeForLayoutDirection(event);
+
+        switch (keyCode)
         {
             case Keyboard.UP:
             case Keyboard.DOWN:
             {
-                moveSelectionVertically(event.keyCode,
+                moveSelectionVertically(keyCode,
                                         event.shiftKey,
                                         event.ctrlKey);
                 event.stopPropagation();
@@ -2554,7 +2558,7 @@
             case Keyboard.LEFT:
             case Keyboard.RIGHT:
             {
-                moveSelectionHorizontally(event.keyCode,
+                moveSelectionHorizontally(keyCode,
                                           event.shiftKey,
                                           event.ctrlKey);
                 event.stopPropagation();
@@ -2568,13 +2572,13 @@
             {
                 if (direction == TileBaseDirection.VERTICAL)
                 {
-                    moveSelectionHorizontally(event.keyCode,
+                    moveSelectionHorizontally(keyCode,
                                               event.shiftKey,
                                               event.ctrlKey);
                 }
                 else
                 {
-                    moveSelectionVertically(event.keyCode,
+                    moveSelectionVertically(keyCode,
                                             event.shiftKey,
                                             event.ctrlKey);
                 }
@@ -2597,7 +2601,7 @@

             default:
             {
-                if (findKey(event.keyCode))
+                if (findKey(keyCode))
                     event.stopPropagation();
             }
         }


Transferred from the Adobe Open Source Subversion Repository

Revision: 5099
Author:   gauravj@adobe.com
Date:     2009-02-27T03:43:02.639229Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

Modified Paths:
--------------
147 paths were modified

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

--- frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as
+++ frameworks/projects/rpc/src/mx/rpc/http/SerializationFilter.as
@@ -41,6 +41,11 @@
  * Note that HTTPService only provides methods which directly take the request body
  * and so does not use the "serializeParameters" method.
  * </p>
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class SerializationFilter
 {
@@ -57,6 +62,11 @@
      * @param resultFormat A custom resultFormat name to be associated with the supplied
      * SerializationFilter.
      * @param filter The SerializationFilter to register.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public static function registerFilterForResultFormat(resultFormat:String, filter:SerializationFilter):SerializationFilter
     {
@@ -83,6 +93,11 @@
      * @param result the raw result as returned from the server.
      * @return the converted result which will then be supplied in the result event
      * for the service.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function deserializeResult(operation:AbstractOperation, result:Object):Object
     {
@@ -102,6 +117,11 @@
      * @param obj the body of the HTTP request being serialized
      * @param contentType the contentType configured for the operation
      * @return the content type to use for this HTTP request.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function getRequestContentType(operation:AbstractOperation, obj:Object, contentType:String):String
     {
@@ -124,6 +144,11 @@
      * @param operation The AbstractOperation being invoked.
      * @param params the list of parameters passed to the send method
      * @return the body to be used in the HTTP request
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function serializeParameters(operation:AbstractOperation, params:Array):Object
     {
@@ -152,6 +177,11 @@
      * @param obj the initial body of the HTTP request, either the return value of serializeParameters or the parameter to the sendBody method
      * or the send method of HTTPService.
      * @return the potentially converted body to use in the request.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function serializeBody(operation:AbstractOperation, obj:Object):Object
     {
@@ -166,6 +196,11 @@
      * @param operation The AbstractOperation being invoked
      * @param url the URL set on the service or operation
      * @return the potentially modified URL to use for this request.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function serializeURL(operation:AbstractOperation, obj:Object, url:String):String
     {


fix VertexStream::fromVector() to use forceReadUsage = true when calling VertexStream.updateMinMax() to avoid stream usage error

--- src/aerys/minko/render/geometry/stream/VertexStream.as
+++ src/aerys/minko/render/geometry/stream/VertexStream.as
@@ -627,7 +627,9 @@
 			return stream;
 		}

-		public static function fromVector(usage : uint, format : VertexFormat, data : Vector.<Number>) : VertexStream
+		public static function fromVector(usage 	: uint,
+										  format 	: VertexFormat,
+										  data 		: Vector.<Number>) : VertexStream
 		{
 			var numValues 	: uint 			= data.length;
 			var stream		: VertexStream	= new VertexStream(usage, format);
@@ -637,7 +639,7 @@
 				bytes.writeFloat(data[i]);

 			bytes.position = 0;
-			stream.updateMinMax();
+			stream.updateMinMax(true);

 			return stream;
 		}


Corrected generated file

Corrected generated file

git-svn-id: 27326a786375daad9d33dc990c6f272e4c8f567c@166 fda5f131-174c-0410-8613-e0905860106b

--- OpenWMS-common/trunk/client/flex/as3/org/openwms/common/domain/LocationBase.as
+++ OpenWMS-common/trunk/client/flex/as3/org/openwms/common/domain/LocationBase.as
@@ -7,29 +7,13 @@

 package org.openwms.common.domain {

-    import flash.events.EventDispatcher;
     import flash.utils.IDataInput;
     import flash.utils.IDataOutput;
     import flash.utils.IExternalizable;
-    import flash.utils.getQualifiedClassName;
     import mx.collections.ListCollectionView;
-    import mx.core.IUID;
-    import mx.utils.UIDUtil;
-    import org.granite.collections.IPersistentCollection;
-    import org.granite.meta;
-    import org.granite.tide.IEntity;
-    import org.granite.tide.IEntityManager;
-    import org.granite.tide.IPropertyHolder;

-    use namespace meta;
-
-    [Managed]
-    public class LocationBase implements IExternalizable, IUID {
-
-        protected var _em:IEntityManager = null;
-
-        private var __initialized:Boolean = true;
-        private var __detachedState:String = null;
+    [Bindable]
+    public class LocationBase implements IExternalizable {

         private var _checkState:String;
         private var _consideredInAllocation:Boolean;
@@ -48,25 +32,6 @@
         private var _outgoingActive:Boolean;
         private var _plcState:int;
         private var _version:Number;
-
-        meta function isInitialized(name:String = null):Boolean {
-            if (!name)
-                return __initialized;
-
-            var property:* = this[name];
-            return (
-                (!(property is Location) || (property as Location).meta::isInitialized()) &&
-                (!(property is IPersistentCollection) || (property as IPersistentCollection).isInitialized())
-            );
-        }
-
-        [Transient]
-        public function meta_getEntityManager():IEntityManager {
-            return _em;
-        }
-        public function meta_setEntityManager(em:IEntityManager):void {
-            _em = em;
-        }

         public function set checkState(value:String):void {
             _checkState = value;
@@ -171,101 +136,48 @@
             return _plcState;
         }

-        [Version]
         public function get version():Number {
             return _version;
         }

-        public function set uid(value:String):void {
-            // noop...
-        }
-        public function get uid():String {
-        	if (isNaN(_id))
-        		return UIDUtil.createUID();
-        	return getQualifiedClassName(this) + "#[" + String(_id) + "]";
-
-        }
-
-        public function meta_merge(em:IEntityManager, obj:*):void {
-            var src:LocationBase = LocationBase(obj);
-            __initialized = src.__initialized;
-            __detachedState = src.__detachedState;
-            if (meta::isInitialized()) {
-               em.meta_mergeExternal(src._checkState, _checkState, null, this, 'checkState', function setter(o:*):void{_checkState = o as String});
-               em.meta_mergeExternal(src._consideredInAllocation, _consideredInAllocation, null, this, 'consideredInAllocation', function setter(o:*):void{_consideredInAllocation = o as Boolean});
-               em.meta_mergeExternal(src._countingActive, _countingActive, null, this, 'countingActive', function setter(o:*):void{_countingActive = o as Boolean});
-               em.meta_mergeExternal(src._description, _description, null, this, 'description', function setter(o:*):void{_description = o as String});
-               em.meta_mergeExternal(src._id, _id, null, this, 'id', function setter(o:*):void{_id = o as Number});
-               em.meta_mergeExternal(src._incomingActive, _incomingActive, null, this, 'incomingActive', function setter(o:*):void{_incomingActive = o as Boolean});
-               em.meta_mergeExternal(src._lastAccess, _lastAccess, null, this, 'lastAccess', function setter(o:*):void{_lastAccess = o as Date});
-               em.meta_mergeExternal(src._locationGroup, _locationGroup, null, this, 'locationGroup', function setter(o:*):void{_locationGroup = o as LocationGroup});
-               em.meta_mergeExternal(src._locationGroupCountingActive, _locationGroupCountingActive, null, this, 'locationGroupCountingActive', function setter(o:*):void{_locationGroupCountingActive = o as Boolean});
-               em.meta_mergeExternal(src._locationId, _locationId, null, this, 'locationId', function setter(o:*):void{_locationId = o as LocationPK});
-               em.meta_mergeExternal(src._locationType, _locationType, null, this, 'locationType', function setter(o:*):void{_locationType = o as LocationType});
-               em.meta_mergeExternal(src._maximumWeight, _maximumWeight, null, this, 'maximumWeight', function setter(o:*):void{_maximumWeight = o as Number});
-               em.meta_mergeExternal(src._messages, _messages, null, this, 'messages', function setter(o:*):void{_messages = o as ListCollectionView});
-               em.meta_mergeExternal(src._noMaxTransportUnits, _noMaxTransportUnits, null, this, 'noMaxTransportUnits', function setter(o:*):void{_noMaxTransportUnits = o as int});
-               em.meta_mergeExternal(src._outgoingActive, _outgoingActive, null, this, 'outgoingActive', function setter(o:*):void{_outgoingActive = o as Boolean});
-               em.meta_mergeExternal(src._plcState, _plcState, null, this, 'plcState', function setter(o:*):void{_plcState = o as int});
-               em.meta_mergeExternal(src._version, _version, null, this, 'version', function setter(o:*):void{_version = o as Number});
-            }
-            else {
-               em.meta_mergeExternal(src._id, _id, null, this, 'id', function setter(o:*):void{_id = o as Number});
-            }
-        }
-
         public function readExternal(input:IDataInput):void {
-            __initialized = input.readObject() as Boolean;
-            __detachedState = input.readObject() as String;
-            if (meta::isInitialized()) {
-                _checkState = input.readObject() as String;
-                _consideredInAllocation = input.readObject() as Boolean;
-                _countingActive = input.readObject() as Boolean;
-                _description = input.readObject() as String;
-                _id = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
-                _incomingActive = input.readObject() as Boolean;
-                _lastAccess = input.readObject() as Date;
-                _locationGroup = input.readObject() as LocationGroup;
-                _locationGroupCountingActive = input.readObject() as Boolean;
-                _locationId = input.readObject() as LocationPK;
-                _locationType = input.readObject() as LocationType;
-                _maximumWeight = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
-                _messages = input.readObject() as ListCollectionView;
-                _noMaxTransportUnits = input.readObject() as int;
-                _outgoingActive = input.readObject() as Boolean;
-                _plcState = input.readObject() as int;
-                _version = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
-            }
-            else {
-                _id = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
-            }
+            _checkState = input.readObject() as String;
+            _consideredInAllocation = input.readObject() as Boolean;
+            _countingActive = input.readObject() as Boolean;
+            _description = input.readObject() as String;
+            _id = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
+            _incomingActive = input.readObject() as Boolean;
+            _lastAccess = input.readObject() as Date;
+            _locationGroup = input.readObject() as LocationGroup;
+            _locationGroupCountingActive = input.readObject() as Boolean;
+            _locationId = input.readObject() as LocationPK;
+            _locationType = input.readObject() as LocationType;
+            _maximumWeight = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
+            _messages = input.readObject() as ListCollectionView;
+            _noMaxTransportUnits = input.readObject() as int;
+            _outgoingActive = input.readObject() as Boolean;
+            _plcState = input.readObject() as int;
+            _version = function(o:*):Number { return (o is Number ? o as Number : Number.NaN) } (input.readObject());
         }

         public function writeExternal(output:IDataOutput):void {
-            output.writeObject(__initialized);
-            output.writeObject(__detachedState);
-            if (meta::isInitialized()) {
-                output.writeObject((_checkState is IPropertyHolder) ? IPropertyHolder(_checkState).object : _checkState);
-                output.writeObject((_consideredInAllocation is IPropertyHolder) ? IPropertyHolder(_consideredInAllocation).object : _consideredInAllocation);
-                output.writeObject((_countingActive is IPropertyHolder) ? IPropertyHolder(_countingActive).object : _countingActive);
-                output.writeObject((_description is IPropertyHolder) ? IPropertyHolder(_description).object : _description);
-                output.writeObject((_id is IPropertyHolder) ? IPropertyHolder(_id).object : _id);
-                output.writeObject((_incomingActive is IPropertyHolder) ? IPropertyHolder(_incomingActive).object : _incomingActive);
-                output.writeObject((_lastAccess is IPropertyHolder) ? IPropertyHolder(_lastAccess).object : _lastAccess);
-                output.writeObject((_locationGroup is IPropertyHolder) ? IPropertyHolder(_locationGroup).object : _locationGroup);
-                output.writeObject((_locationGroupCountingActive is IPropertyHolder) ? IPropertyHolder(_locationGroupCountingActive).object : _locationGroupCountingActive);
-                output.writeObject((_locationId is IPropertyHolder) ? IPropertyHolder(_locationId).object : _locationId);
-                output.writeObject((_locationType is IPropertyHolder) ? IPropertyHolder(_locationType).object : _locationType);
-                output.writeObject((_maximumWeight is IPropertyHolder) ? IPropertyHolder(_maximumWeight).object : _maximumWeight);
-                output.writeObject((_messages is IPropertyHolder) ? IPropertyHolder(_messages).object : _messages);
-                output.writeObject((_noMaxTransportUnits is IPropertyHolder) ? IPropertyHolder(_noMaxTransportUnits).object : _noMaxTransportUnits);
-                output.writeObject((_outgoingActive is IPropertyHolder) ? IPropertyHolder(_outgoingActive).object : _outgoingActive);
-                output.writeObject((_plcState is IPropertyHolder) ? IPropertyHolder(_plcState).object : _plcState);
-                output.writeObject((_version is IPropertyHolder) ? IPropertyHolder(_version).object : _version);
-            }
-            else {
-                output.writeObject(_id);
-            }
+            output.writeObject(_checkState);
+            output.writeObject(_consideredInAllocation);
+            output.writeObject(_countingActive);
+            output.writeObject(_description);
+            output.writeObject(_id);
+            output.writeObject(_incomingActive);
+            output.writeObject(_lastAccess);
+            output.writeObject(_locationGroup);
+            output.writeObject(_locationGroupCountingActive);
+            output.writeObject(_locationId);
+            output.writeObject(_locationType);
+            output.writeObject(_maximumWeight);
+            output.writeObject(_messages);
+            output.writeObject(_noMaxTransportUnits);
+            output.writeObject(_outgoingActive);
+            output.writeObject(_plcState);
+            output.writeObject(_version);
         }
     }
-}
+}


add missing execution of VertexStreamList.changed in VertexStreamList.pushVertexStream()

--- src/aerys/minko/render/geometry/stream/VertexStreamList.as
+++ src/aerys/minko/render/geometry/stream/VertexStreamList.as
@@ -67,7 +67,8 @@
 			return vertexStreamList;
 		}

-		public function pushVertexStream(vertexStream : VertexStream, force : Boolean = false) : void
+		public function pushVertexStream(vertexStream   : VertexStream,
+                                         force          : Boolean = false) : void
 		{
 			if (numVertices && vertexStream.numVertices != numVertices)
 				throw new Error('All streams must have the same total number of vertices.');
@@ -78,6 +79,8 @@

 			vertexStream.changed.add(subStreamChangedHandler);
 			vertexStream.boundsChanged.add(subStreamBoundsChangedHandler);
+
+            _changed.execute(this);
 		}

 		public function getSubStreamById(id : int) : VertexStream


remove useless imports

remove useless imports

--- src/aerys/minko/render/material/realistic/RealisticMaterial.as
+++ src/aerys/minko/render/material/realistic/RealisticMaterial.as
@@ -5,10 +5,7 @@
 	import aerys.minko.render.material.phong.PhongEffect;
 	import aerys.minko.render.material.phong.PhongMaterial;
 	import aerys.minko.render.resource.texture.ITextureResource;
-	import aerys.minko.scene.node.Scene;
 	import aerys.minko.type.binding.IDataProvider;
-
-	import flash.utils.Dictionary;

 	public class RealisticMaterial extends PhongMaterial
 	{


update example

update example

--- src/gaforflash_example.as
+++ src/gaforflash_example.as
@@ -35,7 +35,8 @@
     public class gaforflash_example extends Sprite
     {
         /* You need to define a valid GA ID here */
-        private const GA_ID:String = "UA-111-222";
+        //private const GA_ID:String = "UA-111-222";
+        private const GA_ID:String = "UA-94526-19";

         public var tracker:AnalyticsTracker;

@@ -102,7 +103,7 @@
                and once the GATracker build
                the cached functions will run in batch
             */
-            tracker.trackPageview( "/before/setup" );
+            //tracker.trackPageview( "/before/setup" );

             _gasetup();


allow override of destination in ConstantBinding as well

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/ConstantBinding.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/binding/ConstantBinding.as
@@ -81,7 +81,7 @@
          *  @playerversion AIR 2.6
          *  @productversion FlexJS 0.0
          */
-        protected var destination:Object;
+        public var destination:Object;

         /**
          *  If not null, the id of the mxml tag who's property
@@ -126,7 +126,9 @@
          */
 		public function set strand(value:IStrand):void
 		{
-			destination = value;
+            if (destination == null)
+                destination = value;
+
 			source = document[sourceID];
 			destination[destinationPropertyName] = source[sourcePropertyName];
 		}


use host

use host

--- frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as
+++ frameworks/as/projects/FlexJSUI/src/org/apache/flex/html/beads/TextAreaView.as
@@ -141,7 +141,7 @@
 			vsbm.value = 0;
 			vsb.model = vsbm;
 			vsb.width = 16;
-            IParent(strand).addElement(vsb);
+            IParent(host).addElement(vsb);

 			vsb.addEventListener("scroll", scrollHandler);

@@ -162,13 +162,13 @@

 		private function sizeChangedHandler(event:Event):void
 		{
-			var ww:Number = DisplayObject(strand).width - DisplayObject(vScrollBar).width;
+			var ww:Number = DisplayObject(host).width - DisplayObject(vScrollBar).width;
 			if( !isNaN(ww) && ww > 0 ) {
 				textField.width = ww;
 				_border.width = ww;
 			}

-			var hh:Number = DisplayObject(strand).height;
+			var hh:Number = DisplayObject(host).height;
 			if( !isNaN(hh) && hh > 0 ) {
 				textField.height = hh;
 				_border.height = hh;


Transferred from the Adobe Open Source Subversion Repository

Revision: 5097
Author:   gauravj@adobe.com
Date:     2009-02-27T02:06:23.424936Z

Log Message:
-----------
Update action script files with asdoc version tags.

QE Notes: None.
Doc Notes: Please review and update as necessary.
tests: checkintests

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/controls/fileSystemClasses/FileSystemTreeDataDescriptor.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/controls/FileSystemHistoryButton.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/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flash-integration/src/mx/flash/FlexContentHolder.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/flash-integration/src/mx/flash/ContainerMovieClip.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/controls/FileSystemList.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/StatusBar.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/events/WindowExistenceEvent.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/ApplicationTitleBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/fileSystemClasses/FileSystemControlHelper.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/managers/NativeDragManagerImpl.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/managers/WindowedSystemRawChildrenList.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/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/core/IWindow.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/managers/WindowedSystemManager.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/skins/halo/WindowBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/core/windowClasses/TitleBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/WindowedSystemChildrenList.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/controls/FlexNativeMenu.as</path>

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

--- frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as
+++ frameworks/projects/airframework/src/mx/skins/halo/WindowMinimizeButtonSkin.as
@@ -22,6 +22,10 @@
  *  The skin for the minimize button in the TitleBar
  *  of a WindowedApplication or Window.
  *
+ *
+ *  @langversion 3.0
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class WindowMinimizeButtonSkin extends UIComponent
 {
@@ -65,6 +69,10 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function WindowMinimizeButtonSkin()
     {


http://www.igniterealtime.org/issues/browse/XIFF-63

git-svn-id: c197267f952b24206666de142881703007ca05d5@11315 b35dd754-fafc-0310-a699-88a17e54d16e

--- src/org/igniterealtime/xiff/collections/ArrayCollection.as
+++ src/org/igniterealtime/xiff/collections/ArrayCollection.as
@@ -1,6 +1,10 @@
 package org.igniterealtime.xiff.collections
 {
+	import flash.events.Event;
 	import flash.events.EventDispatcher;
+	import flash.events.IEventDispatcher;
+	import flash.utils.Proxy;
+	import flash.utils.flash_proxy;

 	import org.igniterealtime.xiff.collections.events.CollectionEvent;
 	import org.igniterealtime.xiff.collections.events.CollectionEventKind;
@@ -9,10 +13,12 @@
 	 * The ArrayCollection class is a wrapper class that exposes an Array as a
 	 * collection that can be accessed and manipulated using collection methods.
 	 */
-	public class ArrayCollection extends EventDispatcher
+	public class ArrayCollection extends Proxy implements IEventDispatcher
 	{
 		protected const OUT_OF_BOUNDS_MESSAGE:String = "The supplied index is out of bounds.";

+		protected var eventDispatcher:EventDispatcher;
+
 		protected var _source:Array = [];

 		/**
@@ -21,6 +27,8 @@
 		public function ArrayCollection( source:Array = null )
 		{
 			super();
+
+			eventDispatcher = new EventDispatcher( this );

 			if (source)
 			{
@@ -202,15 +210,15 @@
 		/**
 		 * Pretty prints the contents of the ArrayCollection to a string and returns it.
 		 */
-		override public function toString():String
-		{
-			if ( _source )
+		public function toString():String
+		{
+			if( _source )
 			{
 				return _source.toString();
 			}
 			else
 			{
-				return super.toString();
+				return "";
 			}
 		}

@@ -226,5 +234,191 @@
 			dispatchEvent( event );
 		}

+		//--------------------------------------------------------------------------
+		//
+		// Proxy methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 *  @private
+		 *  Attempts to call getItemAt(), converting the property name into an int.
+		 */
+		override flash_proxy function getProperty( name:* ):*
+		{
+			if( name is QName )
+				name = name.localName;
+
+			var index:int = -1;
+
+			try
+			{
+				// If caller passed in a number such as 5.5, it will be floored.
+				var n:Number = parseInt( String( name ) );
+
+				if( !isNaN( n ) )
+					index = int( n );
+			}
+			catch( e:Error ) // localName was not a number
+			{
+			}
+
+			if( index == -1 )
+			{
+				var message:String = "Unknown Property: " + name + ".";
+				throw new Error( message );
+			}
+			else
+			{
+				return getItemAt( index );
+			}
+		}
+
+		/**
+		 *  @private
+		 *  Attempts to call setItemAt(), converting the property name into an int.
+		 */
+		override flash_proxy function setProperty( name:*, value:* ):void
+		{
+			if( name is QName )
+				name = name.localName;
+
+			var index:int = -1;
+
+			try
+			{
+				// If caller passed in a number such as 5.5, it will be floored.
+				var n:Number = parseInt( String( name ) );
+
+				if( !isNaN( n ) )
+					index = int( n );
+			}
+			catch( e:Error ) // localName was not a number
+			{
+			}
+
+			if( index == -1 )
+			{
+				var message:String = "Unknown Property: " + name + ".";
+				throw new Error( message );
+			}
+			else
+			{
+				setItemAt( value, index );
+			}
+		}
+
+		/**
+		 *  @private
+		 *  This is an internal function.
+		 *  The VM will call this method for code like <code>"foo" in bar</code>
+		 *
+		 *  @param name The property name that should be tested for existence.
+		 */
+		override flash_proxy function hasProperty( name:* ):Boolean
+		{
+			if( name is QName )
+				name = name.localName;
+
+			var index:int = -1;
+
+			try
+			{
+				// If caller passed in a number such as 5.5, it will be floored.
+				var n:Number = parseInt( String( name ) );
+
+				if( !isNaN( n ) )
+					index = int( n );
+			}
+			catch( e:Error ) // localName was not a number
+			{
+			}
+
+			if( index == -1 )
+				return false;
+
+			return index >= 0 && index < length;
+		}
+
+		/**
+		 *  @private
+		 */
+		override flash_proxy function nextNameIndex( index:int ):int
+		{
+			return index < length ? index + 1 : 0;
+		}
+
+		/**
+		 *  @private
+		 */
+		override flash_proxy function nextName( index:int ):String
+		{
+			return( index - 1 ).toString();
+		}
+
+		/**
+		 *  @private
+		 */
+		override flash_proxy function nextValue( index:int ):*
+		{
+			return getItemAt( index - 1 );
+		}
+
+		/**
+		 *  @private
+		 *  Any methods that can't be found on this class shouldn't be called,
+		 *  so return null
+		 */
+		override flash_proxy function callProperty( name:*, ... rest ):*
+		{
+			return null;
+		}
+
+		//--------------------------------------------------------------------------
+		//
+		// EventDispatcher methods
+		//
+		//--------------------------------------------------------------------------
+
+		/**
+		 * Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
+		 */
+		public function addEventListener( type:String, listener:Function, useCapture:Boolean=false, priority:int=0, useWeakReference:Boolean=false ):void
+		{
+			eventDispatcher.addEventListener( type, listener, useCapture, priority, useWeakReference );
+		}
+
+		/**
+		 * Removes a listener from the EventDispatcher object.
+		 */
+		public function removeEventListener( type:String, listener:Function, useCapture:Boolean=false ):void
+		{
+			eventDispatcher.removeEventListener( type, listener, useCapture );
+		}
+
+		/**
+		 * Dispatches an event into the event flow.
+		 */
+		public function dispatchEvent( event:Event ):Boolean
+		{
+			return eventDispatcher.dispatchEvent( event );
+		}
+
+		/**
+		 * Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
+		 */
+		public function hasEventListener( type:String ):Boolean
+		{
+			return eventDispatcher.hasEventListener( type );
+		}
+
+		/**
+		 * Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
+		 */
+		public function willTrigger( type:String ):Boolean
+		{
+			return eventDispatcher.willTrigger( type );
+		}
+
 	}
 }


Change metadata tags to Copyable in test data class.

--- dolly-framework/src/test/resources/dolly/ClassWithSomeCopyableFields.as
+++ dolly-framework/src/test/resources/dolly/ClassWithSomeCopyableFields.as
@@ -3,10 +3,10 @@

 	public static var staticProperty1:String;

-	[Cloneable]
+	[Copyable]
 	public static var staticProperty2:String;

-	[Cloneable]
+	[Copyable]
 	public static var staticProperty3:String;

 	private var _writableField:String;
@@ -14,16 +14,16 @@

 	public var property1:String;

-	[Cloneable]
+	[Copyable]
 	public var property2:String;

-	[Cloneable]
+	[Copyable]
 	public var property3:String;

 	public function ClassWithSomeCopyableFields() {
 	}

-	[Cloneable]
+	[Copyable]
 	public function get writableField():String {
 		return _writableField;
 	}
@@ -32,7 +32,7 @@
 		_writableField = value;
 	}

-	[Cloneable]
+	[Copyable]
 	public function get readOnlyField():String {
 		return _readOnlyField;
 	}