Get all children that lays on stage from target swf file

--- src/com/merlinds/miracle_tool/controllers/SWFSeparatorCommand.as
+++ src/com/merlinds/miracle_tool/controllers/SWFSeparatorCommand.as
@@ -13,6 +13,7 @@
 	import com.merlinds.miracle_tool.models.vo.SourceVO;

 	import flash.display.DisplayObject;
+	import flash.display.DisplayObjectContainer;
 	import flash.display.MovieClip;
 	import flash.geom.Point;

@@ -38,11 +39,14 @@
 		override public function execute():void {
 			log(this, "execute");
 			var source:SourceVO = this.projectModel.inProgress;
-			_target = this.event.body;
-			if(_target){
+			var container:DisplayObjectContainer = this.event.body;
+			if(container != null){
 				_elements = source.elements;
-				_target = _target.getChildAt(0) as MovieClip;
-				this.getElements();
+				var n:int = container.numChildren;
+				for(var i:int = 0; i < n; i++){
+					_target = container.getChildAt(i) as MovieClip;
+					this.getElements();
+				}
 				this.projectModel.outputSize = _outputSize;
 				log(this, "execute", "End separation");
 			}


Use correct timestamp for frame ready when starting with an offset.

--- src/com/axis/rtspclient/FLVMux.as
+++ src/com/axis/rtspclient/FLVMux.as
@@ -388,7 +388,7 @@
       container.writeUnsignedInt(size + 11);
       this.lastTimestamp = ts;

-      createFLVTag(ts);
+      createFLVTag(nalu.timestamp);
     }

     public function createAudioTag(name:String, frame:*):void {
@@ -439,7 +439,7 @@
       container.writeUnsignedInt(size);
       this.lastTimestamp = ts;

-      createFLVTag(ts);
+      createFLVTag(frame.timestamp);
     }

     public function getLastTimestamp():Number {


Tweaked alecmce's changes: corrected swapped error messages, inlined two methods to simple conditional, changed private to protected.

--- src/org/osflash/signals/Signal.as
+++ src/org/osflash/signals/Signal.as
@@ -53,8 +53,8 @@
 			if (eventClass && !listener.length)
 				throw new ArgumentError('Listener must declare at least 1 argument when eventClass is specified.');

-			if (onetimeListenerRelationshipExists(listener))
-				throw new AmbiguousRelationshipError('You cannot add a listener then addOnce the same listener without removing the relationship first.');
+			if (onceListeners[listener])
+				throw new AmbiguousRelationshipError('You cannot addOnce() then add() the same listener without removing the relationship first.');

 			createListenerRelationship(listener, priority);
 		}
@@ -75,8 +75,8 @@
 			if (eventClass && !listener.length)
 				throw new ArgumentError('Listener must declare at least 1 argument when eventClass is specified.');

-			if (permanentListenerRelationshipExists(listener))
-				throw new AmbiguousRelationshipError('You cannot addOnce a listener then adds the same listener without removing the relationship first.');
+			if (indexOfListener(listener) >= 0 && !onceListeners[listener])
+				throw new AmbiguousRelationshipError('You cannot add() then addOnce() the same listener without removing the relationship first.');

 			createListenerRelationship(listener, priority);
 			onceListeners[listener] = true;
@@ -159,7 +159,7 @@
 		}

-		private function createListenerRelationship(listener:Function, priority:int):void
+		protected function createListenerRelationship(listener:Function, priority:int):void
 		{
 			var listenerBox:Object = { listener:listener, priority:priority };
 			// Process the first listener as quickly as possible.
@@ -191,24 +191,5 @@
 			listeners.push(listenerBox);
 		}

-
-		private function permanentListenerRelationshipExists(listener:Function):Boolean
-		{
-			if (indexOfListener(listener) == -1)
-				return false;
-
-			return !onceListeners[listener];
-		}
-
-
-		private function onetimeListenerRelationshipExists(listener:Function):Boolean
-		{
-			if (indexOfListener(listener) == -1)
-				return false;
-
-			return onceListeners[listener];
-		}
-
-
 	}
 }


TSDemuxer: ensure timer is not blocked for more than 10ms, in order to smooth the playback

--- src/org/mangui/hls/demux/TSDemuxer.as
+++ src/org/mangui/hls/demux/TSDemuxer.as
@@ -220,6 +220,11 @@
         /** Parse a limited amount of packets each time to avoid blocking **/
         private function _parseTimer(e : Event) : void {
             var start_time : int = getTimer();
+            // if any tags left,
+            if (_tags.length) {
+                _callback_progress(_tags);
+                _tags = new Vector.<FLVTag>();
+            }
             /** Byte data to be read **/
             var data : ByteArray = getNextTSBuffer(_readPosition);
             // dont spend more than 10ms demuxing TS packets to avoid loosing frames
@@ -231,23 +236,29 @@
                     data = getNextTSBuffer(_readPosition);
                 }
             }
-            if (_tags.length) {
-                _callback_progress(_tags);
-                _tags = new Vector.<FLVTag>();
-            }
-            // check if we have finished with reading this TS fragment
-            if (_dataComplete && _readPosition == _totalBytes) {
-                // free ByteArray
-                _dataVector = null;
-                // first check if TS parsing was successful
-                CONFIG::LOGGING {
-                    if (_pmtParsed == false) {
-                        Log.error("TS: no PMT found, report parsing complete");
-                    }
-                }
-                _timer.stop();
-                _flush();
-                _callback_complete();
+            // if we have spare time
+            if((getTimer() - start_time) < 10) {
+                if (_tags.length) {
+                    _callback_progress(_tags);
+                    _tags = new Vector.<FLVTag>();
+                }
+                // if we have spare time
+                if((getTimer() - start_time) < 10) {
+                    // check if we have finished with reading this TS fragment
+                    if (_dataComplete && _readPosition == _totalBytes) {
+                        // free ByteArray
+                        _dataVector = null;
+                        // first check if TS parsing was successful
+                        CONFIG::LOGGING {
+                            if (_pmtParsed == false) {
+                                Log.error("TS: no PMT found, report parsing complete");
+                            }
+                        }
+                        _timer.stop();
+                        _flush();
+                        _callback_complete();
+                    }
+                }
             }
         }


Re-set the position in the byte array so that we can read from it using the
IDataInput methods.

git-svn-id: a3e1eb16dde062992de22c830ed8045c8013209a@72 c613c5cb-e716-0410-b11b-feb51c14d237

--- src/as/com/threerings/ezgame/util/EZObjectMarshaller.as
+++ src/as/com/threerings/ezgame/util/EZObjectMarshaller.as
@@ -62,6 +62,9 @@
             return dest;
         }
         var bytes :ByteArray = (encoded as ByteArray);
+        // re-set the position in case we're decoding the actual same byte
+        // array used to encode (and not a network reconstruction)
+        bytes.position = 0;

         // TODO: Our own decoding, that takes into account
         // the ApplicationDomain


Transferred from the Adobe Open Source Subversion Repository

Revision: 18809
Author:   egeorgie@adobe.com
Date:     2010-11-24T02:39:54.532608Z

Log Message:
-----------
Density Scaling

- Add authorDensity property to the Applicaiton
- Add DensityUtil class and DeviceDensity enum

