Transferred from the Adobe Open Source Subversion Repository

Revision: 17970
Author:   egeorgie@adobe.com
Date:     2010-09-30T21:32:24.300370Z

Log Message:
-----------
Fix SDK-27642 Unnecessary Measure for Mobile Programmatic Skins

In this change:
- introduce new protected APIs in MobileSkin, MobileItemRenderer for resizing and positioning elements.
- update Mobile skin code to use new APIs instead of setting explicitly x, y, width, height
- update FXG assetes to make elements pixel aligned
- update Mobile skin code to assume FXG assest are always pixel aligned

QE notes: Verify skins look as expected; mobile item renderers layout as expected
Doc notes: None.
Bugs: SDK-27642
Reviewer: Glenn, Jason S, Jason SJ, Ryan
Tests run: full mobile mustella
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_down.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_upSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/MobileItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_down.fxg</path>
<path kind="file" action="M">/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/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/Button_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_downSelected.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/assets/CheckBox_up.fxg</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/NavigationButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
+++ frameworks/projects/mobilecomponents/src/spark/components/LabelItemRenderer.as
@@ -13,6 +13,7 @@
 import mx.core.IDataRenderer;
 import mx.core.IFlexDisplayObject;
 import mx.core.IFlexModuleFactory;
+import mx.core.ILayoutElement;
 import mx.core.IVisualElement;
 import mx.core.InteractionMode;
 import mx.core.UIComponent;
@@ -732,55 +733,54 @@
     protected function layoutContents(unscaledWidth:Number,
                                       unscaledHeight:Number):void
     {
-        if (labelDisplay)
-        {
-            // measure the label component
-            var textHeight:Number = 0;
-
+        if (!labelDisplay)
+            return;
+
+        var paddingLeft:Number   = getStyle("paddingLeft");
+        var paddingRight:Number  = getStyle("paddingRight");
+        var paddingTop:Number    = getStyle("paddingTop");
+        var paddingBottom:Number = getStyle("paddingBottom");
+        var verticalAlign:String = getStyle("verticalAlign");
+
+        var vAlign:Number;
+        if (verticalAlign == "top")
+            vAlign = 0;
+        else if (verticalAlign == "bottom")
+            vAlign = 1;
+        else // if (verticalAlign == "middle")
+            vAlign = 0.5;
+        // made "middle" last even though it's most likely so it is the default and if someone
+        // types "center", then it will still vertically center itself.
+
+        var viewWidth:Number  = unscaledWidth  - paddingLeft - paddingRight;
+        var viewHeight:Number = unscaledHeight - paddingTop  - paddingBottom;
+
+        // measure the label component
+        var textHeight:Number = 0;
+
+        if (label != "")
+        {
+            labelDisplay.commitStyles();
+
             // reset text if it was truncated before.
             if (labelDisplay.isTruncated)
                 labelDisplay.text = label;
-
-            if (label != "")
-            {
-                labelDisplay.commitStyles();
-                textHeight = labelDisplay.textHeight + UITextField.TEXT_HEIGHT_PADDING;
-            }
-
-            // text should take up the rest of the space width-wise, but only let it take up
-            // its measured textHeight so we can position it later based on verticalAlign
-            var viewWidth:Number = unscaledWidth - getStyle("paddingLeft") - getStyle("paddingRight");
-            var labelWidth:Number = Math.max(viewWidth, 0);
-
-            var viewHeight:Number =  unscaledHeight - getStyle("paddingTop") - getStyle("paddingBottom");
-            var labelHeight:Number = Math.max(Math.min(viewHeight, textHeight), 0);
-
-            // label is positioned after the padding on the left.  look at verticalAlign to see
-            // what to do vertically.
-            var labelX:Number = getStyle("paddingLeft");
-            var labelY:Number;
-            if (getStyle("verticalAlign") == "top")
-                labelY = getStyle("paddingTop");
-            else if (getStyle("verticalAlign") == "bottom")
-                labelY = getStyle("paddingTop") + viewHeight - labelHeight;
-            else //if (getStyle("verticalAlign") == "middle")
-                labelY = getStyle("paddingTop") + Math.round((viewHeight - labelHeight)/2);
-            // made "middle" last even though it's most likely so it is the default and if someone
-            // types "center", then it will still vertically center itself.
-
-            labelDisplay.commitStyles();
-
-            labelDisplay.width = labelWidth;
-            labelDisplay.height = labelHeight;
-
-            labelDisplay.x = Math.round(labelX);
-            labelDisplay.y = Math.round(labelY);
-
-            // attempt to truncate the text now that we have its official width
-            labelDisplay.truncateToFit();
-        }
-    }
-
+            textHeight = labelDisplay.textHeight + UITextField.TEXT_HEIGHT_PADDING;
+        }
+
+        // text should take up the rest of the space width-wise, but only let it take up
+        // its measured textHeight so we can position it later based on verticalAlign
+        var labelWidth:Number = Math.max(viewWidth, 0);
+        var labelHeight:Number = Math.max(Math.min(viewHeight, textHeight), 0);
+        resizeElement(labelDisplay, labelWidth, labelHeight);
+
+        var labelY:Number = Math.round(vAlign * (viewHeight - labelHeight)) + paddingTop;
+        positionElement(labelDisplay, paddingLeft, labelY);
+
+        // attempt to truncate the text now that we have its official width
+        labelDisplay.truncateToFit();
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Event handling
@@ -856,5 +856,64 @@
         invalidateDisplayList();
     }