QE notes:
Doc notes:
Bugs:
Reviewer: Glenn
Tests run: checkintests, cyclone
Is noteworthy for integration: Yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/SystemManager.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/utils/DensityUtil.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ISystemManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/preloaders/SplashScreen.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/tools/dependencychecker/frameworkSwcExceptionsList.txt</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/DeviceDensity.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
+++ frameworks/projects/airframework/src/mx/managers/WindowedSystemManager.as
@@ -272,6 +272,18 @@
     {
         var delta:int = value - _cursorIndex;
         _cursorIndex = value;
+    }
+
+    //----------------------------------
+    //  densityScale
+    //----------------------------------
+
+    /**
+     *  @private
+     */
+    public function get densityScale():Number
+    {
+        return 1;
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 22294
Author:   jszeto@adobe.com
Date:     2011-08-30T21:22:59.162418Z

Log Message:
-----------
SpinnerList bug fixes

SDK-31384 - SpinnerListContainer has a tiny minWidth

Set minWidth to 30

SDK-31382 - SpinnerList should suppress chromeColor and accentColor code hinting since it isn't supported

Added exclude metadata

SDK-31315 - SpinnerList behaviour erratic when selecting items by 'click'

We floor the calculation for the first visible row

SDK-31387 - SpinnerList w/ fixed height doesn't show bottom row

Changed logic in VerticalSpinnerLayout to calculate the max y position using the bottom of the top row, instead of its top.

QE notes: none
Doc notes: none
Bugs: listed above
Reviewer: Tom K, Hans, Eric Day
Tests run: checkintests
Is noteworthy for integration: no

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/scripts/SpinnerListTestScript.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/airMobileBasicTests-config.xml</path>
<path kind="file" action="A">/private/flex/sdk/branches/4.y/frameworks/tests/airMobileBasicTests/src/mobile/views/TestSpinnerList.mxml</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListContainerSkin.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/components/SpinnerList.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/4.y/frameworks/projects/mobilecomponents/src/spark/layouts/VerticalSpinnerLayout.as</path>

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

--- frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as
+++ frameworks/projects/mobiletheme/src/spark/skins/mobile/SpinnerListSkin.as
@@ -182,7 +182,7 @@
 		if (styleProp != "color" && styleProp != "accentColor")
         {
             if (dataGroup)
-                dataGroup.resetTypicalLayoutElement();
+                dataGroup.invalidateTypicalItemRenderer();
         }

         super.styleChanged(styleProp);


Transferred from the Adobe Open Source Subversion Repository

Revision: 22764
Author:   smgilson@adobe.com
Date:     2011-09-28T14:59:26.216966Z

Log Message:
-----------
ASDoc updates

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

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

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

--- frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as
+++ frameworks/projects/spark/src/spark/components/SkinnablePopUpContainer.as
@@ -520,11 +520,15 @@
     }

     /**
-     *  Called by the soft keyboard activate and deactive event handlers, this
-     *  method is responsible for creating the Spark effect played on the pop-up.
+     *  Called by the soft keyboard activate and deactive event handlers,
+     *  this method is responsible for creating the Spark effect played on the pop-up.
      *
      *  This method may be overridden by subclasses. By default, it
      *  creates a parellel move and resize effect on the pop-up.
+     *
+     *  @param yTo The new y-coordinate of the pop-up.
+     *
+     *  @param height The new height of the pop-up.
      *
      *  @return An IEffect instance serving as the move and/or resize transition
      *  for the pop-up. This effect is played after the soft keyboard is


Transferred from the Adobe Open Source Subversion Repository

Revision: 5098
Author:   gauravj@adobe.com
Date:     2009-02-27T02:21:27.489350Z

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:
--------------
151 paths were modified

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -32,6 +32,11 @@
 /**
  *  The base class for GraphicElements such as TextBox and TextGraphic
  *  which display text using CSS styles for the default format.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 10
+ *  @playerversion AIR 1.5
+ *  @productversion Flex 4
  */
 public class TextGraphicElement extends GraphicElement
     implements IAdvancedStyleClient