+    /**
+     *  A helper method for positioning skin parts.
+     *
+     *  Developers can use this method instead of checking for and using
+     *  various interfaces such as ILayoutElement, IFlexDisplayObject, etc.
+     *
+     *  @see #resizeElement
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected function positionElement(part:Object, x:Number, y:Number):void
+    {
+        if (part is ILayoutElement)
+        {
+            ILayoutElement(part).setLayoutBoundsPosition(x, y, false);
+        }
+        else if (part is IFlexDisplayObject)
+        {
+            IFlexDisplayObject(part).move(x, y);
+        }
+        else
+        {
+            part.x = x;
+            part.y = y;
+        }
+    }
+
+    /**
+     *  A helper method for resizing skin parts.
+     *
+     *  Developers can use this method instead of checking for and using
+     *  various interfaces such as ILayoutElement, IFlexDisplayObject, etc.
+     *
+     *  @see #positionElement
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected function resizeElement(part:Object, width:Number, height:Number):void
+    {
+        if (part is ILayoutElement)
+        {
+            ILayoutElement(part).setLayoutBoundsSize(width, height, false);
+        }
+        else if (part is IFlexDisplayObject)
+        {
+            IFlexDisplayObject(part).setActualSize(width, height);
+        }
+        else
+        {
+            part.width = width;
+            part.height = height;
+        }
+    }
 }
 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package mx.core
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 12569
Author:   mchotin@adobe.com
Date:     2009-12-05T00:35:58.988019Z

Log Message:
-----------
9 new sample themes and an update to the wireframe theme

Wireframe theme now has support for all MX components including most of the important AIR ones.

samples/themes now has 9 new themes, 5 spark_css themes which are CSS files, and 4 which are graphical assets, some from SWFs, some from images, some where the work is done in the MXML skin file.  Some credit goes to EffectiveUI for the color choices.  Some blame goes to me for mucking with them.

DateChooser is updated to handle backgroundColor better.

The main build.xml file is updated to build the themes during the main target if "-Dthemes=anything" and themes are added to the regular zip and mpl zip.

Reviewed by Glenn
Consulted with Jim
Themes primarily contributed by EffectiveUI

QA: we agreed the sample themes are just samples, there's a README to that effect.  However it'd be good to use the wireframe theme in tests with Halo components now.  I have concerns I may have screwed up some focus logic by deleting a little too aggressively.
Doc: Themes are decent samples though the code is not necessarily high quality.
Builder: these are for you baby!

I would like to thank whomever ends up rescuing the build after I check in these 586 files.

Modified Paths:
--------------
629 paths were modified

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

--- frameworks/projects/wireframe/src/WireframeClasses.as
+++ frameworks/projects/wireframe/src/WireframeClasses.as
@@ -25,15 +25,15 @@
 internal class WireframeClasses
 {
 	import spark.skins.wireframe.ApplicationSkin; ApplicationSkin;
-	import spark.skins.wireframe.ButtonBarFirstButtonSkin; ButtonBarFirstButtonSkin;
-	import spark.skins.wireframe.ButtonBarLastButtonSkin; ButtonBarLastButtonSkin;
-	import spark.skins.wireframe.ButtonBarMiddleButtonSkin; ButtonBarMiddleButtonSkin;
+	import spark.skins.wireframe.ButtonBarFirstButtonSkin; spark.skins.wireframe.ButtonBarFirstButtonSkin;
+	import spark.skins.wireframe.ButtonBarLastButtonSkin; spark.skins.wireframe.ButtonBarLastButtonSkin;
+	import spark.skins.wireframe.ButtonBarMiddleButtonSkin; spark.skins.wireframe.ButtonBarMiddleButtonSkin;
 	import spark.skins.wireframe.ButtonBarSkin; ButtonBarSkin;
-	import spark.skins.wireframe.ButtonSkin; ButtonSkin;
-	import spark.skins.wireframe.CheckBoxSkin; CheckBoxSkin;
+	import spark.skins.wireframe.ButtonSkin; spark.skins.wireframe.ButtonSkin;
+	import spark.skins.wireframe.CheckBoxSkin; spark.skins.wireframe.CheckBoxSkin;
     import spark.skins.wireframe.ComboBoxButtonSkin; ComboBoxButtonSkin;
-    import spark.skins.wireframe.ComboBoxSkin; ComboBoxSkin;
-	import spark.skins.wireframe.DefaultButtonSkin; DefaultButtonSkin;
+    import spark.skins.wireframe.ComboBoxSkin; spark.skins.wireframe.ComboBoxSkin;
+	import spark.skins.wireframe.DefaultButtonSkin; spark.skins.wireframe.DefaultButtonSkin;
 	import spark.skins.wireframe.DropDownListButtonSkin; DropDownListButtonSkin;
 	import spark.skins.wireframe.DropDownListSkin; DropDownListSkin;
 	import spark.skins.wireframe.HScrollBarSkin; HScrollBarSkin;
@@ -48,18 +48,18 @@
 	import spark.skins.wireframe.mediaClasses.VolumeBarSkin; VolumeBarSkin;
 	import spark.skins.wireframe.NumericStepperSkin; NumericStepperSkin;
 	import spark.skins.wireframe.PanelSkin; PanelSkin;
-	import spark.skins.wireframe.RadioButtonSkin; RadioButtonSkin;
-	import spark.skins.wireframe.ScrollBarDownButtonSkin; ScrollBarDownButtonSkin;
+	import spark.skins.wireframe.RadioButtonSkin; spark.skins.wireframe.RadioButtonSkin;
+	import spark.skins.wireframe.ScrollBarDownButtonSkin; spark.skins.wireframe.ScrollBarDownButtonSkin;
 	import spark.skins.wireframe.ScrollBarLeftButtonSkin; ScrollBarLeftButtonSkin;
 	import spark.skins.wireframe.ScrollBarRightButtonSkin; ScrollBarRightButtonSkin;
-	import spark.skins.wireframe.ScrollBarUpButtonSkin; ScrollBarUpButtonSkin;
+	import spark.skins.wireframe.ScrollBarUpButtonSkin; spark.skins.wireframe.ScrollBarUpButtonSkin;
 	import spark.skins.wireframe.SpinnerDecrementButtonSkin; SpinnerDecrementButtonSkin;
 	import spark.skins.wireframe.SpinnerIncrementButtonSkin; SpinnerIncrementButtonSkin;
 	import spark.skins.wireframe.SpinnerSkin; SpinnerSkin;
 	import spark.skins.wireframe.TabBarSkin; TabBarSkin;
 	import spark.skins.wireframe.TabBarButtonSkin; TabBarButtonSkin;
-	import spark.skins.wireframe.TextAreaSkin; TextAreaSkin;
-	import spark.skins.wireframe.TextInputSkin; TextInputSkin;
+	import spark.skins.wireframe.TextAreaSkin; spark.skins.wireframe.TextAreaSkin;
+	import spark.skins.wireframe.TextInputSkin; spark.skins.wireframe.TextInputSkin;
 	import spark.skins.wireframe.TitleWindowCloseButtonSkin; TitleWindowCloseButtonSkin;
 	import spark.skins.wireframe.TitleWindowSkin; TitleWindowSkin;
 	import spark.skins.wireframe.ToggleButtonSkin; ToggleButtonSkin;
@@ -70,6 +70,76 @@
 	import spark.skins.wireframe.VSliderSkin; VSliderSkin;
 	import spark.skins.wireframe.VSliderThumbSkin; VSliderThumbSkin;
 	import spark.skins.wireframe.VSliderTrackSkin; VSliderTrackSkin;
+
+	import mx.skins.wireframe.AccordionHeaderSkin; AccordionHeaderSkin;
+	import mx.skins.wireframe.BorderSkin; BorderSkin;
+	import mx.skins.wireframe.ButtonBarFirstButtonSkin; mx.skins.wireframe.ButtonBarFirstButtonSkin;
+	import mx.skins.wireframe.ButtonBarLastButtonSkin; mx.skins.wireframe.ButtonBarLastButtonSkin;
+	import mx.skins.wireframe.ButtonBarMiddleButtonSkin; mx.skins.wireframe.ButtonBarMiddleButtonSkin;
+	import mx.skins.wireframe.ButtonSkin; mx.skins.wireframe.ButtonSkin;
+	import mx.skins.wireframe.CheckBoxSkin; mx.skins.wireframe.CheckBoxSkin;
+	import mx.skins.wireframe.ColorPickerSkin; ColorPickerSkin;
+	import mx.skins.wireframe.ComboBoxSkin; mx.skins.wireframe.ComboBoxSkin;
+	import mx.skins.wireframe.ContainerBorderSkin; ContainerBorderSkin;
+	import mx.skins.wireframe.ControlBarSkin; ControlBarSkin;
+	import mx.skins.wireframe.DataGridHeaderBackgroundSkin; DataGridHeaderBackgroundSkin;
+	import mx.skins.wireframe.DataGridHeaderSeparatorSkin; DataGridHeaderSeparatorSkin;
+	import mx.skins.wireframe.DataGridSortArrow; DataGridSortArrow;
+	import mx.skins.wireframe.DateChooserNextMonthSkin; DateChooserNextMonthSkin;
+	import mx.skins.wireframe.DateChooserNextYearSkin; DateChooserNextYearSkin;
+	import mx.skins.wireframe.DateChooserPrevMonthSkin; DateChooserPrevMonthSkin;
+	import mx.skins.wireframe.DateChooserPrevYearSkin; DateChooserPrevYearSkin;
+	import mx.skins.wireframe.DateChooserRollOverIndicatorSkin; DateChooserRollOverIndicatorSkin;
+	import mx.skins.wireframe.DateChooserSelectionIndicatorSkin; DateChooserSelectionIndicatorSkin;
+	import mx.skins.wireframe.DateChooserTodayIndicatorSkin; DateChooserTodayIndicatorSkin;
+	import mx.skins.wireframe.DefaultButtonSkin; mx.skins.wireframe.DefaultButtonSkin;
+	import mx.skins.wireframe.DividerSkin; DividerSkin;
+	import mx.skins.wireframe.DropDownSkin; DropDownSkin;
+	import mx.skins.wireframe.EditableComboBoxSkin; EditableComboBoxSkin;
+	import mx.skins.wireframe.EmphasizedButtonSkin; EmphasizedButtonSkin;
+	import mx.skins.wireframe.LinkButtonSkin; LinkButtonSkin;
+	import mx.skins.wireframe.MenuArrow; MenuArrow;
+	import mx.skins.wireframe.MenuArrowDisabled; MenuArrowDisabled;
+	import mx.skins.wireframe.MenuBarItemSkin; MenuBarItemSkin;
+	import mx.skins.wireframe.MenuBarSkin; MenuBarSkin;
+	import mx.skins.wireframe.MenuCheck; MenuCheck;
+	import mx.skins.wireframe.MenuCheckDisabled; MenuCheckDisabled;
+	import mx.skins.wireframe.MenuRadio; MenuRadio;
+	import mx.skins.wireframe.MenuRadioDisabled; MenuRadioDisabled;
+	import mx.skins.wireframe.MenuSeparatorSkin; MenuSeparatorSkin;
+	import mx.skins.wireframe.MenuSkin; MenuSkin;
+	import mx.skins.wireframe.PanelBorderSkin; PanelBorderSkin;
+	import mx.skins.wireframe.PopUpButtonSkin; PopUpButtonSkin;
+	import mx.skins.wireframe.ProgressBarSkin; ProgressBarSkin;
+	import mx.skins.wireframe.ProgressBarTrackSkin; ProgressBarTrackSkin;
+	import mx.skins.wireframe.ProgressIndeterminateSkin; ProgressIndeterminateSkin;
+	import mx.skins.wireframe.ProgressMaskSkin; ProgressMaskSkin;
+	import mx.skins.wireframe.RadioButtonSkin; mx.skins.wireframe.RadioButtonSkin;
+	import mx.skins.wireframe.ScrollBarDownButtonSkin; mx.skins.wireframe.ScrollBarDownButtonSkin;
+	import mx.skins.wireframe.ScrollBarThumbSkin; ScrollBarThumbSkin;
+	import mx.skins.wireframe.ScrollBarTrackSkin; ScrollBarTrackSkin;
+	import mx.skins.wireframe.ScrollBarUpButtonSkin; mx.skins.wireframe.ScrollBarUpButtonSkin;
+	import mx.skins.wireframe.SliderThumbSkin; SliderThumbSkin;
+	import mx.skins.wireframe.SliderTrackHighlightSkin; SliderTrackHighlightSkin;
+	import mx.skins.wireframe.SliderTrackSkin; SliderTrackSkin;
+	import mx.skins.wireframe.StepperDecrButtonSkin; StepperDecrButtonSkin;
+	import mx.skins.wireframe.StepperIncrButtonSkin; StepperIncrButtonSkin;
+	import mx.skins.wireframe.TabSkin; TabSkin;
+	import mx.skins.wireframe.TextAreaSkin; mx.skins.wireframe.TextAreaSkin;
+	import mx.skins.wireframe.TextInputSkin; mx.skins.wireframe.TextInputSkin;
+	import mx.skins.wireframe.TitleWindowCloseButtonDownSkin; TitleWindowCloseButtonDownSkin;
+	import mx.skins.wireframe.TitleWindowCloseButtonOverSkin; TitleWindowCloseButtonOverSkin;
+	import mx.skins.wireframe.TitleWindowCloseButtonUpSkin; TitleWindowCloseButtonUpSkin;
+	import mx.skins.wireframe.ToolTipSkin; ToolTipSkin;
+	import mx.skins.wireframe.WindowedApplicationSkin; WindowedApplicationSkin;
+	import mx.skins.wireframe.windowChrome.CloseButtonSkin; CloseButtonSkin;
+	import mx.skins.wireframe.windowChrome.MaximizeButtonSkin; MaximizeButtonSkin;
+	import mx.skins.wireframe.windowChrome.MinimizeButtonSkin; MinimizeButtonSkin;
+	import mx.skins.wireframe.windowChrome.RestoreButtonSkin; RestoreButtonSkin;
+	import mx.skins.wireframe.windowChrome.StatusBarSkin; StatusBarSkin;
+	import mx.skins.wireframe.windowChrome.TitleBarSkin; TitleBarSkin;
+
+
 }

 }


Transferred from the Adobe Open Source Subversion Repository

Revision: 4236
Author:   egreenfi@adobe.com
Date:     2008-12-05T01:20:06.259543Z

Log Message:
-----------
A number of small 3D fixes

- scale == 0 in 3D now works correctly (approximately).
- setting z != 0 correctly puts the element in 3D mode.
- setting layoutMatrix3D to a degenerate 2D matrix puts the element back into a 2D mode.
- layoutMatrix and layoutMatrix3D correctly copy on read now.

QA: yes.
DOC: no.
REVIEW: Glenn

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/geom/CompoundTransform.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/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/AdvancedLayoutFeatures.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -1558,8 +1558,12 @@
      */
     public function get layoutMatrix():Matrix
     {
+		// esg: _layoutFeatures keeps a single internal copy of the layoutMatrix.
+		// since this is an internal class, we don't need to worry about developers
+		// accidentally messing with this matrix, _unless_ we hand it out. Instead,
+		// we hand out a clone.
         if(layoutFeatures != null)
-            return layoutFeatures.layoutMatrix;
+            return layoutFeatures.layoutMatrix.clone();
         var m:Matrix = new Matrix();
         m.translate(_x,_y);
         return m;
@@ -1599,8 +1603,12 @@
      */
     public function get layoutMatrix3D():Matrix3D
     {
+		// esg: _layoutFeatures keeps a single internal copy of the layoutMatrix.
+		// since this is an internal class, we don't need to worry about developers
+		// accidentally messing with this matrix, _unless_ we hand it out. Instead,
+		// we hand out a clone.
         if(layoutFeatures != null)
-            return layoutFeatures.layoutMatrix3D;
+            return layoutFeatures.layoutMatrix3D.clone();
         var m:Matrix3D = new Matrix3D();
         m.appendTranslation(_x,_y,0);
         return m;


Transferred from the Adobe Open Source Subversion Repository

Revision: 2550
Author:   jszeto@adobe.com
Date:     2008-07-21T23:21:13.499756Z

Log Message:
-----------
Flex SDK Bug Fixes

This should fix any broken builds. That's what I get for trying to submit multiple bug fixes in batches.

This checkin includes changes to collapse IDisplayObjectElement and IAssignableDisplayObjectElement into a single interface.

MXMLG-132 - filters array is null by default, should be set to an empty array
Changed default value of filters array

MXMLG-200 - Cannot set maskType property dynamically at runtime
Added call to invalidate when maskType changes

SDK-15738 - RTE when calling getItemAt() function
Added temporary hacks to remove an item from its Group or parent before getting added to a different Group

SDK-16121 - RTE in swapItems() when re-swapping two items
Added logic to make sure the item indexes are added in ascending order

SDK-16138 - RTE when swapping an element with itself
Added logic to ignore a swap of the same element

Bugs: MXMLG-132, MXMLG-200, SDK-15738, SDK-16121, SDK-16138
QA: Yes
Doc: Yes
Review: Deepa

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/IDisplayObjectElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/StrokedElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/GraphicElement.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicElement.as</path>

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

--- frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
+++ frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as
@@ -17,6 +17,7 @@
 import flex.filters.BaseFilter;
 import flex.filters.IBitmapFilter;
 import flex.geom.Transform;
+import flex.graphics.IDisplayObjectElement;
 import flex.graphics.IGraphicElement;
 import flex.graphics.IGraphicElementHost;
 import flex.graphics.MaskType;
@@ -31,7 +32,8 @@

 use namespace mx_internal;

-public class GraphicElement extends EventDispatcher implements IGraphicElement, ILayoutItem, IConstraintClient
+public class GraphicElement extends EventDispatcher
+							implements IGraphicElement, ILayoutItem, IConstraintClient, IDisplayObjectElement
 {

 	 /**
@@ -85,6 +87,9 @@
 	private var _alpha:Number = 1;
 	private var alphaChanged:Boolean = false;

+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]
+
 	public function get alpha():Number
 	{
 		return _alpha;
@@ -108,6 +113,9 @@
 	//----------------------------------
 	private var _blendMode:String = BlendMode.NORMAL;
 	private var blendModeChanged:Boolean;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]

 	public function get blendMode():String
 	{
@@ -219,7 +227,7 @@
 	[Bindable("propertyChange")]
 	[Inspectable(category="General")]

-	private var _filters:Array;
+	private var _filters:Array = [];
 	private var _clonedFilters:Array;
 	private var filtersChanged:Boolean;

@@ -364,6 +372,9 @@
 	private var isMaskInElementSpace:Boolean;
 	private var maskChanged:Boolean;

+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]
+
 	public function set mask(value:DisplayObject):void
 	{
 		if (_mask !== value)
@@ -628,6 +639,9 @@
 	mx_internal var _scaleX:Number = 1;
 	private var scaleXChanged:Boolean;

+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]
+
 	/**
 	 *  Indicates the horizontal scale (percentage) of the element as applied from the transform point.
 	 */
@@ -654,6 +668,9 @@
 	//----------------------------------
 	mx_internal var _scaleY:Number = 1;
 	private var scaleYChanged:Boolean;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]

 	/**
 	 *  Indicates the vertical scale (percentage) of the element as applied from the transform point.
@@ -745,6 +762,9 @@
 	private var _transformX:Number = 0;
 	private var transformXChanged:Boolean;

+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]
+
 	/**
 	 *  The x position transform point of the element.
 	 */
@@ -771,6 +791,9 @@
 	//----------------------------------
 	private var _transformY:Number = 0;
 	private var transformYChanged:Boolean;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]

 	/**
 	 *  The y position transform point of the element.
@@ -949,7 +972,7 @@

 	//--------------------------------------------------------------------------
 	//
-	//  IAssignableDisplayObjectElement or IDisplayObjectElement properties
+	//  IDisplayObjectElement properties
 	//
 	//--------------------------------------------------------------------------

@@ -958,6 +981,9 @@
 	//  displayObject
 	//----------------------------------
 	private var _displayObject:DisplayObject;
+
+	[Bindable("propertyChange")]
+	[Inspectable(category="General")]

 	public function get displayObject():DisplayObject
 	{
@@ -978,6 +1004,20 @@

 		}
 	}
+
+	public function createDisplayObject():DisplayObject
+	{
+		if (displayObject)
+			return displayObject;
+		else
+			return new Sprite();
+	}
+
+	public function needsDisplayObject():Boolean
+	{
+		return true;
+	}
+

 	public function draw(g:Graphics):void
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 20097
Author:   jasonsj@adobe.com
Date:     2011-02-03T17:48:25.773740Z

Log Message:
-----------
Remove use of minWidth and minHeight where possible from mobile skins to fix constraint use cases. Replace usage of minWidth/minHeight and layoutMeasuredWidth/layoutMeasuredHeight with MobileSkin property measuredDefaultWidth/measuredDefaultHeight.

Use minWidth/minHeight for skins that do not scale down: Beveled buttons, CheckBox, RadioButton, and scroll bars.

Doc notes:
Bugs:
SDK-28715 Cannot size and position button correctly in i4 build.
Reviewer: egeorgie
Tests run: checkintests
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledActionButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/MobileSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ActionBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextInputSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarFirstButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/HSliderDataTip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/VScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarMiddleButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewMenuItemSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/TabbedViewNavigatorTabBarTabSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderTrackSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ButtonBarLastButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ImageSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/BeveledBackButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/supportClasses/ActionBarButtonSkinBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/CheckBoxSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaHScrollBarSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/RadioButtonSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderThumbSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HSliderSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/HScrollBarSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TextAreaVScrollBarSkin.as
@@ -33,7 +33,7 @@
             }
             default:
             {
-                // default PPI160
+                // default DPI_160
                 minWidth = 9;
                 paddingRight = TextAreaVScrollBarThumbSkin.PADDING_RIGHT_DEFAULTDPI;
                 paddingVertical = TextAreaVScrollBarThumbSkin.PADDING_VERTICAL_DEFAULTDPI;


Transferred from the Adobe Open Source Subversion Repository

Revision: 18198
Author:   chiedozi@adobe.com
Date:     2010-10-18T18:36:32.344269Z

Log Message:
-----------
Fixed a small issue in SlideViewTransition where actionBar animations weren't always played.

QE notes:
Doc notes:
Bugs:
Reviewer: Ryan
Tests run:
Is noteworthy for integration:

Modified Paths:
--------------
/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/effects/SlideViewTransition.as

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/SlideViewTransition.as
@@ -213,6 +213,9 @@
                 fullScreenAnimation = (componentIsVisible(tabBar) != nextView.tabBarVisible);
         }

+        if (navigator is ViewNavigator)
+            actionBar = ViewNavigator(navigator).actionBar;
+
         // Check for actionBar visiblity and overlayControls property change
         if (!fullScreenAnimation)
         {
@@ -222,7 +225,7 @@
             }
             else if (navigator is ViewNavigator)
             {
-                if (componentIsVisible(ViewNavigator(navigator).actionBar) != nextView.actionBarVisible)
+                if (componentIsVisible(actionBar) != nextView.actionBarVisible)
                 {
                     fullScreenAnimation = true;
                     targetNavigator = navigator;
@@ -238,8 +241,6 @@

             if (navigator is ViewNavigator)
             {
-                actionBar = ViewNavigator(navigator).actionBar;
-
                 if (componentIsVisible(actionBar))
                 {
                     // Always generate full ActionBar caches


Transferred from the Adobe Open Source Subversion Repository

Revision: 19890
Author:   chiedozi@adobe.com
Date:     2011-01-22T00:54:17.832168Z

Log Message:
-----------
PARB Changes for TabbedViewNavigator.

TabbedViewNavigator
The activeNavigator property has been renamed to selectedNavigator
The following properties and methods have been made mx_internal, thus don't need to be tested:
maintainNaigationStack
tabBarRenderer_clickHandler

TabbedViewNavigatorApplication
The navigator skinpart has been renamed to tabbedNavigator
The creationPolicy and destructionPolicy properties on ViewNavigatorBase have been removed.
The maintainNavigationStack and creationPolicy properties have been removed

QE notes:
Doc notes:
Bugs:
Reviewer: Ryan
Tests run:
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/ScriptRunner.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedViewNavigatorApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/.flexProperties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/.actionScriptProperties</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorApplicationSkin.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/TabbedViewNavigatorSkin.as
@@ -47,9 +47,21 @@
      *  @copy spark.skins.spark.ApplicationSkin#hostComponent
      */
     public var hostComponent:TabbedViewNavigator;
-
-    // Groups and UI Controls
+
+	//--------------------------------------------------------------------------
+	//
+	//  Properties
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @copy spark.components.SkinnableContainer#contentGroup
+	 */
     public var contentGroup:Group;
+
+	/**
+	 *  @copy spark.components.TabbedViewNavigator#tabBar
+	 */
     public var tabBar:ButtonBarBase;

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


rm "self_load"

rm "self_load"

--- src/org/hola/JSURLStream.as
+++ src/org/hola/JSURLStream.as
@@ -7,8 +7,6 @@
     import org.hola.ZExternalInterface;
     import flash.net.URLRequest;
     import flash.net.URLStream;
-    import flash.net.URLRequestHeader;
-    import flash.net.URLRequestMethod;
     import flash.utils.ByteArray;
     import flash.utils.getTimer;
     import flash.utils.Timer;
@@ -27,9 +25,6 @@
         private var _curr_data : Object;
         private var _hola_managed : Boolean = false;
         private var _req_id : String;
-        private var _self_load : Boolean = false;
-        private var _events : Object;
-        private var _size : Number;

         public function JSURLStream(){
             _hola_managed = HSettings.enabled && ZExternalInterface.avail();
@@ -50,12 +45,8 @@
         }

         protected function _trigger(cb : String, data : Object) : void {
-            if (!_hola_managed && !_self_load)
-            {
-                // XXX arik: need ZErr.throw
-                ZErr.log('invalid trigger');
-                throw new Error('invalid trigger');
-            }
+            if (!_hola_managed)
+                return ZErr.log('invalid trigger'); // XXX arik: ZErr.throw
             ExternalInterface.call('window.hola_'+cb,
                 {objectID: ExternalInterface.objectID, data: data});
         }
@@ -93,7 +84,7 @@
         }

         override public function close() : void {
-            if (_hola_managed || _self_load)
+            if (_hola_managed)
             {
                 if (reqs[_req_id])
                 {
@@ -108,11 +99,11 @@
         }

         override public function load(request : URLRequest) : void {
-            if (_hola_managed || _self_load)
+            if (_hola_managed)
             {
                 if (reqs[_req_id])
                 {
-                    delete reqs[_req_id];
+                    _delete();
                     _trigger('abortFragment', {req_id: _req_id});
                 }
                 WorkerUtils.removeEventListener(HEvent.WORKER_MESSAGE, onmsg);
@@ -130,39 +121,6 @@
         }

         private function onopen(e : Event) : void { _connected = true; }
-
-        private function onerror(e : ErrorEvent) : void {
-            _delete();
-            if (!_events.error)
-                return;
-            _trigger('onRequestEvent', {req_id: _req_id, event: 'error',
-                error: e.text, text: e.toString()});
-        }
-
-        private function onprogress(e : ProgressEvent) : void {
-            _size = e.bytesTotal;
-            if (!_events.progress)
-                return;
-            _trigger('onRequestEvent', {req_id: _req_id, event: 'progress',
-                loaded: e.bytesLoaded, total: e.bytesTotal,
-                text: e.toString()});
-        }
-
-        private function onstatus(e : HTTPStatusEvent) : void {
-            if (!_events.status)
-                return;
-            // XXX bahaa: get redirected/responseURL/responseHeaders
-            _trigger('onRequestEvent', {req_id: _req_id, event: 'status',
-                status: e.status, text: e.toString()});
-        }
-
-        private function oncomplete(e : Event) : void {
-            _delete();
-            if (!_events.complete)
-                return;
-            _trigger('onRequestEvent', {req_id: _req_id, event: 'complete',
-                size: _size, text: e.toString()});
-        }

         private function decode(str : String) : void {
             if (!str)
@@ -205,29 +163,8 @@
                 resourceLoadingSuccess();
         }

-        private function self_load(o : Object) : void {
-            _self_load = true;
-            _hola_managed = false;
-            _events = o.events||{};
-            addEventListener(IOErrorEvent.IO_ERROR, onerror);
-            addEventListener(SecurityErrorEvent.SECURITY_ERROR, onerror);
-            addEventListener(ProgressEvent.PROGRESS, onprogress);
-            addEventListener(HTTPStatusEvent.HTTP_STATUS, onstatus);
-            addEventListener(Event.COMPLETE, oncomplete);
-            var req : URLRequest = new URLRequest(o.url);
-            req.method = o.method=="POST" ? URLRequestMethod.POST :
-                URLRequestMethod.GET;
-            // this doesn't seem to work. simply ignored
-            var headers : Object = o.headers||{};
-            for (var k : String in headers)
-                req.requestHeaders.push(new URLRequestHeader(k, headers[k]));
-            super.load(req);
-        }
-
         private function on_fragment_data(o : Object) : void {
             _curr_data = o;
-            if (o.self_load)
-                return self_load(o);
             if (o.error)
                 return resourceLoadingError();
             decode(o.data);
@@ -237,10 +174,7 @@
             var stream : JSURLStream;
             try {
                 if (!(stream = reqs[o.req_id]))
-                {
-                    ZErr.log('req_id not found '+o.req_id);
-                    return;
-                }
+                    return ZErr.log('req_id not found '+o.req_id);
                 stream.on_fragment_data(o);
             } catch(err : Error){
                 ZErr.log('Error in hola_onFragmentData', ''+err,


TestHDividedBox now uses new ScrollPolicy values

--- examples/OpenPyroExample/src/TestHDividedBox.as
+++ examples/OpenPyroExample/src/TestHDividedBox.as
@@ -1,12 +1,13 @@
 package
 {
+	import flash.display.Sprite;
+	import flash.events.Event;
+
 	import org.openPyro.aurora.AuroraHDividedBoxSkin;
 	import org.openPyro.containers.HDividedBox;
+	import org.openPyro.controls.scrollBarClasses.ScrollPolicy;
 	import org.openPyro.core.UIControl;
 	import org.openPyro.examples.DimensionMarkerSkin;
-
-	import flash.display.Sprite;
-	import flash.events.Event;

 	public class TestHDividedBox extends Sprite
 	{
@@ -22,7 +23,7 @@

 			var hdbox:HDividedBox = new HDividedBox()
 			hdbox.skin = new AuroraHDividedBoxSkin();
-			hdbox.horizontalScrollPolicy = false;
+			hdbox.horizontalScrollPolicy = ScrollPolicy.OFF;
 			hdbox.width = 600
 			hdbox.height = 400


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package mx.controls
 {


added helpful comment about compiler generating skin parts

--- frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as
@@ -192,6 +192,10 @@
      * through the skin parts. The property name will be the name of the
      * skin part and it's value will be a boolean specifying if it is required
      * or not.
+	 *
+	 * The actual return value of this method will be generated by the
+	 * compiler and may not be null.
+	 *
      */
     protected function get skinParts():Object
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 23243
Author:   cframpto@adobe.com
Date:     2011-12-20T00:59:57.384047Z

Log Message:
-----------
In frameworks, remove Adobe headers from all files except xml/mxml file types.  There are also a few .txt files that are license files that I didn't touch yet.

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

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

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

 package mx.automation.events
 {


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

--- frameworks/projects/automation/src/mx/automation/tabularData/ChartBaseTabularData.as
+++ frameworks/projects/automation/src/mx/automation/tabularData/ChartBaseTabularData.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.automation.tabularData
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 18868
Author:   clucier@adobe.com
Date:     2010-11-30T19:23:43.080694Z

Log Message:
-----------
Adding simple zoom view transition.

QE notes: None
Doc notes: None
Bugs: None
Reviewer: Chiedo
Tests run: Checkin
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransitionMode.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransition.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransitionMode.as
+++ frameworks/projects/mobilecomponents/src/spark/transitions/ZoomViewTransitionMode.as
@@ -0,0 +1,43 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2010 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package spark.transitions
+{
+
+/**
+ *  The ZoomTransitionMode class provides the constants used when hinting
+ *  the style mode of a zoom transition instance.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 2.5
+ *  @productversion Flex 4.5
+ */
+public class ZoomViewTransitionMode
+{
+    //--------------------------------------------------------------------------
+    //
+    //  Class constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The new view zooms in to cover the previous view.
+     */
+    public static const IN:String = "in";
+
+    /**
+     * The previous view zooms out to reveal the new view.
+     */
+    public static const OUT:String = "out";
+}
+
+}


NORMAL でのミュート判定を修正

NORMAL でのミュート判定を修正

--- project/SoundConductor/src/jp/hiiragi/managers/soundConductor/AbstractPlayingData.as
+++ project/SoundConductor/src/jp/hiiragi/managers/soundConductor/AbstractPlayingData.as
@@ -708,9 +708,11 @@
 		 */
 		private function validateUnmutable():Boolean
 		{
-			// マスターのミュート状態と、（グループに所属している場合は）グループのミュート状態を見て、音を出せる状態であれば出す
-
-			var unmutable:Boolean = !SoundConductor.isMute;
+			// 下記の条件を満たした場合、ミュート解除可能（実質はコントローラの有効化が可能）とみなす
+			// ・マスターボリュームがミュートされていない
+			// ・自身がミュートされていない
+			// ・グループボリュームがアサインされている場合、それがミュートされていない
+			var unmutable:Boolean = !_isMute && !SoundConductor.isMute;
 			if (_soundGroupController != null)
 			{
 				unmutable = !_soundGroupController.isMute;


Transferred from the Adobe Open Source Subversion Repository

Revision: 1280
Author:   jimurphy@adobe.com
Date:     2008-04-18T00:47:49.350652Z

Log Message:
-----------
merge 3.0.x[1266:1266] -> trunk

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/config/ConfigMap.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</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/rpc/src/mx/rpc/soap/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/MultiTopicProducer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/QualifiedResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/Producer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/http/mxml/HTTPService.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/soap/mxml/Operation.as</path>

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

--- frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as
+++ frameworks/projects/framework/src/mx/effects/effectClasses/CompositeEffectInstance.as
@@ -314,8 +314,7 @@
 	}

 	/**
-	 *  Used internally to keep track of the value of
-	 *  the playheadTime property.
+	 *  @private
 	 */
 	public function onTweenUpdate(value:Object):void
 	{
@@ -325,8 +324,7 @@
 	}

 	/**
-	 *  Used internally to keep track of the value of
-	 *  the playheadTime property.
+	 *  @private
 	 */
 	public function onTweenEnd(value:Object):void
 	{


Added resolution independence (see revision 215)

Changed the TUIO object to a DisplayObject...

--- AS3/int/com/touchlib/TUIO.as
+++ AS3/int/com/touchlib/TUIO.as
@@ -14,7 +14,7 @@
 import flash.text.TextFieldAutoSize;
 import flash.text.TextFormat;
 //import flash.events.MouseEvent;
-import flash.display.Sprite;
+import flash.display.*;
 import app.core.element.Wrapper;
 import flash.events.MouseEvent;
 //import com.tweener.transitions.Tweener;
@@ -24,7 +24,7 @@
 		static var FLOSCSocket:XMLSocket;
 		static var FLOSCSocketHost:String;
 		static var FLOSCSocketPort:Number;
-		static var thestage:Sprite;
+		static var thestage:DisplayObject;
 		static var objectArray:Array;
 		static var idArray:Array;

@@ -38,14 +38,11 @@
 		static var xmlPlaybackURL:String = "";
 		static var xmlPlaybackLoader:URLLoader;
 		static var playbackXML:XML;
-
-		static var stagewidth:int;
-		static var stageheight:int;
-
+
 		static var bInitialized = false;

-		public static function init (s:Sprite, host:String, port:Number, debugXMLFile:String, dbug:Boolean = true):void
+		public static function init (s:DisplayObject, host:String, port:Number, debugXMLFile:String, dbug:Boolean = true):void
 		{
 			if(bInitialized)
 				return;
@@ -53,10 +50,6 @@
 			FLOSCSocketHost=host;
 			FLOSCSocketPort=port;
 			bInitialized = true;
-			stagewidth = s.stage.stageWidth;
-			stageheight = s.stage.stageHeight;
-			//stagewidth = 1024;
-			//stageheight = 786;
 			thestage = s;
 			objectArray = new Array();
 			idArray = new Array();
@@ -100,11 +93,11 @@

 				var buttonSprite = new Sprite();
 				buttonSprite.graphics.beginFill(0xFFFFFF,1.0);
-				buttonSprite.graphics.drawRoundRect(0, -10, 50, 60,10);
+				buttonSprite.graphics.drawRoundRect(0, -10, 50, 60,10);
+
 				buttonSprite.addEventListener(MouseEvent.CLICK, toggleDebug);

 				var WrapperObject:Wrapper = new Wrapper(buttonSprite);
-
 				thestage.parent.addChild(WrapperObject);

@@ -227,8 +220,8 @@
 						{
 							var sID = node.ARGUMENT[1].@VALUE;
 							var id = node.ARGUMENT[2].@VALUE;
-							var x = Number(node.ARGUMENT[3].@VALUE) * stagewidth;
-							var y = Number(node.ARGUMENT[4].@VALUE) * stageheight;
+							var x = Number(node.ARGUMENT[3].@VALUE) * thestage.stage.stageWidth;
+							var y = Number(node.ARGUMENT[4].@VALUE) * thestage.stage.stageHeight;
 							var a = Number(node.ARGUMENT[5].@VALUE);
 							var X = Number(node.ARGUMENT[6].@VALUE);
 							var Y = Number(node.ARGUMENT[7].@VALUE);
@@ -290,8 +283,8 @@
 						if(type == "set")
 						{
 							var id = node.ARGUMENT[1].@VALUE;
-							var x = Number(node.ARGUMENT[2].@VALUE) * stagewidth;
-							var y = Number(node.ARGUMENT[3].@VALUE) * stageheight;
+							var x = Number(node.ARGUMENT[2].@VALUE) * thestage.stage.stageWidth;
+							var y = Number(node.ARGUMENT[3].@VALUE) *  thestage.stage.stageHeight;
 							var X = Number(node.ARGUMENT[4].@VALUE);
 							var Y = Number(node.ARGUMENT[5].@VALUE);
 							var m = node.ARGUMENT[6].@VALUE;
@@ -368,7 +361,7 @@
 					if(debugMode)
 					{
 						debugText.appendText("  " + (i + 1) +" - " +objectArray[i].ID + "  X:" + int(objectArray[i].x) + "  Y:" + int(objectArray[i].y) + "  \n");
-						debugText.x = stagewidth-160;
+						debugText.x = thestage.stage.stageWidth-160;
 						debugText.y = 40;
 					}
 					}


Transferred from the Adobe Open Source Subversion Repository

Revision: 13208
Author:   chaase@adobe.com
Date:     2009-12-23T21:49:14.524642Z

Log Message:
-----------
Dealt with my FIXMEs in the code. Some went away (no longer issues), some became TODOs (still issues, but nothing that we have to solve in this release), a couple were actually resolved in this change (like the bug filed/fixed: 24848).

QE notes: 10 failures in Mustella of tests that need to be changed. They're excluded for now and QE has local fixes.
Doc notes: None
Bugs: SDK-24848
Reviewer: Jason
Tests run: checkintests, Mustella (spark/effects, mx/effects)
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Animation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransitionShaderInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/MotionPath.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Move.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/PropertyChanges.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.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/effects/Effect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Rotate3D.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/animation/Timeline.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/supportClasses/MoveInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AddAction.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/Scale.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/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/EffectTargetFilter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/RemoveAction.as</path>

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

--- frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as
+++ frameworks/projects/spark/src/spark/effects/supportClasses/AnimateTransformInstance.as
@@ -246,7 +246,7 @@
         }
     }

-    // FIXME (chaase): This function appears in multiple places. Maybe
+    // TODO (chaase): This function appears in multiple places. Maybe
     // put it in some util class instead?
     /**
      * @private
@@ -354,8 +354,6 @@
         else
         {
             motionPaths = new Vector.<MotionPath>();
-            // FIXME (chaase): too early to reset instanceStartTime - might use
-            // it below
             instanceStartTime = newEffectStartTime;
         }
         if (!added)
@@ -443,11 +441,6 @@
         }
     }

-
-    // FIXME (chaase): This probably belongs at the AnimateTransform level,
-    // and make sure that it only kicks in when AnimateTransform is used
-    // explicitly; Someone performing a Move may not also want to
-    // automatically animate the rotation properties.
     /**
      * @private
      *
@@ -635,7 +628,7 @@
      */
     override protected function getCurrentValue(property:String):*
     {
-        // FIXME (chaase): we're recalculating the transform for every
+        // TODO (chaase): we're recalculating the transform for every
         // component of the translation. We should store/retrieve the
         // translation property as a structure instead of separate values
         switch(property)


Update idiomesAnimation.as

Update idiomesAnimation.as

--- com/segonquart/idiomesAnimation.as
+++ com/segonquart/idiomesAnimation.as
@@ -7,7 +7,7 @@
   	private var arrayLang_arr:Array = new Array ("cat", "es", "en", "fr");

-	function idiomesAnimation():Void
+	public function idiomesAnimation()
 		{
 			this.stop();
 			this.onEnterFrame = this.enterSlide;
@@ -17,19 +17,16 @@

 	private function enterSlide()
                 {
-
 			arrayLang_arr[0].slideTo('0', '-40', 0.6, 'easeInOutBack', 1);
 			arrayLang_arr[1].slideTo('0', '-40', 0.8, 'easeInOutBack', 1.1);
 			arrayLang_arr[2].slideTo('0', '-40', 0.9, 'easeInOutBack', 1.2);
 			arrayLang_arr[3].slideTo('0', '-40', 1, 'easeInOutBack', 1.3);

-
 		}

 	public function IdiomesColour()
 		{
-
-			this.onRelease = this arrayColour;
+			this.onRelease = this.arrayColour;

 			target = this.arrayLang_arr[i];
 			target._tint = 0x8DC60D;


Multi-node movement by Ctrl + arrows.

Multi-node movement by Ctrl + arrows.

--- Bin/Data/Scripts/Editor/EditorCamera.as
+++ Bin/Data/Scripts/Editor/EditorCamera.as
@@ -455,7 +455,7 @@
     }

     // Move/rotate/scale object
-    if (editNode !is null && ui.focusElement is null && input.keyDown[KEY_LCTRL])
+    if (!selectedNodes.empty && ui.focusElement is null && input.keyDown[KEY_LCTRL])
     {
         bool changed = false;
         Vector3 adjust(0, 0, 0);
@@ -491,9 +491,14 @@
             case OBJ_MOVE:
                 if (!moveSnap)
                 {
-                    if (axisMode == AXIS_LOCAL)
-                        adjust = editNode.rotation * adjust;
-                    editNode.position = editNode.position + adjust * moveStep;
+                    for (uint i = 0; i < selectedNodes.length; ++i)
+                    {
+                        Node@ node = selectedNodes[i];
+                        Vector3 nodeAdjust = adjust;
+                        if (axisMode == AXIS_LOCAL)
+                            nodeAdjust = node.rotation * nodeAdjust;
+                        node.position = node.position + nodeAdjust * moveStep;
+                    }
                     changed = true;
                 }
                 break;
@@ -501,11 +506,15 @@
             case OBJ_ROTATE:
                 if (!rotateSnap)
                 {
-                    Vector3 euler = editNode.rotation.eulerAngles;
-                    euler.x += adjust.z * rotateStep;
-                    euler.y += adjust.x * rotateStep;
-                    euler.z += adjust.y * rotateStep;
-                    editNode.rotation = Quaternion(euler);
+                    for (uint i = 0; i < selectedNodes.length; ++i)
+                    {
+                        Node@ node = selectedNodes[i];
+                        Vector3 euler = node.rotation.eulerAngles;
+                        euler.x += adjust.z * rotateStep;
+                        euler.y += adjust.x * rotateStep;
+                        euler.z += adjust.y * rotateStep;
+                        node.rotation = Quaternion(euler);
+                    }
                     changed = true;
                 }
                 break;
@@ -513,7 +522,11 @@
             case OBJ_SCALE:
                 if (!scaleSnap)
                 {
-                    editNode.scale = editNode.scale + adjust * scaleStep;
+                    for (uint i = 0; i < selectedNodes.length; ++i)
+                    {
+                        Node@ node = selectedNodes[i];
+                        node.scale = node.scale + adjust * scaleStep;
+                    }
                     changed = true;
                 }
                 break;
@@ -527,7 +540,7 @@

 void SteppedObjectManipulation(int key)
 {
-    if (editNode is null)
+    if (selectedNodes.empty)
         return;

     // Do not react in non-snapped mode, because that is handled in frame update
@@ -565,11 +578,14 @@
     switch (moveMode)
     {
     case OBJ_MOVE:
+        for (uint i = 0; i < selectedNodes.length; ++i)
         {
+            Node@ node = selectedNodes[i];
+            Vector3 nodeAdjust = adjust;
             if (axisMode == AXIS_LOCAL)
-                adjust = editNode.rotation * adjust;
-
-            Vector3 pos = editNode.position;
+                nodeAdjust = node.rotation * nodeAdjust;
+
+            Vector3 pos = node.position;
             if (adjust.x != 0)
             {
                 pos.x += adjust.x * moveStep;
@@ -585,13 +601,15 @@
                 pos.z += adjust.z * moveStep;
                 pos.z = Floor(pos.z / moveStep + 0.5) * moveStep;
             }
-            editNode.position = pos;
+            node.position = pos;
         }
         break;

     case OBJ_ROTATE:
+        for (uint i = 0; i < selectedNodes.length; ++i)
         {
-            Vector3 rot = editNode.rotation.eulerAngles;
+            Node@ node = selectedNodes[i];
+            Vector3 rot = node.rotation.eulerAngles;
             if (adjust.z != 0)
             {
                 rot.x += adjust.z * rotateStep;
@@ -607,13 +625,15 @@
                 rot.z += adjust.y * rotateStep;
                 rot.z = Floor(rot.z / rotateStep + 0.5) * rotateStep;
             }
-            editNode.rotation = Quaternion(rot);
+            node.rotation = Quaternion(rot);
         }
         break;

     case OBJ_SCALE:
+        for (uint i = 0; i < selectedNodes.length; ++i)
         {
-            Vector3 scale = editNode.scale;
+            Node@ node = selectedNodes[i];
+            Vector3 scale = node.scale;
             if (adjust.x != 0)
             {
                 scale.x += adjust.x * scaleStep;
@@ -629,7 +649,7 @@
                 scale.z += adjust.z * scaleStep;
                 scale.z = Floor(scale.z / scaleStep + 0.5) * scaleStep;
             }
-            editNode.scale = scale;
+            node.scale = scale;
         }
         break;
     }


Make the MovieClip constructor native

Make the MovieClip constructor native

No need to generate code for this: we already have the correct native ctor in place.

--- src/flash/display/MovieClip.as
+++ src/flash/display/MovieClip.as
@@ -17,7 +17,7 @@
 package flash.display {
 [native(cls='MovieClipClass')]
 public dynamic class MovieClip extends Sprite {
-  public function MovieClip() {}
+  public native function MovieClip();
   public native function get currentFrame():int;
   public native function get framesLoaded():int;
   public native function get totalFrames():int;


remove timer event listener on dispose()

should reduce memory leaks
related to https://github.com/mangui/flashls/pull/414

--- src/com/pivotshare/hls/loader/FragmentLoader.as
+++ src/com/pivotshare/hls/loader/FragmentLoader.as
@@ -213,6 +213,7 @@
          */
         public function dispose() : void {
             stop();
+            _timer.removeEventListener(TimerEvent.TIMER, _checkLoading);
             _hls.removeEventListener(HLSEvent.MANIFEST_LOADED, _manifestLoadedHandler);
             _hls.removeEventListener(HLSEvent.LEVEL_LOADED, _levelLoadedHandler);
             _hls.removeEventListener(HLSEvent.LEVEL_LOADING_ABORTED, _levelLoadingAbortedHandler);


asdoc

asdoc

--- src/com/kemsky/Stream.as
+++ src/com/kemsky/Stream.as
@@ -449,8 +449,8 @@

         /**
          * Creates a new stream that contains count of items starting from offset.
-         * @param count Maximum items to take.
-         * @param offset Index to start from.
+         * @param count The maximum items to take.
+         * @param offset The index to start from.
          * @return A new stream that contains count of items starting from offset.
          */
         public function take(count:int, offset:uint = 0):Stream
@@ -500,7 +500,7 @@
         }

         /**
-         * Returns new ArrayCollection created from items of current Stream
+         * Returns a new ArrayCollection created from items of current Stream
          */
         public function collection():ArrayCollection
         {
@@ -509,7 +509,7 @@

         /**
-         * Returns new ArrayList created from items of current Stream
+         * Returns a new ArrayList created from items of current Stream
          */
         public function list():ArrayList
         {
@@ -517,7 +517,7 @@
         }

         /**
-         * Returns new Array created from items of current Stream
+         * Returns a new Array created from items of current Stream
          */
         public function array():Array
         {
@@ -526,8 +526,8 @@

         /**
          * Creates new Dictionary from current Stream using specified property as keys
-         * @param property name of the property to be used as key
-         * @param weak create Dictionary with weak keys
+         * @param property The name of the property to be used as key
+         * @param weak Create a Dictionary with weak keys
          * @return A new Dictionary from current Stream using specified property as keys
          */
         public function dictionary(property:String, weak:Boolean = false):Dictionary
@@ -562,8 +562,8 @@
         }

         /**
-         * Creates new Object from current Stream using specified property as keys
-         * @param property name of the property to be used as key
+         * Creates new Object from the current stream using specified property as keys
+         * @param property The name of the property to be used as key.
          * @return A new Object from current Stream using specified property as keys
          */
         public function object(property:String):Object
@@ -581,9 +581,9 @@
         }

         /**
-         * Creates a copy of current Stream
-         * @param deep create deep copy using AMF serialization trick
-         * @return A copy of current Stream
+         * Creates a copy of current stream
+         * @param deep Create a deep copy using AMF serialization.
+         * @return A copy of current stream.
          */
         public function clone(deep:Boolean = false):Stream
         {


Updated FP.shuffle() to make it faster.

Updated FP.shuffle() to make it faster.

--- net/flashpunk/FP.as
+++ net/flashpunk/FP.as
@@ -480,16 +480,12 @@
 		 */
 		public static function shuffle(a:Array):Array
 		{
-			var l:int = a.length,
-				b:Array = a.concat(),
-				n:int = 0,
-				r:int;
-			a.length = 0;
-			while (l)
-			{
-				r = FP.rand(l --);
-				a[n ++] = b[r];
-				if (r < l) b[r] = b[l];
+			var i:int = a.length, j:int, t:Number;
+			while (i --)
+			{
+				t = a[i];
+				a[i] = a[j = FP.rand(i + 1)];
+				a[j] = t;
 			}
 			return a;
 		}


small optimization on the bootstrap of the BoundingBox.testRay() method

--- src/aerys/minko/type/bounding/BoundingBox.as
+++ src/aerys/minko/type/bounding/BoundingBox.as
@@ -17,7 +17,8 @@
 	{
 		use namespace minko_math;

-		private static const TMP_VECTOR4	: Vector4	= new Vector4();
+		private static const TMP_VECTOR4_1	: Vector4	= new Vector4();
+		private static const TMP_VECTOR4_2	: Vector4	= new Vector4();

 		minko_math var _min			: Vector4			= new Vector4();
 		minko_math var _max			: Vector4			= new Vector4();
@@ -70,18 +71,20 @@
 								transform	: Matrix4x4	= null,
 								maxDistance	: Number	= Number.POSITIVE_INFINITY) : Number
 		{
-			var localOrigin 	: Vector4	= transform
-				? transform.transformVector(ray.origin, TMP_VECTOR4)
-				: ray.origin;
-			var ox				: Number	= localOrigin.x;
-			var oy				: Number	= localOrigin.y;
-			var oz				: Number	= localOrigin.z;
+			var localOrigin 	: Vector4	= ray.origin;
+			var localDirection	: Vector4	= ray.direction;

-			var localDirection	: Vector4	= transform
-				? transform.deltaTransformVector(ray.direction, TMP_VECTOR4)
-				: ray.direction;
-
-			localDirection.normalize();
+			if (transform)
+			{
+				localOrigin = transform.transformVector(ray.origin, TMP_VECTOR4_1);
+
+				localDirection = transform.deltaTransformVector(ray.direction, TMP_VECTOR4_2);
+				localDirection.normalize();
+			}
+
+			var ox		: Number	= localOrigin.x;
+			var oy		: Number	= localOrigin.y;
+			var oz		: Number	= localOrigin.z;

 			var dx		: Number	= 1.0 / localDirection.x;
 			var dy		: Number	= 1.0 / localDirection.y;


Fixed coding style

Fixed coding style

--- src/aerys/minko/type/loader/AssetsLibrary.as
+++ src/aerys/minko/type/loader/AssetsLibrary.as
@@ -25,22 +25,22 @@
 			initializeSignals();
 		}

-		public function get materials():Object
+		public function get materials() : Object
 		{
 			return _materials;
 		}

-		public function get textures():Object
+		public function get textures() : Object
 		{
 			return _textures;
 		}

-		public function get geometries():Object
+		public function get geometries() : Object
 		{
 			return _geometries;
 		}

-		private function initialize():void
+		private function initialize() : void
 		{
 			_geometries		= {};
 			_textures		= {};
@@ -54,7 +54,7 @@
 			_nameToLayer	= {};
 		}

-		private function initializeSignals():void
+		private function initializeSignals() : void
 		{
 			_geometryAdded	= new Signal('AssetsLibrary.geometryAdded');
 			_textureAdded	= new Signal('AssetsLibrary.textureAdded');
@@ -62,22 +62,22 @@
 			_layerAdded		= new Signal('AssetsLibrary.layerAdded');
 		}

-		public function get layerAdded():Signal
+		public function get layerAdded() : Signal
 		{
 			return _layerAdded;
 		}

-		public function get materialAdded():Signal
+		public function get materialAdded() : Signal
 		{
 			return _materialAdded;
 		}

-		public function get textureAdded():Signal
+		public function get textureAdded() : Signal
 		{
 			return _textureAdded;
 		}

-		public function get geometryAdded():Signal
+		public function get geometryAdded() : Signal
 		{
 			return _geometryAdded;
 		}


include a UTF-8 string in values.as

include a UTF-8 string in values.as

--- test/trace/values.as
+++ test/trace/values.as
@@ -35,7 +35,7 @@
   null,
   true, false,
   0, 1, 0.5, -1, -0.5, Infinity, -Infinity, NaN,
-  "", "0", "-0", "0.0", "1", "Hello World!", "true", "_level0",
+  "", "0", "-0", "0.0", "1", "Hello World!", "true", "_level0", "äöü",
   this, new Object (), Function, printall, printtostring, printvalueof, nothing ];

 var l = values.length;


Transferred from the Adobe Open Source Subversion Repository

Revision: 6404
Author:   rfrishbe@adobe.com
Date:     2009-04-30T00:34:09.399480Z

Log Message:
-----------
Finishing up VideoPlayer/VideoElement. Added support for streaming videos and fixed a few of the bugs.  Added the skins from XD.  These still need a little tweaking, and I'll go over them with XD. For the skins, I had to add some new sub-components, like the VideoPlayerVolumeBar and VideoPlayScrubBar.

Also added 3 new events for TrackBase (thumbDrag, thumbPress, thumbRelease).  These were in Halo's Slider, and I needed them for the VideoPlayerScrubBar.

Also fixed some other bugs, like needing to call removeDynamicPartInstance() on the Slider when the dataTip is removed.  Also fixed a bug around alternatingItemsColor for ItemRenderer.

QE Notes: -
Doc Notes: -
Bugs: SDK-19486, SDK-20105, SDK-20789
Reviewer: Glenn, Jason
tests: checkintests, some mustella tests were failing, but seemed like random 1 pixel differences in DropDownList.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBarMuteButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerPlayPauseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/DropDownList.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerScrubBarSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarTrackSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarMuteButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerVolumeBar.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/StreamItem.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/spark-manifest.xml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarMuteButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenScrubBarThumbSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenScrubBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarThumbSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/primitives/VideoElement.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/DropDownController.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/HSlider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/StreamingVideoSource.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/Flex4Classes.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerScrubBarThumbSkin.mxml</path>
<path kind="file" action="D">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerMuteButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/defaults.css</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenScrubBarTrackSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VideoPlayerScrubBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/VSlider.as</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenVolumeBarThumbSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenFullScreenButtonSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerVolumeBarTrackSkin.mxml</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerFullScreenPlayPauseButtonSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/templates/swfobject/index.template.html</path>
<path kind="file" action="A">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/skins/default/VideoPlayerScrubBarTrackSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/SkinnableComponent.as</path>

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

--- frameworks/projects/spark/src/SparkClasses.as
+++ frameworks/projects/spark/src/SparkClasses.as
@@ -62,6 +62,9 @@
 import spark.skins.default.TextInputSkin; TextInputSkin;
 import spark.skins.default.ToggleButtonSkin; ToggleButtonSkin;
 import spark.skins.default.VideoPlayerSkin; VideoPlayerSkin;
+import spark.skins.default.VideoPlayerScrubBarSkin; VideoPlayerScrubBarSkin;
+import spark.skins.default.VideoPlayerVolumeBarSkin; VideoPlayerVolumeBarSkin;
+import spark.skins.default.VideoPlayerVolumeBarMuteButtonSkin; VideoPlayerVolumeBarMuteButtonSkin;
 import spark.skins.default.VScrollBarSkin; VScrollBarSkin;
 import spark.skins.default.VScrollBarThumbSkin; VScrollBarThumbSkin;
 import spark.skins.default.VScrollBarTrackSkin; VScrollBarTrackSkin;


updating API version for Flash SWC

updating API version for Flash SWC

--- src/com/google/analytics/API.as
+++ src/com/google/analytics/API.as
@@ -23,9 +23,6 @@

     public class API
     {
-        public function API()
-        {
-        }

         /**
         * version of Google Analytics AS3 API


Added this, since we do it lots of places and it often looks like an error.

git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@617 ed5b42cb-e716-0410-a449-f6a68f950b19

--- src/as/com/threerings/flex/FlexUtil.as
+++ src/as/com/threerings/flex/FlexUtil.as
@@ -23,6 +23,8 @@

 import mx.controls.Label;
 import mx.controls.Spacer;
+
+import mx.core.UIComponent;

 /**
  * Flex-related utility methods.
@@ -52,5 +54,16 @@
         spacer.height = height;
         return spacer;
     }
+
+    /**
+     * In flex the 'visible' property controls visibility separate from whether
+     * the component takes up space in the layout, which is controlled by 'includeInLayout'.
+     * We usually want to set them together, so this does that for us.
+     */
+    public static function setVisible (component :UIComponent, visible :Boolean) :void
+    {
+        component.visible = visible;
+        component.includeInLayout = visible;
+    }
 }
 }


Updated width/height getters and removed the bufferRect getter.

--- net/flashpunk/graphics/Image.as
+++ net/flashpunk/graphics/Image.as
@@ -231,11 +231,6 @@
 		 */
 		public function get clipRect():Rectangle { return _sourceRect; }

-		/**
-		 * Clipping rectangle for the buffer.
-		 */
-		public function get bufferRect():Rectangle { return _bufferRect; }
-
 		/** @private Source BitmapData image. */
 		protected function get source():BitmapData { return _source; }


Added contains method

Added contains method

--- src/Modi/ManagedArray.as
+++ src/Modi/ManagedArray.as
@@ -168,6 +168,11 @@
 		{
 			return _data.indexOf(searchElement, fromIndex);
 		}
+
+        public function contains(element:ManagedObject):Boolean
+        {
+            return indexOf(element) != -1;
+        }

 		public function lastIndexOf(searchElement:ManagedObject, fromIndex:int = 0x7fffffff):int
 		{


Transferred from the Adobe Open Source Subversion Repository

Revision: 3601
Author:   chaase@adobe.com
Date:     2008-10-13T21:25:23.673885Z

Log Message:
-----------
Fix for sdk-17172. Extends to all effects the behavior in Flex4 effects of setting the end-state values when an effect is done, rather than the previous behavior in Flex 3 of letting an effect override these values and just animate to whatever values they set. Now this behavior is default for all effects, including Action effects, with a backward-compatible opt-out or a protected variable that subclasses of Effect can choose to override.

reviewed by Ryan
tets: checkintests

Modified Paths:
--------------
<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/CompositeEffect.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/mx/effects/FxAnimate.as</path>

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

--- frameworks/projects/framework/src/mx/effects/Effect.as
+++ frameworks/projects/framework/src/mx/effects/Effect.as
@@ -14,8 +14,8 @@

 import flash.events.Event;
 import flash.events.EventDispatcher;
-import flash.utils.getQualifiedClassName;
-
+
+import mx.core.FlexVersion;
 import mx.core.IFlexDisplayObject;
 import mx.core.mx_internal;
 import mx.effects.effectClasses.AddRemoveEffectTargetFilter;
@@ -192,15 +192,20 @@
     // applyTransitionEndProperties flag, which is set on a per-Effect basis.
     mx_internal var applyEndValuesWhenDone:Boolean = false;

-    // TODO: consider making this attribute protected (vs. mx_internal)
-    // This flag controls whether a given Effect, when being played as
-    // part of a view state transition, wishes to replace any
-    // transient state set during its animation by the values declared
-    // in the ending view state (as captured by the propertyChanges
-    // array). For now, this flag is set to true by the new effects
-    // in Flex4 as well as the old CompositeEffect classes. Other effects
-    // leave the flag false for backward compatibility.
-    mx_internal var applyTransitionEndProperties:Boolean = false;
+    // This is new behavior for the Flex4 effects; previously, we would not
+    // set the end-state values automatically. Because of this switch, the
+    // default value is hinged on a compatibility check, so that applications
+    // can choose to have the older behavior instead.
+    /**
+     * This flag controls whether the effect, when run in a transition,
+     * will automatically apply the property values according to the end
+     * state, as opposed to leaving values as set by the effect itself.
+     *
+     * @default true
+     */
+    protected var applyTransitionEndProperties:Boolean =
+        (FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0) ?
+        false : true;

     /**
      *  @private


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

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

 package mx.effects
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 9932
Author:   smgilson@adobe.com
Date:     2009-09-02T19:17:26.077257Z

Log Message:
-----------
Add ASDoc version tags to new or untagged classes - Part 2

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

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/SimpleXMLDecoder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/RectangularBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/Responder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RectangularDropShadow.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/OverrideBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/RichTextEditor.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/mxml/RemoteObject.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/remoting/Operation.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/SparkChromeWindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/skins/spark/WindowedApplicationSkin.mxml</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/rpc/src/mx/rpc/xml/IXMLSchemaInstance.as</path>

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

--- frameworks/projects/framework/src/mx/events/Request.as
+++ frameworks/projects/framework/src/mx/events/Request.as
@@ -16,7 +16,12 @@

 /**
  *  This is an event that is expects its data property to be set by
- *  a responding listener
+ *  a responding listener.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class Request extends Event
 {
@@ -34,29 +39,34 @@
     //
     //--------------------------------------------------------------------------

-	/**
-	 *  Constructor. Does not return anything, but the value property can be modified
-     	 *  to represent a return value of a method.
-	 *
-	 *  @param type The event type; indicates the action that caused the event.
-	 *
-	 *  @param bubbles Specifies whether the event can bubble up the display list hierarchy.
-	 *
-	 *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
-	 *
-	 *  @param name Name of a property or method or name of a manager to instantiate.
-     	 *
-	 *  @param value Value of a property, or an array of parameters
-     	 *  for a method (if not null).
-	 */
-	public function Request(type:String, bubbles:Boolean = false,
+    /**
+     *  Constructor. Does not return anything, but the value property can be modified
+     *  to represent a return value of a method.
+     *
+     *  @param type The event type; indicates the action that caused the event.
+     *
+     *  @param bubbles Specifies whether the event can bubble up the display list hierarchy.
+     *
+     *  @param cancelable Specifies whether the behavior associated with the event can be prevented.
+     *
+     *  @param name Name of a property or method or name of a manager to instantiate.
+     *
+     *  @param value Value of a property, or an array of parameters
+     *  for a method (if not null).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
+     */
+    public function Request(type:String, bubbles:Boolean = false,
                                  cancelable:Boolean = false,
-							     value:Object = null)
-	{
-		super(type, bubbles, cancelable);
+                                 value:Object = null)
+    {
+        super(type, bubbles, cancelable);

-		this.value = value;
-	}
+        this.value = value;
+    }

     //--------------------------------------------------------------------------
     //
@@ -69,26 +79,31 @@
     //----------------------------------

     /**
-     *  Value of property, or array of parameters for method.
+     *  Value of property, or array of parameters for method.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
-	public var value:Object;
+    public var value:Object;

-	//--------------------------------------------------------------------------
-	//
-	//  Overridden methods: Event
-	//
-	//--------------------------------------------------------------------------
+    //--------------------------------------------------------------------------
+    //
+    //  Overridden methods: Event
+    //
+    //--------------------------------------------------------------------------

-	/**
- 	 *  @private
-	 */
-	override public function clone():Event
-	{
-		var cloneEvent:Request = new Request(type, bubbles, cancelable,
+    /**
+     *  @private
+     */
+    override public function clone():Event
+    {
+        var cloneEvent:Request = new Request(type, bubbles, cancelable,
                                                  value);

-		return cloneEvent;
-	}
+        return cloneEvent;
+    }

 }


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

--- frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as
+++ frameworks/projects/rpc/src/mx/rpc/wsdl/WSDLBinding.as
@@ -20,6 +20,11 @@
  *

  * Currently only SOAP binding is supported for WSDL.
  *

+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class WSDLBinding
 {
@@ -28,6 +33,11 @@
     * supported for WSDL.
     *
     * @param name The unique name of this binding.
+    *
+    *  @langversion 3.0
+    *  @playerversion Flash 9
+    *  @playerversion AIR 1.1
+    *  @productversion Flex 3
     */
     public function WSDLBinding(name:String)
     {
@@ -44,6 +54,11 @@

     /**
      * The unique name of this binding.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get name():String
     {
@@ -53,6 +68,11 @@
     /**
      * The portType for this binding which provides the interface definitions
      * for the operations of this binding.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get portType():WSDLPortType
     {
@@ -73,6 +93,11 @@
      *

      * The default is document.
      *

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get style():String
     {
@@ -93,6 +118,11 @@
      * URI of the transport used to send SOAP encoded messages.
      * The default URI is http://schemas.xmlsoap.org/soap/http/ which signifies
      * SOAP over HTTP (and is currently the only transport supported).
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 9
+     *  @playerversion AIR 1.1
+     *  @productversion Flex 3
      */
     public function get transport():String
     {