@@ -62,6 +67,11 @@

     /**
      *  Constructor.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function TextGraphicElement()
     {
@@ -175,6 +185,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get styleName():Object /* String, CSSStyleDeclaration, or UIComponent */
     {
@@ -216,6 +231,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get className():String
     {
@@ -237,6 +257,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get inheritingStyles():Object
     {
@@ -266,6 +291,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get nonInheritingStyles():Object
     {
@@ -294,6 +324,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get styleDeclaration():CSSStyleDeclaration
     {
@@ -320,6 +355,11 @@

     /**
      *  The parent of this component.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get styleParent():IAdvancedStyleClient
     {
@@ -356,6 +396,11 @@

     /**
      *  The text in this element.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get text():String
     {
@@ -388,6 +433,11 @@

     /**
      *  Documentation is not currently available.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function get truncation():int
     {
@@ -441,6 +491,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function styleChanged(styleProp:String):void
     {
@@ -455,6 +510,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getStyle(styleProp:String):*
     {
@@ -465,6 +525,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function setStyle(styleProp:String, newValue:*):void
     {
@@ -473,6 +538,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function clearStyle(styleProp:String):void
     {
@@ -481,6 +551,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function getClassStyleDeclarations():Array
     {
@@ -489,6 +564,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function notifyStyleChangeInChildren(
                         styleProp:String, recursive:Boolean):void
@@ -497,6 +577,11 @@

     /**
      *  @inheritDoc
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function regenerateStyleCache(recursive:Boolean):void
     {
@@ -506,6 +591,11 @@
     /**
      *  This method is required by the IStyleClient interface,
      *  but doesn't do anything for TextGraphicElements.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function registerEffects(effects:Array /* of String */):void
     {
@@ -521,6 +611,11 @@
      *  This method is required by the IAdvancedStyleClient interface,
      *  but always returns false for TextGraphicElements as they do not have
      *  state specific behavior.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function isPseudoSelectorMatch(pseudoState:String):Boolean
     {
@@ -530,6 +625,11 @@
     /**
      *  Determines whether this instance is the same as - or is a subclass of -
      *  the given type.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function isTypeSelectorMatch(type:String):Boolean
     {
@@ -540,6 +640,11 @@
      *  This method is required by the IAdvancedStyleClient interface,
      *  but doesn't do anything for TextGraphicElements as they do not have
      *  state specific behavior.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function applyStateStyles(oldState:String, newState:String, recursive:Boolean):void
     {
@@ -561,6 +666,11 @@
      *  your TextGraphicElement's styles will be fully initialized before
      *  the first time its component's measure and
      *  updateDisplayList methods are called.

+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     public function stylesInitialized():void
     {
@@ -643,6 +753,11 @@
 	 *  because this causes Player 10.0 to allocate memory.
 	 *  And if scrollRect is already set to a Rectangle instance,
 	 *  reuse it rather than creating a new one.
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4
      */
     mx_internal function clip(w:Number, h:Number):void
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 12901
Author:   cframpto@adobe.com
Date:     2009-12-14T15:11:55.024349Z

Log Message:
-----------
Removed get/set fontContext and replaced getEmbeddedFontContext() with the same code that is in RichEditableText’s getEmbeddedFontContext().  Since they are all UIComponents they should all work the same way now.

QE notes: gumbo/components/Label/Properties/Label_Properties_tester1 test is obsolete and should be removed because Label no longer has a fontContext property
Doc notes:
Bugs:
Reviewer: Alex
Tests run: checkintests, Label, RichText
Is noteworthy for integration: no

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as

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

--- frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as
@@ -96,7 +96,7 @@
  *  @productversion Flex 4
  */

-public class TextBase extends UIComponent implements IFontContextComponent
+public class TextBase extends UIComponent
 {

     include "../../core/Version.as";
@@ -496,42 +496,6 @@
     }

     //--------------------------------------------------------------------------
-    //
-    //  Properties: IFontContextComponent
-    //
-    //--------------------------------------------------------------------------
-
-    //----------------------------------
-    //  fontContext
-    //----------------------------------
-
-    /**
-     *  @private
-     */
-    private var _fontContext:IFlexModuleFactory;
-
-    /**
-     *  @inheritDoc
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 1.5
-     *  @productversion Flex 4
-     */
-    public function get fontContext():IFlexModuleFactory
-    {
-        return _fontContext;
-    }
-
-    /**
-     *  @private
-     */
-    public function set fontContext(value:IFlexModuleFactory):void
-    {
-        _fontContext = value;
-    }
-
-    //--------------------------------------------------------------------------
     /**
      *  @private
      */
@@ -1021,13 +985,16 @@
             hasScrollRect = false;
         }
     }
-
-    /**
-     *  @private
+
+    /**
+     *  @private
+     *  Uses the component's CSS styles to determine the module factory
+     *  that should creates its TextLines.
      */
     mx_internal function getEmbeddedFontContext():IFlexModuleFactory
     {
-        var moduleFactory:IFlexModuleFactory;
+        var fontContext:IFlexModuleFactory;
+
         var fontLookup:String = getStyle("fontLookup");
         if (fontLookup != FontLookup.DEVICE)
         {
@@ -1035,24 +1002,12 @@
             var bold:Boolean = getStyle("fontWeight") == "bold";
             var italic:Boolean = getStyle("fontStyle") == "italic";

-            var localLookup:ISystemManager =
-                fontContext && fontContext is ISystemManager ?
-                ISystemManager(fontContext) : systemManager;
-
-            var registry:IEmbeddedFontRegistry =
-                                UIComponent.embeddedFontRegistry;
-            if (registry)
-            {
-                moduleFactory =
-                    registry.getAssociatedModuleFactory(
-                        font, bold, italic,
-                        this, fontContext, localLookup, true);
-            }
-        }
-
-        return moduleFactory;
-    }
-
+            fontContext = getFontContext(font, bold, italic, true);
+        }
+
+        return fontContext;
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Event handlers


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 4492
Author:   gosmith@adobe.com
Date:     2009-01-12T22:47:10.154251Z

Log Message:
-----------
Simplified how an accessibility class gets hooked into its corresponding component class.

We now do the hooking in the static method enableAccessibility(), which is called by code that is autogenerated by the compiler. Previously this method did nothing and the hooking happened at static initialization time. This allows us to remove the static var accessibilityHooked and the static method hookAccessibility() in each accessibility class.

QE Notes: None
Doc Notes: None
Bugs: None
Reviewer: Deepa and Alex

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ColorPickerAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DataGridAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateFieldAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/SliderAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/CheckBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/LinkButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/RadioButtonAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TabBarAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TreeAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/PanelAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/DateChooserAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/UIComponentAccProps.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/MenuAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ListBaseAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AlertAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/ComboBoxAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/accessibility/AccordionHeaderAccImpl.as</path>

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

--- frameworks/projects/mx/src/mx/accessibility/DateChooserAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/DateChooserAccImpl.as
@@ -21,11 +21,8 @@
 use namespace mx_internal;

 /**
- *  The DateChooserAccImpl class is the accessibility class for DateChooser.
- *
- *  @helpid
- *  @tiptext This is the Button Accessibility Class.
- *  @review
+ *  DateChooserAccImpl is a subclass of AccessibilityImplementation
+ *  which implements accessibility for the DateChooser class.
  */
 public class DateChooserAccImpl extends AccImpl
 {
@@ -33,74 +30,52 @@

 	//--------------------------------------------------------------------------
 	//
-	//  Class initialization
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Static variable triggering the hookAccessibility() method.
-	 *  This is used for initializing DateChooserAccImpl class to hook its
-	 *  createAccessibilityImplementation() method to DateChooser class
-	 *  before it gets called from UIComponent.
-	 */
-	private static var accessibilityHooked:Boolean = hookAccessibility();
-
-	/**
-	 *  @private
-	 *  Static method for swapping the createAccessibilityImplementation()
-	 *  method of DateChooser withthe DateChooserAccImpl class.
-	 */
-	private static function hookAccessibility():Boolean
+	//  Class constants
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
+
+	/**
+	 *  @private
+	 */
+	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
+
+	//--------------------------------------------------------------------------
+	//
+	//  Class methods
+	//
+	//--------------------------------------------------------------------------
+
+	/**
+	 *  Enables accessibility in the DateChooser class.
+	 *
+	 *
This method is called by application startup code
+	 *  that is autogenerated by the MXML compiler.
+	 *  Afterwards, when instances of DateChooser are initialized,
+	 *  their accessibilityImplementation property
+	 *  will be set to an instance of this class.

+	 */
+	public static function enableAccessibility():void
 	{
 		DateChooser.createAccessibilityImplementation =
 			createAccessibilityImplementation;
-
-		return true;
-	}
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class constants
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_FOCUS:uint = 0x8005;
-
-	/**
-	 *  @private
-	 */
-	private static const EVENT_OBJECT_SELECTION:uint = 0x8006;
-
-	//--------------------------------------------------------------------------
-	//
-	//  Class methods
-	//
-	//--------------------------------------------------------------------------
-
-	/**
-	 *  @private
-	 *  Method for creating the Accessibility class.
-	 *  This method is called from UIComponent.
-	 *  @review
+	}
+
+	/**
+	 *  @private
+	 *  Creates a DateChooser's AccessibilityImplementation object.
+	 *  This method is called from UIComponent's
+	 *  initializeAccessibility() method.
 	 */
 	mx_internal static function createAccessibilityImplementation(
 								component:UIComponent):void
 	{
 		component.accessibilityImplementation =
 			new DateChooserAccImpl(component);
-	}
-
-	/**
-	 *  Method call for enabling accessibility for a component.
-	 *  This method is required for the compiler to activate
-	 *  the accessibility classes for a component.
-	 */
-	public static function enableAccessibility():void
-	{
 	}

 	//--------------------------------------------------------------------------
@@ -181,7 +156,6 @@
 	 *  @param childID uint
 	 *
 	 *  @return State uint
-	 *  @review
 	 */
 	override public function get_accState(childID:uint):uint
 	{
@@ -213,7 +187,6 @@
 	 *  @param childID uint
 	 *
 	 *  @return Name String
-	 *  @review
 	 */
 	override protected function getName(childID:uint):String
 	{


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

--- frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/PanelAccImpl.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 spark.accessibility
 {


didn't need to do this

didn't need to do this

--- frameworks/projects/Core/as/src/org/apache/flex/utils/BeadMetrics.as
+++ frameworks/projects/Core/as/src/org/apache/flex/utils/BeadMetrics.as
@@ -132,7 +132,6 @@
 		if (isNaN(mb))
 			mb = 0;

-        borderOffset *= 2; // border on each side
 		var result:UIMetrics = new UIMetrics();
 		result.top = borderOffset + pt;
 		result.left = borderOffset + pl;


Revert "TFC-12136"

Revert "TFC-12136"

This reverts commit 45e61644e6a3543937a0fa3db11c3b98b228ae2d.

--- frameworks/projects/framework/src/mx/collections/ComplexSortField.as
+++ frameworks/projects/framework/src/mx/collections/ComplexSortField.as
@@ -20,7 +20,6 @@
 package mx.collections {
     import mx.utils.ObjectUtil;

-    [Alternative(replacement="spark.collections.ComplexSortField", since="4.15")]
     public class ComplexSortField extends SortField implements IComplexSortField
     {
         private var _nameParts:Array;


Transferred from the Adobe Open Source Subversion Repository

Revision: 23247
Author:   cframpto@adobe.com
Date:     2011-12-20T19:21:13.134833Z

Log Message:
-----------
Remove ADOBE SYSTEMS license and replace with Apache license in headers - frameworks.  A 2nd pass will be needed to get the files not handled up by the scripts.

Modified Paths:
--------------
4959 paths were modified

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

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


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

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

--- frameworks/projects/rpc/src/mx/messaging/events/MessageFaultEvent.as
+++ frameworks/projects/rpc/src/mx/messaging/events/MessageFaultEvent.as
@@ -0,0 +1,223 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+//  ADOBE SYSTEMS INCORPORATED
+//  Copyright 2005-2007 Adobe Systems Incorporated
+//  All Rights Reserved.
+//
+//  NOTICE: Adobe permits you to use, modify, and distribute this file
+//  in accordance with the terms of the license agreement accompanying it.
+//
+////////////////////////////////////////////////////////////////////////////////
+
+package mx.messaging.events
+{
+
+import flash.events.Event;
+import mx.messaging.messages.ErrorMessage;
+
+/**
+ * The MessageFaultEvent class is used to propagate fault messages within the messaging system.
+ */
+public class MessageFaultEvent extends Event
+{
+    //--------------------------------------------------------------------------
+    //
+    // Static Constants
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The FAULT event type; dispatched for a message fault.
+     *
The value of this constant is "fault".

+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	false

+     *
cancelable	false

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
faultCode	Provides destination-specific
+     *       details of the failure.

+     *
faultDetail	Provides access to the
+     *       destination-specific reason for the failure.

+     *
faultString	Provides access to the underlying
+     *        reason for the failure if the channel did not raise the failure itself.

+     *
message	The ErrorMessage for this event.

+     *
rootCause	 Provides access to the underlying reason
+     *       for the failure, if one exists.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *  @eventType fault
+     */
+    public static const FAULT:String = "fault";
+
+    //--------------------------------------------------------------------------
+    //
+    // Static Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Utility method to create a new MessageFaultEvent that doesn't bubble and
+     *  is not cancelable.
+     *
+     *  @param message The ErrorMessage associated with the fault.
+     *
+     *  @return New MessageFaultEvent.
+     */
+    public static function createEvent(msg:ErrorMessage):MessageFaultEvent
+    {
+        return new MessageFaultEvent(MessageFaultEvent.FAULT, false, false, msg);
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Constructor
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Constructs an instance of a fault message event for the specified message
+     *  and fault information.
+     *
+     *  @param type The type for the MessageAckEvent.
+     *
+     *  @param bubbles Specifies whether the event can bubble up the display
+     *  list hierarchy.
+     *
+     *  @param cancelable Indicates whether the behavior associated with the
+     *  event can be prevented.
+     *
+     *  @param message The ErrorMessage associated with the fault.
+     */
+    public function MessageFaultEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false,
+            message:ErrorMessage = null)
+    {
+        super(type, bubbles, cancelable);
+
+        this.message = message;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Variables
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  The ErrorMessage for this event.
+     */
+    public var message:ErrorMessage;
+
+    //--------------------------------------------------------------------------
+    //
+    // Properties
+    //
+    //--------------------------------------------------------------------------
+
+	//----------------------------------
+	//  faultCode
+	//----------------------------------
+
+    /**
+     *  Provides access to the destination specific failure code.
+     *  For more specific details see faultString and
+     *  faultDetails properties.
+     *
+     *
The format of the fault codes are provided by the remote destination,
+     *  but, will typically have the following form: host.operation.error
+     *  For example, "Server.Connect.Failed"

+     *
+     *  @see #faultString
+     *  @see #faultDetail
+     */
+    public function get faultCode():String
+    {
+        return message.faultCode;
+    }
+
+	//----------------------------------
+	//  faultDetail
+	//----------------------------------
+
+    /**
+     *  Provides destination specific details of the failure.
+     *
+     *
Typically fault details are a stack trace of an exception thrown at
+     *  the remote destination.

+     *
+     *  @see #faultString
+     *  @see #faultCode
+     */
+    public function get faultDetail():String
+    {
+        return message.faultDetail;
+    }
+
+	//----------------------------------
+	//  faultString
+	//----------------------------------
+
+    /**
+     *  Provides access to the destination specific reason for the failure.
+     *
+     *  @see #faultCode
+     *  @see #faultDetail
+     */
+    public function get faultString():String
+    {
+        return message.faultString;
+    }
+
+	//----------------------------------
+	//  rootCause
+	//----------------------------------
+
+    /**
+     *  Provides access to the root cause of the failure, if one exists.
+     *
+     *  In the case of custom exceptions thrown by a destination, the root cause
+     *  represents the top level failure that is merely transported by the
+     *  ErrorMessage.
+     *
+     *  @see MessageFaultEvent#rootCause
+     */
+    public function get rootCause():Object
+    {
+        return message.rootCause;
+    }
+
+    //--------------------------------------------------------------------------
+    //
+    // Overridden Methods
+    //
+    //--------------------------------------------------------------------------
+
+    /**
+     *  Clones the MessageFaultEvent.
+     *
+     *  @return Copy of this MessageFaultEvent.
+     */
+    override public function clone():Event
+    {
+        return new MessageFaultEvent(type, bubbles, cancelable, message);
+    }
+
+    /**
+     *  Returns a string representation of the MessageFaultEvent.
+     *
+     *  @return String representation of the MessageFaultEvent.
+     */
+    override public function toString():String
+    {
+        return formatToString("MessageFaultEvent", "faultCode", "faultDetail", "faultString", "rootCause", "type", "bubbles", "cancelable", "eventPhase");
+    }
+}
+
+}


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

--- frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.as
+++ frameworks/projects/spark/src/spark/accessibility/ComboBoxAccImpl.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 spark.accessibility
 {


fixed bug in ProxyColumn.getMetadataPropertyNames()

--- WeaveData/src/weave/data/AttributeColumns/ProxyColumn.as
+++ WeaveData/src/weave/data/AttributeColumns/ProxyColumn.as
@@ -26,6 +26,7 @@
 	import weave.api.registerDisposableChild;
 	import weave.api.registerLinkableChild;
 	import weave.core.SessionManager;
+	import weave.utils.VectorUtils;

 	/**
 	 * ProxyColumn
@@ -81,6 +82,13 @@
 			if (overrideValue == null && _internalColumn != null)
 				return _internalColumn.getMetadata(propertyName);
 			return overrideValue;
+		}
+
+		override public function getMetadataPropertyNames():Array
+		{
+			if (_internalColumn)
+				return VectorUtils.union(super.getMetadataPropertyNames(), _internalColumn.getMetadataPropertyNames());
+			return super.getMetadataPropertyNames();
 		}

 		/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 8721
Author:   aharui@adobe.com
Date:     2009-07-21T22:11:37.692397Z

Log Message:
-----------
Hopefully final implementation of IME support.

QE Notes: None
Doc Notes: new API in IIMESupport
Bugs: SDK-22267, SDK-18516
Reviewer: Gordon
API Change: Yes
Is noteworthy for integration: Yes, new API in IIMESupport
tests: checkintests mustella/gumbo/components/TextInput mustella/gumbo/components/TextArea

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/primitives/RichEditableText.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextArea.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableTextBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework_textLayout/src/mx/core/UITLFTextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TextInput.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/FocusManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NumericStepper.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/IIMESupport.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/NumericStepper.as</path>

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

--- frameworks/projects/framework/src/mx/core/IIMESupport.as
+++ frameworks/projects/framework/src/mx/core/IIMESupport.as
@@ -33,18 +33,26 @@
 	//--------------------------------------------------------------------------

 	//----------------------------------
-	//  editable
+	//  enableIME
 	//----------------------------------

 	/**
-     *  Specifies whether the user is allowed to edit the text in this control.
+     *  Specifies whether the IME should be enabled when
+     *  this component has focus.  Even if a component
+     *  uses the IME, it may not in all configurations.
+     *  For example, TextArea will set enableIME to false
+     *  if its editable is false since no
+     *  input is allowed in that configuration.  Similarly
+     *  DataGrid always sets enableIME to false.  If
+     *  the DataGrid puts up an ItemEditor, its editor
+     *  will have enableIME set to true.
 	 *
 	 *  @langversion 3.0
 	 *  @playerversion Flash 10
 	 *  @playerversion AIR 1.5
 	 *  @productversion Flex 4
 	 */
-//	function get editable():Boolean;
+	function get enableIME():Boolean;

 	//----------------------------------
 	//  imeMode


Transferred from the Adobe Open Source Subversion Repository

Revision: 14757
Author:   klin@adobe.com
Date:     2010-03-15T18:40:53.081928Z

Log Message:
-----------
Merge revision 14756 from 4.x to trunk.

Fix for http://bugs.adobe.com/jira/browse/SDK-25839 and http://bugs.adobe.com/jira/browse/SDK-25866. Icons did not respect setting the y property because they were not saving y to origMatrix. I override the y setter in BitmapAsset and SpriteAsset to set super.y and call validateTransformMatrix to save the current matrix (which has the new y).

QE notes: No
Doc notes: No
Bugs: SDK-25839, SDK-25866
Reviewer: Carol
Tests run: checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/SpriteAsset.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/BitmapAsset.as</path>

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

--- frameworks/projects/framework/src/mx/core/SpriteAsset.as
+++ frameworks/projects/framework/src/mx/core/SpriteAsset.as
@@ -175,6 +175,29 @@
         // FIXME(hmuller): by default get x returns transform.matrix.tx rounded to the nearest 20th.
         // should do the same here, if we're returning _x.
         return (mirror) ? _x : super.x;
+    }
+
+    //----------------------------------
+    //  y
+    //----------------------------------
+
+    /**
+     *  @private
+     *  We need to make sure y is saved in our copy of the matrix
+     *  along with the other properties.
+     */
+    override public function set y(value:Number):void
+    {
+        if (mirror)
+        {
+            transform.matrix = origMatrix;
+            super.y = value;
+            validateTransformMatrix();
+        }
+        else
+        {
+            super.y = value;
+        }
     }

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


Transferred from the Adobe Open Source Subversion Repository

Revision: 11968
Author:   aharui@adobe.com
Date:     2009-11-19T00:39:15.743950Z

Log Message:
-----------
Update comment to indicate that UIComponent.measureText() does not work for Spark components.

QE Notes: None
Doc Notes: measureText() does not work for Spark components.
Bugs: SDK-23902
Reviewer: Gordon
API Change: No
Is noteworthy for integration: No
tests: checkintests

Modified Paths:
--------------
/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as

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

--- frameworks/projects/framework/src/mx/core/UIComponent.as
+++ frameworks/projects/framework/src/mx/core/UIComponent.as
@@ -8324,8 +8324,12 @@

     /**
      *  Measures the specified text, assuming that it is displayed
-     *  in a single-line UITextField using a UITextFormat
-     *  determined by the styles of this UIComponent.
+     *  in a single-line UITextField (or UIFTETextField) using a UITextFormat
+     *  determined by the styles of this UIComponent.  Does not
+     *  work for Spark components since they don't use UITextField
+     *  (or UIFTETextField).  To measure text in Spark components,
+     *  get the measurements of a spark.components.Label
+     *  or spark.components.RichText
      *
      *  @param text A String specifying the text to measure.
      *


Transferred from the Adobe Open Source Subversion Repository

Revision: 18072
Author:   chiedozi@adobe.com
Date:     2010-10-07T21:09:04.099363Z

Log Message:
-----------
PARB Changes to ViewNavigator feature set.  Changes summarized below:

View
active getter renamed to isActive
Removed context property from View and moved it to ViewNavigator

ViewNavigator
context property is now typed Object
navigationStack property now mx_internal in ViewNavigatorBase
factory parameter for push operations renamed to  viewClass
NavigationStack push and pop api names changed to match ViewNavigator methods
active getter renamed isActive
viewNavigator no longer dispatches a COMPLETE event
defaultTransitions are no longer skin parts.  They are now  mx_internal vars.

TabbedViewNavigator
No longer dispatches complete, instead dispatches IndexChangeEvent.CHANGE

ViewProxy
ViewProxy renamed to ViewDescriptor
persistedData renamed to persistenceData

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

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/core/ContainerDestructionPolicy.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/View.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/projects/mobilecomponents/src/spark/components/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewReturnObject.as</path>
<path kind="dir" action="M">/private/flex/sdk/branches/hero_private</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/defaults.css</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/NavigationStack.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorSkin.as</path>
<path kind="file" copyfrom-path="/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewProxy.as" copyfrom-rev="18044" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewDescriptor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.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="D">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewProxy.as</path>

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -144,9 +144,9 @@
      *  @eventType applicationPersist
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public static const APPLICATION_PERSIST:String = "applicationPersist";

@@ -172,9 +172,9 @@
      *  @eventType applicationPersisting
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public static const APPLICATION_PERSISTING:String = "applicationPersisting";

@@ -200,9 +200,9 @@
      *  @eventType applicationRestore
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public static const APPLICATION_RESTORE:String = "applicationRestore";

@@ -228,9 +228,9 @@
      *  @eventType applicationRestoring
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
      */
     public static const APPLICATION_RESTORING:String = "applicationRestoring";

@@ -886,69 +886,6 @@
      *  @productversion Flex 4
      */
     public static const MUTED_CHANGE:String = "mutedChange";
-    /**
-     *  The FlexEvent.NAVIGATOR_ACTIVATE constant defines the value of the
-     *  type property of the event object for an navigatorActivate
-     *  event.  This event is dispatched when a component is activated.
-     *
-     *
The properties of the event object have the following values:

-     *
-     *

-     *
Property	Value

-     *
bubbles	false

-     *
cancelable	false

-     *
returnValue	null

-     *
currentTarget	The Object that defines the
-     *       event listener that handles the event. For example, if you use
-     *       myButton.addEventListener() to register an event listener,
-     *       myButton is the value of the currentTarget.

-     *
target	The Object that dispatched the event;
-     *       it is not always the Object listening for the event.
-     *       Use the currentTarget property to always access the
-     *       Object listening for the event.

-     *
Type	FlexEvent.NAVIGATOR_ACTIVATE

-     *

-     *
-     *  @eventType activate
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static const NAVIGATOR_ACTIVATE:String = "navigatorActivate";
-
-    /**
-     *  The FlexEvent.NAVIGATOR_DEACTIVATE constant defines the value of the
-     *  type property of the event object for an navigatorDeactivate
-     *  event.  This event is dispatched when a component is deactivated.
-     *
-     *
The properties of the event object have the following values:

-     *
-     *

-     *
Property	Value

-     *
bubbles	false

-     *
cancelable	false

-     *
returnValue	null

-     *
currentTarget	The Object that defines the
-     *       event listener that handles the event. For example, if you use
-     *       myButton.addEventListener() to register an event listener,
-     *       myButton is the value of the currentTarget.

-     *
target	The Object that dispatched the event;
-     *       it is not always the Object listening for the event.
-     *       Use the currentTarget property to always access the
-     *       Object listening for the event.

-     *
Type	FlexEvent.NAVIGATOR_DEACTIVATE

-     *

-     *
-     *  @eventType navigatorDeactivate
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 3
-     */
-    public static const NAVIGATOR_DEACTIVATE:String = "navigatorDeactivate";

     /**
      *  @private
@@ -1420,9 +1357,9 @@
 	 *  @eventType activate
 	 *
 	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
 	 */
 	public static const VIEW_ACTIVATE:String = "viewActivate";

@@ -1452,9 +1389,9 @@
 	 *  @eventType deactivate
 	 *
 	 *  @langversion 3.0
-	 *  @playerversion Flash 9
-	 *  @playerversion AIR 1.1
-	 *  @productversion Flex 3
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
 	 */
 	public static const VIEW_DEACTIVATE:String = "viewDeactivate";


Transferred from the Adobe Open Source Subversion Repository

Revision: 18635
Author:   aharui@adobe.com
Date:     2010-11-17T00:18:36.469040Z

Log Message:
-----------
Add estimatedSizes to the layout infrastructure to better deal with text reflow.
Add new events to layout infrastructure to deal with caching of size information

QE notes: New APIs and Interfaces
Doc notes: New APIs and interfaces
Bugs: SDK-27226, SDK-26155, SDK-25483, SDK-23621, SDK-27225, SDK-26993, SDK-25535, SDK-25521
Reviewer: Evtim
Tests run: checkintests mustella full run
Is noteworthy for integration: yes

Modified Paths:
--------------
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/TileLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/TextBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/layoutClasses/PriorityQueue.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Application.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/RichEditableText.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/DataGroup.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/primitives/supportClasses/GraphicElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/BasicLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Group.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/PopUpAnchor.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/flash-integration/src/mx/flash/UIMovieClip.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/core/SpriteVisualElement.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/IContainerInvalidating.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/basicTests/spark/scripts/FormTestScript.mxml</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/ILayoutManagerContainerClient.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/DefaultItemRenderer.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/supportClasses/LayoutBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/VerticalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/IStyleManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/core/ILayoutElement.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/gridClasses/GridLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/skins/spark/TextFieldGridItemRendererInclude.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mx/src/mx/core/Container.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/managers/LayoutManager.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/layouts/HorizontalLayout.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/spark/src/spark/components/Application.as</path>

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

--- frameworks/projects/framework/src/mx/events/FlexEvent.as
+++ frameworks/projects/framework/src/mx/events/FlexEvent.as
@@ -888,6 +888,66 @@
     public static const LOADING:String = "loading";

     /**
+     *  The FlexEvent.MEASURED_SIZE_PRELIMINARY constant defines the value of the
+     *  type property of the event object for a measuredSizePreliminary event.
+     *  This event is dispatched during measure() if the measurements will be later changed
+     *  by other conditions like the arrival of asynchronous network data.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	true

+     *
cancelable	true

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *
+     *  @eventType measuredSizePreliminary
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public static const MEASURED_SIZE_PRELIMINARY:String = "measuredSizePreliminary";
+
+    /**
+     *  The FlexEvent.MEASURED_SIZE_FINAL constant defines the value of the
+     *  type property of the event object for a measuredSizeFinal event.
+     *  This event is only dispatched by components that have previously dispatched a
+     *  FlexEvent.MEASURED_SIZE_PRELIMINARY event.
+     *
+     *
The properties of the event object have the following values:

+     *

+     *
Property	Value

+     *
bubbles	true

+     *
cancelable	true

+     *
currentTarget	The Object that defines the
+     *       event listener that handles the event. For example, if you use
+     *       myButton.addEventListener() to register an event listener,
+     *       myButton is the value of the currentTarget.

+     *
target	The Object that dispatched the event;
+     *       it is not always the Object listening for the event.
+     *       Use the currentTarget property to always access the
+     *       Object listening for the event.

+     *

+     *
+     *  @eventType measuredSizeFinal
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.2
+     *  @playerversion AIR 2.0
+     *  @productversion Flex 4.5
+     */
+    public static const MEASURED_SIZE_FINAL:String = "measuredSizeFinal";
+
+    /**
      *  The FlexEvent.MENU_KEY_PRESSED constant defines the value of the
      *  type property of the event object for a menuKeyPressed event.
      *


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

 package mx.graphics
 {


Transferred from the Adobe Open Source Subversion Repository

Revision: 21133
Author:   smgilson@adobe.com
Date:     2011-04-25T15:33:46.152009Z

Log Message:
-----------
Fix incorrect @product version tags on repeat(0 and restrict()

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

Modified Paths:
--------------
/private/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/StringUtil.as

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

--- frameworks/projects/framework/src/mx/utils/StringUtil.as
+++ frameworks/projects/framework/src/mx/utils/StringUtil.as
@@ -209,9 +209,9 @@
      *  @return The repeated string.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.1
      */
     public static function repeat(str:String, n:int):String
     {
@@ -241,9 +241,9 @@
      *  that are not allowed by the restriction string.
      *
      *  @langversion 3.0
-     *  @playerversion Flash 9
-     *  @playerversion AIR 1.1
-     *  @productversion Flex 4
+     *  @playerversion Flash 10
+     *  @playerversion AIR 1.5
+     *  @productversion Flex 4.1
      */
     public static function restrict(str:String, restrict:String):String
     {


Transferred from the Adobe Open Source Subversion Repository

Revision: 7743
Author:   clucier@adobe.com
Date:     2009-06-11T13:53:10.203664Z

Log Message:
-----------
Moving away from using namespace qualifiers in most cases in the SDK.  We've run into a few cases now where the use of qualifiers in code that is called excessively can slow things down.
Bugs: SDK-21337
Reviewer: Ryan, Paul
QE Notes: None
Tests: Ran several random Mustella test groups, checkintests.

Modified Paths:
--------------
106 paths were modified

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

--- frameworks/projects/spark/src/spark/effects/AddAction.as
+++ frameworks/projects/spark/src/spark/effects/AddAction.as
@@ -21,6 +21,8 @@
 import mx.effects.IEffectInstance;
 import mx.effects.Effect;
 import mx.effects.effectClasses.PropertyChanges;
+
+use namespace mx_internal;

 //--------------------------------------
 //  Excluded APIs
@@ -290,9 +292,9 @@
         if (!targets)
             targets = this.targets;

-        if (targets && mx_internal::propertyChangesArray)
+        if (targets && propertyChangesArray)
         {
-            localPropertyChanges = mx_internal::propertyChangesArray;
+            localPropertyChanges = propertyChangesArray;
             targets.sort(targetSortHandler);
         }


adding right and left padding to Carousel

git-svn-id: 02605e11d3a461bc7e12f3f3880edf4b0c8dcfd0@4622 3e7533ad-8678-4d30-8e38-00a379d3f0d0

--- src/laml/display/Carousel.as
+++ src/laml/display/Carousel.as
@@ -203,7 +203,7 @@
 			var xml:XML = <HBox width="100%" height="100%" gutter={gutter} padding={padding} xmlns="laml.display">
 							<CarouselPreviousButton id={LEFT_BUTTON} width="15" height="65" />
 							<Component width="100%" height="100%">
-								<Row id={CONTENT_CONTAINER} excludeFromLayout="true" gutter={gutter} />
+								<Row id={CONTENT_CONTAINER} excludeFromLayout="true" gutter={gutter} paddingLeft={padding} paddingRight={padding} />
 								<Component id={CONTENT_MASK} backgroundColor="#0000ff" width="100%" height="100%" />
 							</Component>
 							<CarouselNextButton id={RIGHT_BUTTON} width="15" height="65" />


Fix results in VR.

Fix results in VR.


替换掉所有的 \.

替换掉所有的 \.

--- as3/com/netease/protobuf/SimpleWebRPC.as
+++ as3/com/netease/protobuf/SimpleWebRPC.as
@@ -39,7 +39,7 @@
 			loader.addEventListener(
 					SecurityErrorEvent.SECURITY_ERROR, errorEventHandler)
 			const request:URLRequest = new URLRequest(
-				urlPrefix + qualifiedMethodName.replace(/\./, "/"))
+				urlPrefix + qualifiedMethodName.replace(/\./g, "/"))
 			request.method = URLRequestMethod.POST
 			const requestContent:ByteArray = new ByteArray
 			input.writeExternal(requestContent)


Transferred from the Adobe Open Source Subversion Repository

Revision: 18146
Author:   chiedozi@adobe.com
Date:     2010-10-14T00:23:22.539629Z

Log Message:
-----------
View and ViewNavigator PARB changes.

MobileApplication
canCancelBackKeyBehavior has been renamed exitApplicationOnBackKey (also impacts ViewNavigator and TabbedViewNavigator)

ViewNavigator
backKeyHandler method is now mx_internal, it is no longer part of public api
useDefaultTransitions property has been removed from the framework
canRemoveCurrentView is now mx_internal, it is no longer part of the public api
createVisibiliyAnimation() method has been removed and replaced with the createActionBarShowEffect() and createActionBarHideEffect() methods.
commitViewChange, beginViewChanged and endViewChanged have been renamed to commitNavigatorAction, committingNavigatorAction and navigatorActionCommitted.
maintainNavigationStack removed from ViewNavigator and moved to TabbedViewNavigator

View
VIEW_ACTIVATE, VIEW_DEACTIVATE and REMOVING have been removed from the FlexEvent class and added to the new ViewNavigatorEvent class.
ViewNavigatorEvent class now has a "action" property that indicates what the last committed navigation operation was
ViewNavigatorAction enum class added and is used to populate the action property of a ViewNavigatorEvent
View now dispatches a "backKeyPressed" (FlexEvent.BACK_KEY_PRESSED) event when the back device key is pressed.  This is a cancelable event.  When cancelled, the MobileApplication's default back behavior will not run.

TabbedViewNavigator
Added createTabBarShowEffect() and createTabBarHideEffect() methods
Added a maintainNavigationStack property to the view navigator.  When false, the navigation stack of a navigator is cleared when deactivated.

TabbedMobileApplication
Added maintainNavigationStack proxy property to the application

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

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/View.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/MobileApplication.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/TabbedMobileApplication.as</path>
<path kind="file" action="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ViewNavigatorAction.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/MobileApplicationBase.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/projects/framework/src/mx/events/FlexEvent.as</path>
<path kind="file" action="M">/private/flex/sdk/branches/hero_private/frameworks/tests/performance/mobile/ComponentCatalog/src/views/SearchView.mxml</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="A">/private/flex/sdk/branches/hero_private/frameworks/projects/mobilecomponents/src/spark/events/ViewNavigatorEvent.as</path>

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

--- frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
+++ frameworks/projects/mobilecomponents/src/spark/components/ViewNavigator.as
@@ -30,8 +30,9 @@
 import mx.resources.ResourceManager;

 import spark.components.supportClasses.NavigationStack;
+import spark.components.supportClasses.ViewDescriptor;
+import spark.components.supportClasses.ViewNavigatorAction;
 import spark.components.supportClasses.ViewNavigatorBase;
-import spark.components.supportClasses.ViewDescriptor;
 import spark.components.supportClasses.ViewReturnObject;
 import spark.core.ContainerDestructionPolicy;
 import spark.effects.Animate;
@@ -311,12 +312,6 @@

     /**
      *  @private
-     *  The last action performed by the navigator.
-     */
-    private var lastAction:String = ViewNavigatorAction.NONE;
-
-    /**
-     *  @private
      *  The view data for the pending view.
      */
     private var pendingViewDescriptor:ViewDescriptor = null;
@@ -376,7 +371,7 @@
      *  @private
      *  Only gets called by TabbedViewNavigator.
      */
-    override mx_internal function setActive(value:Boolean):void
+    override mx_internal function setActive(value:Boolean, clearNavigationStack:Boolean = false):void
     {
         if (value == isActive)
             return;
@@ -391,20 +386,18 @@
         else
         {
             if (activeView)
-            {
-                if ((activeView.destructionPolicy != ContainerDestructionPolicy.NEVER &&
-                    destructionPolicy != ContainerDestructionPolicy.NEVER) ||
-                    !maintainNavigationStack)
+            {
+                var canDestroy:Boolean = (activeView.destructionPolicy != ContainerDestructionPolicy.NEVER) &&
+                                         (destructionPolicy != ContainerDestructionPolicy.NEVER);
+
+                if (canDestroy || clearNavigationStack)
                     destroyViewInstance(navigationStack.topView);
             }
-
-            if (!maintainNavigationStack)
-                navigationStack.popToFirstView();
         }

         // Call super after the above code so that the view has a chance
         // to be created before its active property is set.
-        super.setActive(value);
+        super.setActive(value, clearNavigationStack);
     }

     //----------------------------------
@@ -423,15 +416,15 @@
     }

     //----------------------------------
-    //  cancelBackKeyBehavior
+    //  exitApplicationOnBackKey
     //----------------------------------

     /**
      *  @private
      */
-    override public function get canCancelBackKeyBehavior():Boolean
-    {
-        return length > 1;
+    override public function get exitApplicationOnBackKey():Boolean
+    {
+        return length <= 1;
     }

     //----------------------------------
@@ -551,40 +544,6 @@
     }

     //----------------------------------
-    //  maintainNavigationStack
-    //----------------------------------
-    private var _maintainNavigationStack:Boolean = true;
-
-    /**
-     *  This property indicates whether the navigation stack of the view
-     *  should remain intact when the navigator is deactivated by its
-     *  parent navigator.  If set to true, when reactivated the view history
-     *  will remain the same.  If false, the navigator will display the
-     *  first view in its navigation stack.
-     *
-     *  @default true
-     *
-     *  @see spark.components.TabbedViewNavigator
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    public function get maintainNavigationStack():Boolean
-    {
-        return _maintainNavigationStack;
-    }
-
-    /**
-     *  @private
-     */
-    public function set maintainNavigationStack(value:Boolean):void
-    {
-        _maintainNavigationStack = value;
-    }
-
-    //----------------------------------
     //  navigationStack
     //----------------------------------

@@ -597,8 +556,6 @@
         super.navigationStack = value;

         viewChangeRequested = true;
-        lastAction = ViewNavigatorAction.REPLACE_STACK;
-
         invalidateProperties();
     }

@@ -616,7 +573,7 @@
      *
      *
This object is guarenteed to be valid when the new view receives
      *  the FlexEvent.ADD event, and is destroyed after
-     *  the view receives a FlexEvent.VIEW_ACTIVATE event.

+     *  the view receives a ViewNavigatorEvent.VIEW_ACTIVATE event.

      *
      *  @default null
      *
@@ -1008,7 +965,7 @@
         if (viewClass == null || !canRemoveCurrentView())
             return;

-        scheduleAction(ViewNavigatorAction.REPLACE_VIEW, viewClass, data, context, transition);
+        scheduleAction(ViewNavigatorAction.REPLACE, viewClass, data, context, transition);
     }

     /**
@@ -1072,7 +1029,7 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    protected function beginViewChange():void
+    protected function committingNavigatorAction():void
     {
         viewChanging = true;

@@ -1086,7 +1043,7 @@
     /**
      *  @private
      */
-    override public function canRemoveCurrentView():Boolean
+    override mx_internal function canRemoveCurrentView():Boolean
     {
         var view:View;

@@ -1148,7 +1105,7 @@
         }

         if (viewChangeRequested)
-            commitViewChange();
+            commitNavigatorAction();

         // Updating the action bar properties and visibility is the responsibility
         // of commitViewChange if the current view has changed because they must take
@@ -1159,6 +1116,17 @@

 		if (actionBarVisibilityInvalidated)
             commitVisibilityChanges();
+    }
+
+    /**
+     *  @private
+     */
+    private function get lastActionWasAPop():Boolean
+    {
+        return ((lastAction == ViewNavigatorAction.POP) ||
+            (lastAction == ViewNavigatorAction.POP_ALL) ||
+            (lastAction == ViewNavigatorAction.POP_TO_FIRST) ||
+            (lastAction == ViewNavigatorAction.REPLACE));
     }

     /**
@@ -1289,17 +1257,17 @@
     {
         var defaultTransition:ViewTransition;

+        lastAction = action;
+
         // Perform the correct operation on the navigation stack based on
         // the navigation action
         if (action == ViewNavigatorAction.PUSH)
         {
-            lastAction = ViewNavigatorAction.PUSH;
             defaultTransition = defaultPushTransition;
             navigationStack.pushView(viewClass, data, context);
         }
-        else if (action == ViewNavigatorAction.REPLACE_VIEW)
-        {
-        	lastAction = ViewNavigatorAction.REPLACE_VIEW;
+        else if (action == ViewNavigatorAction.REPLACE)
+        {
             defaultTransition = defaultPushTransition;
             navigationStack.popView();
             navigationStack.pushView(viewClass, data, context);
@@ -1338,12 +1306,10 @@
                 lastAction = ViewNavigatorAction.NONE;
                 return;
             }
-
-            lastAction = ViewNavigatorAction.POP;
         }

         pendingViewTransition = transition;
-        if (pendingViewTransition == null && useDefaultTransitions)
+        if (pendingViewTransition == null)
             pendingViewTransition = defaultTransition;

         // TODO (chiedozi): Comment this more
@@ -1405,7 +1371,10 @@
         {
             if (transitionsEnabled && animateActionBarVisbility)
             {
-                actionBarVisibilityEffect = createVisibilityAnimation();
+                actionBarVisibilityEffect = showingActionBar ?
+                                            createActionBarShowEffect() :
+                                            createActionBarHideEffect();
+
                 actionBarVisibilityEffect.addEventListener(EffectEvent.EFFECT_END,
                     visibilityAnimation_completeHandler);
                 actionBarVisibilityEffect.play();
@@ -1421,18 +1390,44 @@
     }

     /**
-     *  Creates the effect to play when the actionBar is hidden or shown.
-     *  The produced effect is responsible for animating both the actionBar and
-     *  the contentGroup of the navigator.
-     *
-     *  @return An effect to play
+     *  Creates the effect to play when the ActionBar is hidden.
+     *  The produced effect is responsible for animating both the
+     *  actionBar and the contentGroup of the navigator.
+     *
+     *  @return An effect to play when the ActionBar is hidden
      *
      *  @langversion 3.0
      *  @playerversion Flash 10
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-	protected function createVisibilityAnimation():IEffect
+    protected function createActionBarHideEffect():IEffect
+    {
+        return createActionBarVisibilityEffect();
+    }
+
+
+    /**
+     *  Creates the effect to play when the actionBar is hidden.
+     *  The produced effect is responsible for animating both the
+     *  actionBar and the contentGroup of the navigator.
+     *
+     *  @return An effect to play when the ActionBar is shown
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    protected function createActionBarShowEffect():IEffect
+    {
+        return createActionBarVisibilityEffect();
+    }
+
+    /**
+     *  @private
+     */
+	private function createActionBarVisibilityEffect():IEffect
 	{
 		var effect:IEffect;
 		var finalEffect:Parallel = new Parallel();
@@ -1451,7 +1446,16 @@
         // The actionbar will be visible if we are animating it
 		if (actionBar.visible)
 		{
-            effect = createActionBarVisibilityEffect(actionBar.visible, actionBarProps);
+            var animate:Animate = new Animate();
+            animate.target = actionBar;
+            animate.duration = ACTION_BAR_ANIMATION_DURATION;
+            animate.motionPaths = new Vector.<MotionPath>();
+            animate.motionPaths.push(new SimpleMotionPath("y", actionBarProps.start.y, actionBarProps.end.y));
+
+            actionBar.includeInLayout = false;
+            actionBar.cacheAsBitmap = true;
+
+            effect = animate;
             effect.target = actionBar;

             finalEffect.addChild(effect);
@@ -1551,34 +1555,6 @@
                                 cacheAsBitmap: component.cacheAsBitmap };

         return values;
-    }
-
-    /**
-     *  Creates the effect to play on the actionBar component when the navigator
-     *  is generating the animation.  This effect should only target the actionBar
-     *  as it will be played in parallel with other effects that animate the other
-     *  navigator skin parts.
-     *
-     *  @param hiding Indicates whether the acton bar is hiding or showing
-     *  @param props The bounds properties that were captured for the actionBar.
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    private function createActionBarVisibilityEffect(hiding:Boolean, props:Object):IEffect
-    {
-        var animate:Animate = new Animate();
-        animate.target = actionBar;
-        animate.duration = ACTION_BAR_ANIMATION_DURATION;
-        animate.motionPaths = new Vector.<MotionPath>();
-        animate.motionPaths.push(new SimpleMotionPath("y", props.start.y, props.end.y));
-
-        actionBar.includeInLayout = false;
-        actionBar.cacheAsBitmap = true;
-
-        return animate;
     }

     /**
@@ -1652,7 +1628,7 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    protected function endViewChange():void
+    protected function navigatorActionCommitted():void
     {
         // Destroy the previous view
         if (currentViewDescriptor)
@@ -1699,12 +1675,13 @@
         // saved mouseChildren and mouseEnabled flags aren't overwritten.
         mouseChildren = explicitMouseChildren;
         mouseEnabled = explicitMouseEnabled;
-
+
+        // FIXME (chiedozi): Comment revalidation
         if (revalidateWhenComplete)
         {
             revalidateWhenComplete = false;
             viewChangeRequested = true;
-            commitViewChange();
+            commitNavigatorAction();
         }
         else
         {
@@ -1727,7 +1704,7 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    protected function commitViewChange():void
+    protected function commitNavigatorAction():void
     {
         // TODO (chiedozi): Perf only
 //        CONFIG::performanceInstrumentation
@@ -1744,13 +1721,12 @@
         if (actionBarVisibilityEffect)
             actionBarVisibilityEffect.end();

-        if (activeView && (lastAction == ViewNavigatorAction.POP ||
-                           lastAction == ViewNavigatorAction.REPLACE_VIEW))
+        if (activeView && lastActionWasAPop)
         {
             _poppedViewReturnedObject = createViewReturnObject(currentViewDescriptor);
         }

-        beginViewChange();
+        committingNavigatorAction();

         pendingViewDescriptor = navigationStack.topView;

@@ -1778,7 +1754,7 @@
         {
             // Cancel operation if the viewClass class is null
             viewChangeRequested = false;
-            endViewChange();
+            navigatorActionCommitted();
         }

         pendingViewTransition = null;
@@ -1901,9 +1877,7 @@
         // view is being replaced or popped of the stack, we know we can delete it.
         // Otherwise a push is happening and we need to check the destructionPolicy
         // of the view.
-        if (lastAction == ViewNavigatorAction.POP ||
-            lastAction == ViewNavigatorAction.REPLACE_VIEW ||
-            currentView.destructionPolicy != ContainerDestructionPolicy.NEVER)
+        if (lastActionWasAPop || currentView.destructionPolicy != ContainerDestructionPolicy.NEVER)
         {
             currentView.setNavigator(null);
             viewProxy.instance = null;
@@ -2034,7 +2008,7 @@
         }
         else
         {
-            endViewChange();
+            navigatorActionCommitted();
         }
     }

@@ -2064,7 +2038,7 @@
      *  @playerversion AIR 2.5
      *  @productversion Flex 4.5
      */
-    protected function transitionComplete(event:Event):void
+    private function transitionComplete(event:Event):void
     {
         ViewTransition(event.target).removeEventListener(Event.COMPLETE, transitionComplete);

@@ -2075,20 +2049,21 @@
         }

 		finalViewTransition = null;
-        endViewChange();
-    }
-
-    /**
-     *  @private
-     *
-     *  @langversion 3.0
-     *  @playerversion Flash 10.1
-     *  @playerversion AIR 2.5
-     *  @productversion Flex 4.5
-     */
-    override public function backKeyHandler():void
-    {
-        popView();
+        navigatorActionCommitted();
+    }
+
+    /**
+     *  @private
+     *
+     *  @langversion 3.0
+     *  @playerversion Flash 10.1
+     *  @playerversion AIR 2.5
+     *  @productversion Flex 4.5
+     */
+    override mx_internal function backKeyHandler():void
+    {
+        if (activeView && !activeView.backKeyHandler())
+            popView();
     }

     /**
@@ -2258,18 +2233,3 @@
     }
 }
 }
-
-
-/**
- * @private
- */
-class ViewNavigatorAction
-{
-    public static const NONE:String = "none";
-    public static const PUSH:String = "push";
-    public static const POP:String = "pop";
-    public static const POP_ALL:String = "popAll";
-    public static const POP_TO_FIRST:String = "popToFirst";
-    public static const REPLACE_VIEW:String = "replaceView";
-    public static const REPLACE_STACK:String = "replaceStack";
-}


Transferred from the Adobe Open Source Subversion Repository

Revision: 10372
Author:   klin@adobe.com
Date:     2009-09-18T00:49:09.441663Z

Log Message:
-----------
https://bugs.adobe.com/jira/browse/SDK-23273 - Excluded borderAlpha and borderVisible from mx:TabBar.

https://bugs.adobe.com/jira/browse/SDK-23042 - Pushed Exclude of focusThickness style from SkinnableComponent into specific subclasses (GroupBase, ScrollBar, SkinnableContainerBase, VideoPlayer, TitleBar) so that other subclasses will inherit the focusThickness style.

https://bugs.adobe.com/jira/browse/SDK-23172 - Revert of 10349. Fixed bug where dataTipInstance was not inheriting Slider's styles by assigning Slider as its owner. Also excluded unsupported text styles.

QE Notes: None
Doc Notes: None
Bugs: SDK-23273, SDK-23042, SDK-23172
Reviewer: Jason
API Change: No
Is noteworthy for integration: FB
tests: checkintests

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/TabBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/ScrollBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableContainerBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/VideoPlayer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/supportClasses/SkinnableComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/spark/components/windowClasses/TitleBar.as</path>

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

--- frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
+++ frameworks/projects/spark/src/spark/components/supportClasses/GroupBase.as
@@ -133,6 +133,12 @@
  *  @productversion Flex 4
  */
 [Style(name="symbolColor", type="uint", format="Color", inherit="yes", theme="spark")]
+
+//--------------------------------------
+//  Excluded APIs
+//--------------------------------------
+
+[Exclude(name="focusThickness", kind="style")]

 /**
  *  The GroupBase class defines the base class for components that display visual elements.