Added embedfonts to AuroraPainterButtonSkin

--- src/org/openPyro/aurora/AuroraPainterButtonSkin.as
+++ src/org/openPyro/aurora/AuroraPainterButtonSkin.as
@@ -98,6 +98,7 @@
 				if(!bttn.label) return;
 				if(!label){
 					label = new Label();
+					label.embedFonts = _embedFonts;
 					label.textFormat = _labelFormat;
 					addChild(label);

@@ -108,6 +109,14 @@
 				}
 			}
 			//this.invalidateDisplayList();
+		}
+
+		private var _embedFonts:Boolean = false;
+		public function set embedFonts(val:Boolean):void{
+			_embedFonts = val;
+			if(label){
+				label.embedFonts = val;
+			}
 		}

 		private var _labelAlign:String = "center";


- bugfix: made BitmapResourceCacheItem more resilient against invalid bmps

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

--- src/reprise/external/BitmapResourceCacheItem.as
+++ src/reprise/external/BitmapResourceCacheItem.as
@@ -170,7 +170,7 @@
 			m_bytesTotal = m_loader.bytesTotal();
 			m_success = e.success && !m_loader.isCancelled();

-			if (m_success)
+			if (m_success && m_loader.content().width && m_loader.content().height)
 			{
 				m_bitmapDataReference = new BitmapData(
 					m_loader.content().width, m_loader.content().height, true, 0);


FLEX-23915 Form resizing. Accept patch from Joao Fernandes

--- frameworks/projects/mx/src/mx/containers/Form.as
+++ frameworks/projects/mx/src/mx/containers/Form.as
@@ -431,6 +431,14 @@
         super.styleChanged(styleProp);
     }

+    /**
+    *  @private
+    * */
+    override public function invalidateSize():void
+    {
+        super.invalidateSize();
+        invalidateLabelWidth();
+    }
     //--------------------------------------------------------------------------
     //
     //  Methods


Transferred from the Adobe Open Source Subversion Repository

Revision: 5797
Author:   jimurphy@adobe.com
Date:     2009-03-31T15:35:34.544076Z

Log Message:
-----------
Merged revisions 3.x 5505,5526-5527,5535,5540,5542,5572,5616-5617,5656-5657,5671,5674,5683,5687-5688,5690,5698,5708-5709,5713-5716,5719-5723,5726,5728-5729,5736,5752,5754,5761,5774,5780,5784 -> trunk

most of these are user submitted patches! very cool.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/VideoDisplay.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/IResourceManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ToggleButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Menu.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/CalendarLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/controls/FileSystemComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/NavBar.as</path>
<path kind="dir" action="M">/flex/sdk/trunk</path>
<path kind="file" action="D">/flex/sdk/trunk/modules/compiler/FlexCompilerShell-license.txt</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/formatters/DateFormatter.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airframework/src/mx/managers/NativeDragManagerImpl.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/validators/PhoneNumberValidator.as</path>
<path kind="file" copyfrom-path="/flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.as" copyfrom-rev="5784" action="A">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidatorDomainType.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/ToolTipManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/validators/NumberValidator.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/validators/CurrencyValidator.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/CalendarLayoutChangeEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/DataGridEvent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/sliderClasses/Slider.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/PopUpMenuButton.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Text.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Form.as
+++ frameworks/projects/mx/src/mx/containers/Form.as
@@ -484,7 +484,7 @@
         {
             var child:DisplayObject = getChildAt(i);

-            if (child is FormItem)
+            if (child is FormItem && FormItem(child).includeInLayout)
             {
                 labelWidth = Math.max(labelWidth,
                                       FormItem(child).getPreferredLabelWidth());


Detail in comment as discovered in http://www.igniterealtime.org/community/message/199818

--- src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
+++ src/org/igniterealtime/xiff/core/XMPPBOSHConnection.as
@@ -36,6 +36,25 @@

 	/**
 	 * Bidirectional-streams Over Synchronous HTTP (BOSH)
+	 *
Using BOSH do not prevent your application from respecting
+	 * Adobe Flash Player policy file issues. HTTP requests to your
+	 * server must be authorized with a crossdomain.xml file
+	 * in your webserver root.

+	 *
+	 *
For eJabberd users : if your crossdomain policy file cannot
+	 * be served by your server, this issue can be solved with an
+	 * Apache proxy redirect so that any automatic Flash/Flex calls
+	 * to an URL like http://xmppserver:5280/crossdomain.xml will be
+	 * redirected as an URL of your choice such as
+	 * http://webserver/crossdomain.xml

+	 *
+	 *
Warning: if you are using BOSH through HTTPS, your crossdomain
+	 * policy file must also be served through HTTPS. Your application
+	 * (if online) must also be served through HTTPS else you will
+	 * have a crossdomain policy issue. This issue can be solved by
+	 * using the secure property of the allow-access-from node in the
+	 * crossdomain.xml file. But this is not recommended by Adobe.

+	 *
 	 * @see http://xmpp.org/extensions/xep-0124.html
 	 * @see http://xmpp.org/extensions/xep-0206.html
 	 */
@@ -262,12 +281,12 @@
 		override protected function sendXML( someData:* ):void
 		{
 			var thisData:XMLNode;
-			if (someData is XML)
+			if (someData is XML)
 			{
 				var x : XML = someData as XML;
 				thisData = new XMLDocument( x.toXMLString() );
-			}
-			else
+			}
+			else
 			{
 				thisData = someData as XMLNode;
 			}


Develop

Develop

--- src/main/org/shypl/common/timeline/Timeline.as
+++ src/main/org/shypl/common/timeline/Timeline.as
@@ -119,13 +119,13 @@
 						try {
 							task.handleEnterFrame(time);
 						}
-						catch (e:Error) {
+						catch (error:Error) {
 							task.cancel();
 							_tasks.removeCurrent();
 							_tasks.stopIteration();
 							Engine.decreaseTaskCounter(++removeCount);

-							throw new RuntimeException("Error on process TimelineTask", e);
+							throw error;
 						}

 						if (task.canceled) {


XIFF-65: Visibility of a callback method.

--- src/org/igniterealtime/xiff/conference/Room.as
+++ src/org/igniterealtime/xiff/conference/Room.as
@@ -693,7 +693,7 @@
 		 *
 		 * @param	iq
 		 */
-		private function finish_requestAffiliates( iq:IQ ):void
+		public function finish_requestAffiliates( iq:IQ ):void
 		{
 			finish_admin( iq );
 			if ( iq.type == IQ.TYPE_RESULT )


Transferred from the Adobe Open Source Subversion Repository

Revision: 17993
Author:   tkraikit@adobe.com
Date:     2010-10-01T21:23:33.939694Z

Log Message:
-----------
Fix for bugs 27924 and 27927: internals reworked to handle autostop when content is loaded via @Embed or from SWC

QE notes: n/a
Doc notes: n/a
Bugs: SDK-27924 and SDK-27927
Reviewer: Corey, Alex
Tests run: checkintests, mustella via cyclone server
Is noteworthy for integration: n/a

Modified Paths:
--------------
<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/framework/src/mx/controls/MovieClipSWFLoader.as</path>

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

--- frameworks/projects/framework/src/mx/controls/SWFLoader.as
+++ frameworks/projects/framework/src/mx/controls/SWFLoader.as
@@ -376,13 +376,13 @@
 public class SWFLoader extends UIComponent implements ISWFLoader
 {
     include "../core/Version.as";
-
+
     //--------------------------------------------------------------------------
     //
     //  Constructor
     //
     //--------------------------------------------------------------------------
-
+
     /**
      *  Constructor.
      *
@@ -394,88 +394,88 @@
     public function SWFLoader()
     {
         super();
-
+
         tabEnabled = false;
         tabFocusEnabled = false;
-
+
         addEventListener(FlexEvent.INITIALIZE, initializeHandler);
         addEventListener(Event.ADDED_TO_STAGE, addedToStageHandler);
         addEventListener(MouseEvent.CLICK, clickHandler);
-
+
         showInAutomationHierarchy = false;
     }
-
+
     //--------------------------------------------------------------------------
     //
     //  Variables
     //
     //--------------------------------------------------------------------------
-
+
     /**
      *  @private
      */
     mx_internal var contentHolder:DisplayObject;
-
+
     /**
      *  @private
      */
     private var contentChanged:Boolean = false;
-
+
     /**
      *  @private
      */
     private var scaleContentChanged:Boolean = false;
-
+
     /**
      *  @private
      */
     private var smoothBitmapContentChanged:Boolean = false;
-
+
     /**
      *  @private
      */
     private var isContentLoaded:Boolean = false;
-
+
     /**
      *  @private
      */
     private var brokenImage:Boolean = false;
-
+
     /**
      *  @private
      */
     private var resizableContent:Boolean = false; // true if we've loaded a SWF
-
+
     /**
      *  @private
      */
     private var flexContent:Boolean = false; // true if we've loaded a Flex SWF
-
+
     /**
      *  @private
      */
     private var contentRequestID:String = null;
-
+
     /**
      *  @private
      */
     private var attemptingChildAppDomain:Boolean = false;
-
+
     /**
      *  @private
      */
     private var requestedURL:URLRequest;
-
+
     /**
      *  @private
      */
     private var brokenImageBorder:IFlexDisplayObject;
-
+
     /**
      *  @private
      */
     private var explicitLoaderContext:Boolean = false;
-
+
     /**
      *  @private
      */
@@ -488,7 +488,7 @@
      *  should use unload() or unloadAndStop().
      */
     private var useUnloadAndStop:Boolean;
-
+
     /**
      *  @private
      *
@@ -496,26 +496,26 @@
      *  as the gc parameter.
      */
     private var unloadAndStopGC:Boolean;
-
+
     //--------------------------------------------------------------------------
     //
     //  Properties
     //
     //--------------------------------------------------------------------------
-
+
     //----------------------------------
     //  autoLoad
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the autoLoad property.
      */
     private var _autoLoad:Boolean = true;
-
+
     [Bindable("autoLoadChanged")]
     [Inspectable(defaultValue="true")]
-
+
     /**
      *  A flag that indicates whether content starts loading automatically
      *  or waits for a call to the load() method.
@@ -533,7 +533,7 @@
     {
         return _autoLoad;
     }
-
+
     /**
      *  @private
      */
@@ -542,30 +542,30 @@
         if (_autoLoad != value)
         {
             _autoLoad = value;
-
+
             contentChanged = true;
-
+
             invalidateProperties();
             invalidateSize();
             invalidateDisplayList();
-
+
             dispatchEvent(new Event("autoLoadChanged"));
         }
     }
-
+
     //----------------------------------
     //  loadForCompatibility
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the loadForCompatibility property.
      */
     private var _loadForCompatibility:Boolean = false;
-
+
     [Bindable("loadForCompatibilityChanged")]
     [Inspectable(defaultValue="false")]
-
+
     /**
      *  A flag that indicates whether the content is loaded so that it can
      *  interoperate with applications built with a different verion of the Flex compiler.
@@ -587,7 +587,7 @@
     {
         return _loadForCompatibility;
     }
-
+
     /**
      *  @private
      */
@@ -596,29 +596,29 @@
         if (_loadForCompatibility != value)
         {
             _loadForCompatibility = value;
-
+
             contentChanged = true;
-
+
             invalidateProperties();
             invalidateSize();
             invalidateDisplayList();
-
+
             dispatchEvent(new Event("loadForCompatibilityChanged"));
         }
     }
-
+
     //----------------------------------
     //  bytesLoaded (read only)
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the autoLoad property.
      */
     private var _bytesLoaded:Number = NaN;
-
+
     [Bindable("progress")]
-
+
     /**
      *  The number of bytes of the SWF or image file already loaded.
      *
@@ -631,19 +631,19 @@
     {
         return _bytesLoaded;
     }
-
+
     //----------------------------------
     //  bytesTotal (read only)
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the bytesTotal property.
      */
     private var _bytesTotal:Number = NaN;
-
+
     [Bindable("complete")]
-
+
     /**
      *  The total size of the SWF or image file.
      *
@@ -656,11 +656,11 @@
     {
         return _bytesTotal;
     }
-
+
     //----------------------------------
     //  content (read only)
     //----------------------------------
-
+
     /**
      *  This property contains the object that represents
      *  the content that was loaded in the SWFLoader control.
@@ -677,14 +677,14 @@
     {
         if (contentHolder is Loader)
             return Loader(contentHolder).content;
-
+
         return contentHolder;
     }
-
+
     //----------------------------------
     //  contentHeight
     //----------------------------------
-
+
     /**
      *  Height of the scaled content loaded by the control, in pixels.
      *  Note that this is not the height of the control itself, but of the
@@ -705,11 +705,11 @@
     {
         return contentHolder ? contentHolder.height : NaN;
     }
-
+
     //----------------------------------
     //  contentHolderHeight (private)
     //----------------------------------
-
+
     /**
      *  @private
      */
@@ -719,16 +719,16 @@
         var loaderInfo:LoaderInfo;
         if (contentHolder is Loader)
             loaderInfo = Loader(contentHolder).contentLoaderInfo;
-
+
         if (loaderInfo)
         {
             if (loaderInfo.contentType == "application/x-shockwave-flash")
             {
                 try
                 {
-					var mp:IMarshalSystemManager =
-						IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
-					if (mp && mp.swfBridgeGroup)
+                    var mp:IMarshalSystemManager =
+                        IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
+                    if (mp && mp.swfBridgeGroup)
                     {
                         var bridge:IEventDispatcher = swfBridge;
                         if (bridge)
@@ -738,7 +738,7 @@
                             return request.data.height;
                         }
                     }
-
+
                     var content:IFlexDisplayObject =
                         Loader(contentHolder).content as IFlexDisplayObject;
                     if (content)
@@ -760,23 +760,23 @@
                     return contentHolder.height;
                 }
             }
-
+
             return loaderInfo.height;
         }
-
+
         // For internally loaded content, use preferredHeight (if present) or height
         if (contentHolder is IUIComponent)
             return IUIComponent(contentHolder).getExplicitOrMeasuredHeight();
         if (contentHolder is IFlexDisplayObject)
             return IFlexDisplayObject(contentHolder).measuredHeight;
-
+
         return contentHolder.height;
     }
-
+
     //----------------------------------
     //  contentHolderWidth (private)
     //----------------------------------
-
+
     /**
      *  @private
      */
@@ -786,7 +786,7 @@
         var loaderInfo:LoaderInfo;
         if (contentHolder is Loader)
             loaderInfo = Loader(contentHolder).contentLoaderInfo;
-
+
         if (loaderInfo)
         {
             if (loaderInfo.contentType == "application/x-shockwave-flash")
@@ -795,11 +795,11 @@
                 {
                     if (swfBridge)
                     {
-                    var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
-                    swfBridge.dispatchEvent(request);
-                    return request.data.width;
+                        var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
+                        swfBridge.dispatchEvent(request);
+                        return request.data.width;
                     }
-
+
                     var content:IFlexDisplayObject =
                         Loader(contentHolder).content as IFlexDisplayObject;
                     if (content)
@@ -821,23 +821,23 @@
                     return contentHolder.width;
                 }
             }
-
+
             return loaderInfo.width;
         }
-
+
         // For internally loaded content, use explicitWidth (if present) or explicitWidth
         if (contentHolder is IUIComponent)
             return IUIComponent(contentHolder).getExplicitOrMeasuredWidth();
         if (contentHolder is IFlexDisplayObject)
             return IFlexDisplayObject(contentHolder).measuredWidth;
-
+
         return contentHolder.width;
     }
-
+
     //----------------------------------
     //  contentWidth
     //----------------------------------
-
+
     /**
      *  Width of the scaled content loaded by the control, in pixels.
      *  Note that this is not the width of the control itself, but of the
@@ -858,20 +858,20 @@
     {
         return contentHolder ? contentHolder.width : NaN;
     }
-
+
     //----------------------------------
     //  loaderContext
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the loaderContext property.
      */
     private var _loaderContext:LoaderContext;
-
+
     [Bindable("loaderContextChanged")]
     [Inspectable(defaultValue="true")]
-
+
     /**
      *  A LoaderContext object to use to control loading of the content.
      *  This is an advanced property.
@@ -905,31 +905,31 @@
     {
         return _loaderContext;
     }
-
+
     /**
      *  @private
      */
     public function set loaderContext(value:LoaderContext):void
     {
         _loaderContext = value;
-                explicitLoaderContext = true;
-
+        explicitLoaderContext = true;
+
         dispatchEvent(new Event("loaderContextChanged"));
     }
-
+
     //----------------------------------
     //  maintainAspectRatio
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the maintainAspectRatio property.
      */
     private var _maintainAspectRatio:Boolean = true;
-
+
     [Bindable("maintainAspectRatioChanged")]
     [Inspectable(defaultValue="true")]
-
+
     /**
      *  A flag that indicates whether to maintain the aspect ratio
      *  of the loaded content.
@@ -947,29 +947,29 @@
     {
         return _maintainAspectRatio;
     }
-
+
     /**
      *  @private
      */
     public function set maintainAspectRatio(value:Boolean):void
     {
         _maintainAspectRatio = value;
-
+
         dispatchEvent(new Event("maintainAspectRatioChanged"));
     }
-
-
+
+
     //----------------------------------
     //  sandBoxBridge (read only)
     //----------------------------------
     private var _swfBridge:IEventDispatcher;
-
+
     //----------------------------------
     //  percentLoaded (read only)
     //----------------------------------
-
+
     [Bindable("progress")]
-
+
     /**
      *  The percentage of the image or SWF file already loaded.
      *
@@ -983,28 +983,28 @@
     public function get percentLoaded():Number
     {
         var p:Number = isNaN(_bytesTotal) || _bytesTotal == 0 ?
-                       0 :
-                       100 * (_bytesLoaded / _bytesTotal);
-
+            0 :
+            100 * (_bytesLoaded / _bytesTotal);
+
         if (isNaN(p))
             p = 0;
-
+
         return p;
     }
-
+
     //----------------------------------
     //  scaleContent
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the scaleContent property.
      */
     private var _scaleContent:Boolean = true;
-
+
     [Bindable("scaleContentChanged")]
     [Inspectable(category="General", defaultValue="true")]
-
+
     /**
      *  A flag that indicates whether to scale the content to fit the
      *  size of the control or resize the control to the content's size.
@@ -1022,7 +1022,7 @@
     {
         return _scaleContent;
     }
-
+
     /**
      *  @private
      */
@@ -1031,26 +1031,26 @@
         if (_scaleContent != value)
         {
             _scaleContent = value;
-
+
             scaleContentChanged = true;
             invalidateDisplayList();
         }
-
+
         dispatchEvent(new Event("scaleContentChanged"));
     }
-
+
     //----------------------------------
     //  showBusyCursor
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the scaleContent property.
      */
     private var _showBusyCursor:Boolean = false;
-
+
     [Inspectable(category="General", defaultValue="true")]
-
+
     /**
      *  A flag that indicates whether to show a busy cursor while
      *  the content loads.
@@ -1071,7 +1071,7 @@
     {
         return _showBusyCursor;
     }
-
+
     /**
      *  @private
      */
@@ -1080,27 +1080,27 @@
         if (_showBusyCursor != value)
         {
             _showBusyCursor = value;
-
+
             if (_showBusyCursor)
                 CursorManager.registerToUseBusyCursor(this);
             else
                 CursorManager.unRegisterToUseBusyCursor(this);
         }
     }
-
+
     //----------------------------------
     //  smoothBitmapContent
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the smoothBitmapContent property.
      */
     private var _smoothBitmapContent:Boolean = false;
-
+
     [Bindable("smoothBitmapContentChanged")]
     [Inspectable(category="General", defaultValue="false")]
-
+
     /**
      *  A flag that indicates whether to smooth the content when it
      *  is scaled. Only Bitmap content can be smoothed.
@@ -1114,7 +1114,7 @@
     {
         return _smoothBitmapContent;
     }
-
+
     /**
      *  @private
      */
@@ -1123,27 +1123,27 @@
         if (_smoothBitmapContent != value)
         {
             _smoothBitmapContent = value;
-
+
             smoothBitmapContentChanged = true;
             invalidateDisplayList();
         }
-
+
         dispatchEvent(new Event("smoothBitmapContentChanged"));
     }
-
+
     //----------------------------------
     //  source
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the source property.
      */
     private var _source:Object;
-
+
     [Bindable("sourceChanged")]
     [Inspectable(category="General", defaultValue="", format="File")]
-
+
     /**
      *  The URL, object, class or string name of a class to
      *  load as the content.
@@ -1194,7 +1194,7 @@
     {
         return _source;
     }
-
+
     /**
      *  @private
      */
@@ -1203,30 +1203,30 @@
         if (_source != value)
         {
             _source = value;
-
+
             contentChanged = true;
-
+
             invalidateProperties();
             invalidateSize();
             invalidateDisplayList()
-
+
             dispatchEvent(new Event("sourceChanged"));
         }
     }
-
+
     //----------------------------------
     //  trustContent
     //----------------------------------
-
+
     /**
      *  @private
      *  Storage for the trustContent property.
      */
     private var _trustContent:Boolean = false;
-
+
     [Bindable("trustContentChanged")]
     [Inspectable(defaultValue="false")]
-
+
     /**
      *  If true, the content is loaded
      *  into your security domain.
@@ -1265,7 +1265,7 @@
     {
         return _trustContent;
     }
-
+
     /**
      *  @private
      */
@@ -1274,21 +1274,21 @@
         if (_trustContent != value)
         {
             _trustContent = value;
-
+
             invalidateProperties();
             invalidateSize();
             invalidateDisplayList();
-
+
             dispatchEvent(new Event("trustContentChanged"));
         }
     }
-
+
     //--------------------------------------------------------------------------
     //
     //  Properties of ISWFBridgeProvider
     //
     //--------------------------------------------------------------------------
-
+
     /**
      * @inheritDoc
      *
@@ -1314,11 +1314,11 @@
     {
         if (!isContentLoaded)
             return false;
-
+
         try
         {
-        if (contentHolder is Loader)
-            return Loader(contentHolder).contentLoaderInfo.childAllowsParent;
+            if (contentHolder is Loader)
+                return Loader(contentHolder).contentLoaderInfo.childAllowsParent;
         }
         catch (error:Error)
         {
@@ -1329,7 +1329,7 @@

         return true;
     }
-
+
     /**
      * @inheritDoc
      *
@@ -1345,8 +1345,8 @@

         try
         {
-        if (contentHolder is Loader)
-            return Loader(contentHolder).contentLoaderInfo.parentAllowsChild;
+            if (contentHolder is Loader)
+                return Loader(contentHolder).contentLoaderInfo.parentAllowsChild;
         }
         catch (error:Error)
         {
@@ -1357,47 +1357,47 @@

         return true;
     }
-
+
     //--------------------------------------------------------------------------
     //
     //  Overridden methods: UIComponent
     //
     //--------------------------------------------------------------------------
-
+
     /**
      *  @private
      */
     override protected function commitProperties():void
     {
         super.commitProperties();
-
+
         if (contentChanged)
         {
             contentChanged = false;
-
+
             if (_autoLoad)
                 load(_source);
         }
     }
-
+
     /**
      *  @private
      */
     override protected function measure():void
     {
         super.measure();
-
+
         if (isContentLoaded)
         {
             var oldScaleX:Number = contentHolder.scaleX;
             var oldScaleY:Number = contentHolder.scaleY;
-
+
             contentHolder.scaleX = 1.0;
             contentHolder.scaleY = 1.0;
-
+
             measuredWidth = contentHolderWidth;
             measuredHeight = contentHolderHeight;
-
+
             contentHolder.scaleX = oldScaleX;
             contentHolder.scaleY = oldScaleY;
         }
@@ -1415,7 +1415,7 @@
             }
         }
     }
-
+
     /**
      *  @private
      */
@@ -1423,7 +1423,7 @@
                                                   unscaledHeight:Number):void
     {
         super.updateDisplayList(unscaledWidth, unscaledHeight);
-
+
         if (contentChanged)
         {
             contentChanged = false;
@@ -1431,7 +1431,7 @@
             if (_autoLoad)
                 load(_source);
         }
-
+
         if (isContentLoaded)
         {
             // We will either scale the content to the size of the SWFLoader,
@@ -1440,15 +1440,15 @@
                 doScaleContent();
             else
                 doScaleLoader();
-
+
             scaleContentChanged = false;

             if (smoothBitmapContentChanged) {
-            	doSmoothBitmapContent();
-            	smoothBitmapContentChanged = false;
-        }
-        }
-
+                doSmoothBitmapContent();
+                smoothBitmapContentChanged = false;
+            }
+        }
+
         if (brokenImage && !brokenImageBorder)
         {
             var skinClass:Class = getStyle("brokenImageBorderSkin");
@@ -1465,19 +1465,19 @@
             removeChild(DisplayObject(brokenImageBorder));
             brokenImageBorder = null;
         }
-
+
         if (brokenImageBorder)
             brokenImageBorder.setActualSize(unscaledWidth, unscaledHeight);
-
-                sizeShield();
-    }
-
+
+        sizeShield();
+    }
+
     //--------------------------------------------------------------------------
     //
     //  Methods
     //
     //--------------------------------------------------------------------------
-
+
     /**
      *  Loads an image or SWF file.
      *  The url argument can reference a GIF, JPEG, PNG,
@@ -1511,10 +1511,10 @@

         if (!_source || _source == "")
             return;
-
+
         loadContent(_source);
     }
-
+
     /**
      *  Unloads an image or SWF file. After this method returns the
      *  source property will be null. This is only supported
@@ -1582,8 +1582,8 @@

         return rect;
     }
-
-
+
+
     /**
      *  @private
      *
@@ -1635,7 +1635,7 @@
                         contentLoader.content.removeEventListener(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST,
                             contentHolder_getFlexModuleFactoryRequestHandler);
                     }
-
+
                     contentHolder.removeEventListener(Event.ADDED, contentHolder_addedHandler);
                     removeInitSystemManagerCompleteListener(contentLoader.contentLoaderInfo);

@@ -1741,7 +1741,7 @@
             // example). Call toString() and try to load it.
             url = classOrString.toString();
         }
-
+
         // Create a child UIComponent based on a class reference, such as Button.
         if (cls)
         {
@@ -1758,7 +1758,7 @@

             // Listen for requests to get the flex module factory.
             contentHolder.addEventListener(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST,
-                                   contentHolder_getFlexModuleFactoryRequestHandler);
+                contentHolder_getFlexModuleFactoryRequestHandler);
         }
         else if (byteArray)
         {
@@ -1784,10 +1784,10 @@
             // Create an instance of the Flash Player Loader class to do all the work
             loader = new FlexLoader();
             contentHolder = child = loader;
-
+
             // addChild needs to be called before load()
             addChild(loader);
-
+
             // Forward the events from the Flash Loader to anyone
             // who has registered as an event listener on this Loader.
             loader.contentLoaderInfo.addEventListener(
@@ -1809,11 +1809,11 @@

             // are we in a debug player and this was a debug=true request
             if ( (Capabilities.isDebugger == true) &&
-                 (url.indexOf(".jpg") == -1) &&
-                 (LoaderUtil.normalizeURL(
-                 FlexGlobals.topLevelApplication.systemManager.loaderInfo).indexOf("debug=true") > -1) )
+                (url.indexOf(".jpg") == -1) &&
+                (LoaderUtil.normalizeURL(
+                    FlexGlobals.topLevelApplication.systemManager.loaderInfo).indexOf("debug=true") > -1) )
                 url = url + ( (url.indexOf("?") > -1) ? "&debug=true" : "?debug=true" );
-
+
             // make relative paths relative to the SWF loading it, not the top-level SWF
             if (!(url.indexOf(":") > -1 || url.indexOf("/") == 0 || url.indexOf("\\") == 0))
             {
@@ -1824,16 +1824,16 @@
                     rootURL = LoaderUtil.normalizeURL(root.loaderInfo);
                 else if (systemManager)
                     rootURL = LoaderUtil.normalizeURL(DisplayObject(systemManager).loaderInfo);
-
+
                 url = OSToPlayerURI(url, isLocal(rootURL ? rootURL : url));
                 if (rootURL)
                     url = LoaderUtil.createAbsoluteURL(rootURL, url);
             } else {
-            	url = OSToPlayerURI(url, isLocal(url));
+                url = OSToPlayerURI(url, isLocal(url));
             }
-
+
             requestedURL = new URLRequest(url);
-
+
             var lc:LoaderContext = loaderContext;
             if (!lc)
             {
@@ -1854,8 +1854,8 @@
                     currentDomain = moduleFactory.info()["currentDomain"];
                 else
                     currentDomain = ApplicationDomain.currentDomain;
-
-                 // To get a peer application domain (relative to framework classes),
+
+                // To get a peer application domain (relative to framework classes),
                 // get the topmost parent domain of the current domain. This
                 // will either be the application domain of the
                 // bootstrap loader (non-framework classes), or null. Either way we get
@@ -1875,7 +1875,7 @@
                     }
                     lc.applicationDomain = new ApplicationDomain(topmostDomain);
                 }
-
+
                 if (trustContent)
                 {
                     lc.securityDomain = SecurityDomain.currentDomain;
@@ -1888,7 +1888,7 @@
                     lc.applicationDomain = new ApplicationDomain(currentDomain);
                 }
             }
-
+
             loader.load(requestedURL, lc);
         }
         else
@@ -1897,12 +1897,12 @@
                 "controls", "notLoadable", [ source ]);
             throw new Error(message);
         }
-
+
         // contentHolder should inherit the layoutDirection
         // (sometimes its an asset which defaults to LTR).
         if (contentHolder && contentHolder is ILayoutDirectionElement)
             ILayoutDirectionElement(contentHolder).layoutDirection = null;
-
+
         invalidateDisplayList();
     }

@@ -1969,7 +1969,7 @@
         {
             // malformed url, but some are legal on the file system
         }
-
+
         // create the string to hold the the search string url fragments.
         var extraString:String = null;
         if (searchStringIndex != -1 || fragmentUrlIndex != -1)
@@ -1984,7 +1984,7 @@

             extraString = url.substr(index);
         }
-
+
         if (local && flash.system.Capabilities.playerType == "ActiveX")
         {
             if (extraString)
@@ -1998,26 +1998,26 @@
         else
             return encodeURI(decoded);
     }
-
+
     /**
      *  @private
      *  Called when the content has successfully loaded.
      */
-    private function contentLoaded():void
+    protected function contentLoaded():void
     {
         isContentLoaded = true;
-
+
         // For externally loaded content, use the loaderInfo structure
         var loaderInfo:LoaderInfo;
         if (contentHolder is Loader)
             loaderInfo = Loader(contentHolder).contentLoaderInfo;
-
+
         resizableContent = false;
         if (loaderInfo)
         {
             if (loaderInfo.contentType == "application/x-shockwave-flash")
                 resizableContent = true;
-
+
             if (resizableContent)
             {
                 try
@@ -2029,18 +2029,18 @@
                 }
                 catch(e:Error)
                 {
-                        // trace("contentLoader: " + e);
+                    // trace("contentLoader: " + e);
                     flexContent = swfBridge != null;
                 }
             }
         }
-
+
         try
         {
             if (tabChildren &&
                 contentHolder is Loader &&
                 (loaderInfo.contentType == "application/x-shockwave-flash" ||
-                Loader(contentHolder).content is DisplayObjectContainer))
+                    Loader(contentHolder).content is DisplayObjectContainer))
             {
                 Loader(contentHolder).tabChildren = true;
                 DisplayObjectContainer(Loader(contentHolder).content).tabChildren = true;
@@ -2050,11 +2050,11 @@
         {
             // eat security errors from x-domain content.
         }
-
+
         invalidateSize();
         invalidateDisplayList();
     }
-
+
     /**
      *  @private
      *  If scaleContent = true then two situations arise:
@@ -2069,47 +2069,47 @@
     {
         if (!isContentLoaded)
             return;
-
+
         // if not a SWF, then we scale it, otherwise we just set the size of the SWF.
         if (!resizableContent || (maintainAspectRatio && !flexContent))
         {
             // Make sure any previous scaling is undone.
             unScaleContent();
-
+
             // Scale the content to the size of the SWFLoader, preserving aspect ratio.
             var interiorWidth:Number = unscaledWidth;
             var interiorHeight:Number = unscaledHeight;
             var contentWidth:Number = contentHolderWidth;
             var contentHeight:Number = contentHolderHeight;
-
+
             var x:Number = 0;
             var y:Number = 0;

             // bug 84294 a swf may still not have size at this point
             var newXScale:Number = contentWidth == 0 ?
-                                   1 :
-                                   interiorWidth / contentWidth;
+                1 :
+                interiorWidth / contentWidth;
             var newYScale:Number = contentHeight == 0 ?
-                                   1 :
-                                   interiorHeight / contentHeight;
+                1 :
+                interiorHeight / contentHeight;

             var scale:Number;
-
+
             if (_maintainAspectRatio)
             {
                 if (newXScale > newYScale)
                 {
                     x = Math.floor((interiorWidth - contentWidth * newYScale) *
-                                   getHorizontalAlignValue());
+                        getHorizontalAlignValue());
                     scale = newYScale;
                 }
                 else
                 {
                     y = Math.floor((interiorHeight - contentHeight * newXScale) *
-                                   getVerticalAlignValue());
+                        getVerticalAlignValue());
                     scale = newXScale;
                 }
-
+
                 // Scale by the same amount in both directions.
                 contentHolder.scaleX = scale;
                 contentHolder.scaleY = scale;
@@ -2119,7 +2119,7 @@
                 contentHolder.scaleX = newXScale;
                 contentHolder.scaleY = newYScale;
             }
-
+
             contentHolder.x = x;
             contentHolder.y = y;
         }
@@ -2127,10 +2127,10 @@
         {
             contentHolder.x = 0;
             contentHolder.y = 0;
-
+
             var w:Number = unscaledWidth;
             var h:Number = unscaledHeight;
-
+
             if (contentHolder is Loader)
             {
                 var holder:Loader = Loader(contentHolder);
@@ -2141,7 +2141,7 @@
                     {
                         var sizeSet:Boolean = false;

-                            if (holder.contentLoaderInfo.contentType == "application/x-shockwave-flash")
+                        if (holder.contentLoaderInfo.contentType == "application/x-shockwave-flash")
                         {
                             if (childAllowsParent)
                             {
@@ -2155,12 +2155,12 @@
                             if (!sizeSet && swfBridge)
                             {
                                 swfBridge.dispatchEvent(new SWFBridgeRequest(SWFBridgeRequest.SET_ACTUAL_SIZE_REQUEST,
-                                                        false, false, null,
-                                                        { width: w, height: h}));
+                                    false, false, null,
+                                    { width: w, height: h}));
                                 sizeSet = true;
                             }
                         }
-
+
                         if (!sizeSet)
                         {
                             // Bug 142705 - we can't just set width and height here. If the SWF content
@@ -2168,21 +2168,21 @@
                             // the same as the loaderInfo width/height. If we just set width/height
                             // here is can scale the content in unpredictable ways.
                             var lInfo:LoaderInfo = holder.contentLoaderInfo;
-
+
                             if (lInfo)
                             {
                                 contentHolder.scaleX = w / lInfo.width;
                                 contentHolder.scaleY = h / lInfo.height;
                             }
                             else
-                        {
-                            contentHolder.width = w;
-                            contentHolder.height = h;
+                            {
+                                contentHolder.width = w;
+                                contentHolder.height = h;
+                            }
                         }
                     }
-                    }
                     else if (childAllowsParent &&
-                             !(holder.content is IFlexDisplayObject))
+                        !(holder.content is IFlexDisplayObject))
                     {
                         contentHolder.width = w;
                         contentHolder.height = h;
@@ -2195,9 +2195,9 @@
                 }

                 if (!parentAllowsChild)
-                        contentHolder.scrollRect = new Rectangle(0, 0,
-                                                             w / contentHolder.scaleX,
-                                                             h / contentHolder.scaleY);
+                    contentHolder.scrollRect = new Rectangle(0, 0,
+                        w / contentHolder.scaleX,
+                        h / contentHolder.scaleY);
             }
             else
             {
@@ -2206,7 +2206,7 @@
             }
         }
     }
-
+
     /**
      *  @private
      *  If scaleContent = false then two situations arise:
@@ -2223,15 +2223,15 @@
     {
         if (!isContentLoaded)
             return;
-
+
         unScaleContent();
-
+
         var w:Number = unscaledWidth;
         var h:Number = unscaledHeight;
-
+
         if ((contentHolderWidth > w) ||
             (contentHolderHeight > h) ||
-             !parentAllowsChild)
+            !parentAllowsChild)
         {
             contentHolder.scrollRect = new Rectangle(0, 0, w, h);
         }
@@ -2239,20 +2239,20 @@
         {
             contentHolder.scrollRect = null;
         }
-
+
         contentHolder.x = (w - contentHolderWidth) * getHorizontalAlignValue();
         contentHolder.y = (h - contentHolderHeight) * getVerticalAlignValue();
     }
-
+
     /**
      *  @private
      */
     private function doSmoothBitmapContent():void
     {
-    	if (content is Bitmap)
-    		(content as Bitmap).smoothing = _smoothBitmapContent;
-    }
-
+        if (content is Bitmap)
+            (content as Bitmap).smoothing = _smoothBitmapContent;
+    }
+
     /**
      *  @private
      */
@@ -2263,36 +2263,36 @@
         contentHolder.x = 0;
         contentHolder.y = 0;
     }
-
-
+
+
     /**
      *  @private
      */
     private function getHorizontalAlignValue():Number
     {
         var horizontalAlign:String = getStyle("horizontalAlign");
-
+
         if (horizontalAlign == "left")
             return 0;
         else if (horizontalAlign == "right")
             return 1;
-
+
         // default = center
         return 0.5;
     }
-
+
     /**
      *  @private
      */
     private function getVerticalAlignValue():Number
     {
         var verticalAlign:String = getStyle("verticalAlign");
-
+
         if (verticalAlign == "top")
             return 0;
         else if (verticalAlign == "bottom")
             return 1;
-
+
         // default = middle
         return 0.5;
     }
@@ -2308,11 +2308,11 @@
                                                invalidateDisplayList:Boolean):void
     {
         var sm:ISystemManager = systemManager;
-		var mp:IMarshalSystemManager =
-			IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
+        var mp:IMarshalSystemManager =
+            IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
         if (!mp || !mp.useSWFBridge())
             return;
-
+
         var bridge:IEventDispatcher = mp.swfBridgeGroup.parentBridge;
         var flags:uint = 0;

@@ -2322,13 +2322,13 @@
             flags |= InvalidateRequestData.SIZE;
         if (invalidateDisplayList)
             flags |= InvalidateRequestData.DISPLAY_LIST;
-
+
         var request:SWFBridgeRequest = new SWFBridgeRequest(
-                                                    SWFBridgeRequest.INVALIDATE_REQUEST,
-                                                    false, false,
-                                                    bridge,
-                                                    flags);
-         bridge.dispatchEvent(request);
+            SWFBridgeRequest.INVALIDATE_REQUEST,
+            false, false,
+            bridge,
+            flags);
+        bridge.dispatchEvent(request);
     }

     //--------------------------------------------------------------------------
@@ -2336,7 +2336,7 @@
     //  Event handlers
     //
     //--------------------------------------------------------------------------
-
+
     /**
      *  @private
      */
@@ -2349,17 +2349,17 @@
             if (_autoLoad)
                 load(_source);
         }
-        }
-
+    }
+
     /**
      *  @private
      */
     private function addedToStageHandler(event:Event):void
     {
         systemManager.getSandboxRoot().addEventListener(InterManagerRequest.DRAG_MANAGER_REQUEST,
-                mouseShieldHandler, false, 0, true);
-    }
-
+            mouseShieldHandler, false, 0, true);
+    }
+

     /**
      *  @private
@@ -2375,24 +2375,24 @@
         // because that means it was for the old content
         if (LoaderInfo(event.target).loader != contentHolder)
             return;
-
+
         // Redispatch the event from this SWFLoader.
         dispatchEvent(event);
-
+
         contentLoaded();

     }
-
+
     /**
      *  @private
      */
     private function contentLoaderInfo_httpStatusEventHandler(
-                            event:HTTPStatusEvent):void
+        event:HTTPStatusEvent):void
     {
         // Redispatch the event from this SWFLoader.
         dispatchEvent(event);
     }
-
+
     /**
      *  @private
      */
@@ -2405,19 +2405,19 @@
         // use a sandbox bridge to communicate.
         var loaderInfo:LoaderInfo = LoaderInfo(event.target);
         addInitSystemManagerCompleteListener(loaderInfo.loader.contentLoaderInfo);
-
+
         // Listen for requests to get the flex module factory.
         if (loaderInfo.contentType == "application/x-shockwave-flash" &&
             loaderInfo.parentAllowsChild && loaderInfo.childAllowsParent &&
             loaderInfo.content)
         {
             loaderInfo.content.addEventListener(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST,
-                                            contentHolder_getFlexModuleFactoryRequestHandler);
-        }
-
-    }
-
-
+                contentHolder_getFlexModuleFactoryRequestHandler);
+        }
+
+    }
+
+
     /**
      *  @private
      *
@@ -2433,9 +2433,9 @@
     {
         if (loaderInfo.contentType == "application/x-shockwave-flash")
         {
-                var bridge:EventDispatcher = loaderInfo.sharedEvents;
-                bridge.addEventListener(SWFBridgeEvent.BRIDGE_NEW_APPLICATION,
-                                        initSystemManagerCompleteEventHandler);
+            var bridge:EventDispatcher = loaderInfo.sharedEvents;
+            bridge.addEventListener(SWFBridgeEvent.BRIDGE_NEW_APPLICATION,
+                initSystemManagerCompleteEventHandler);
         }
     }

@@ -2455,26 +2455,26 @@
         {
             var bridge:EventDispatcher = loaderInfo.sharedEvents;
             bridge.removeEventListener(SWFBridgeEvent.BRIDGE_NEW_APPLICATION,
-                                       initSystemManagerCompleteEventHandler);
-        }
-    }
-
+                initSystemManagerCompleteEventHandler);
+        }
+    }
+
     /**
      *  @private
      */
     private function contentLoaderInfo_ioErrorEventHandler(
-                            event:IOErrorEvent):void
+        event:IOErrorEvent):void
     {
         // Error loading content, show the broken image.
         source = getStyle("brokenImageSkin");
-
+
         // Force the load of the broken image skin here, since that will
         // clear the brokenImage flag. After the image is loaded we set
         // the brokenImage flag.
         load();
         contentChanged = false;
         brokenImage = true;
-
+
         // Redispatch the event from this SWFLoader,
         // but only if there is a listener.
         // If there are no listeners for ioError event,
@@ -2484,9 +2484,9 @@

         if (contentHolder is Loader)
             removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);
-
-    }
-
+
+    }
+
     /**
      *  @private
      */
@@ -2495,25 +2495,25 @@
         // Redispatch the event from this SWFLoader.
         dispatchEvent(event);
     }
-
+
     /**
      *  @private
      */
     private function contentLoaderInfo_progressEventHandler(
-                            event:ProgressEvent):void
+        event:ProgressEvent):void
     {
         _bytesTotal = event.bytesTotal;
         _bytesLoaded = event.bytesLoaded;
-
+
         // Redispatch the event from this SWFLoader.
         dispatchEvent(event);
     }
-
+
     /**
      *  @private
      */
     private function contentLoaderInfo_securityErrorEventHandler(
-                            event:SecurityErrorEvent):void
+        event:SecurityErrorEvent):void
     {
         if (attemptingChildAppDomain)
         {
@@ -2523,14 +2523,14 @@
             callLater(load);
             return;
         }
-
+
         // Redispatch the event from this SWFLoader.
         dispatchEvent(event);

         if (contentHolder is Loader)
             removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);
     }
-
+
     /**
      *  @private
      */
@@ -2545,16 +2545,16 @@
         if (_swfBridge)
         {
             _swfBridge.removeEventListener(SWFBridgeRequest.INVALIDATE_REQUEST,
-                                               invalidateRequestHandler);
-
+                invalidateRequestHandler);
+
             var sm:ISystemManager = systemManager;
-			var mp:IMarshalSystemManager =
-					IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
+            var mp:IMarshalSystemManager =
+                IMarshalSystemManager(systemManager.getImplementation("mx.managers::IMarshalSystemManager"));
             mp.removeChildBridge(_swfBridge);
             _swfBridge = null;
         }
     }
-
+
     /**
      *  @private
      *
@@ -2586,12 +2586,12 @@
         {
             // Listen for requests to get the flex module factory.
             event.target.addEventListener(Request.GET_PARENT_FLEX_MODULE_FACTORY_REQUEST,
-                                          contentHolder_getFlexModuleFactoryRequestHandler);
-        }
-
+                contentHolder_getFlexModuleFactoryRequestHandler);
+        }
+
         contentHolder.removeEventListener(Event.ADDED, contentHolder_addedHandler);
     }
-
+
     /**
      *  @private
      *
@@ -2607,21 +2607,21 @@
             eObj.data == Loader(contentHolder).contentLoaderInfo.sharedEvents)
         {
             _swfBridge = Loader(contentHolder).contentLoaderInfo.sharedEvents;
-
+
             flexContent = true;
             // if we got validated before we got this event
             // then we might have accidentally scaled the loader
             unScaleContent();
-
+
             var sm:ISystemManager = systemManager;
             IMarshalSystemManager(sm.getImplementation("mx.managers::IMarshalSystemManager")).addChildBridge(_swfBridge, this);
             removeInitSystemManagerCompleteListener(Loader(contentHolder).contentLoaderInfo);

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

     /**
      *  @private
@@ -2634,77 +2634,77 @@
     {
         if (event is SWFBridgeRequest)
             return;
-
+
         // handle request
         var request:SWFBridgeRequest = SWFBridgeRequest.marshal(event);
-
+
         var invalidateFlags:uint = uint(request.data);
-
+
         if (invalidateFlags & InvalidateRequestData.PROPERTIES)
             invalidateProperties();
-
+
         if (invalidateFlags & InvalidateRequestData.SIZE)
             invalidateSize();
-
+
         if (invalidateFlags & InvalidateRequestData.DISPLAY_LIST)
             invalidateDisplayList();
-
+
         // redispatch the request up the parent chain
         dispatchInvalidateRequest(
-                (invalidateFlags & InvalidateRequestData.PROPERTIES) != 0,
-                (invalidateFlags & InvalidateRequestData.SIZE) != 0,
-                (invalidateFlags & InvalidateRequestData.DISPLAY_LIST) != 0);
-    }
-
-
-        /**
-         *      @private
-         *
-         *      Put up or takedown a mouseshield that covers the content
-         *  of the application we loaded.
-         */
-        private function mouseShieldHandler(event:Event):void
-        {
-                if (event["name"] != "mouseShield")
-                        return;
-
+            (invalidateFlags & InvalidateRequestData.PROPERTIES) != 0,
+            (invalidateFlags & InvalidateRequestData.SIZE) != 0,
+            (invalidateFlags & InvalidateRequestData.DISPLAY_LIST) != 0);
+    }
+
+
+    /**
+     *      @private
+     *
+     *      Put up or takedown a mouseshield that covers the content
+     *  of the application we loaded.
+     */
+    private function mouseShieldHandler(event:Event):void
+    {
+        if (event["name"] != "mouseShield")
+            return;
+
         if (!isContentLoaded || parentAllowsChild)
-                        return;
-
-                if (event["value"])
-                {
-                        if (!mouseShield)
-                        {
-                                mouseShield = new Sprite();
-                                mouseShield.graphics.beginFill(0, 0);
-                                mouseShield.graphics.drawRect(0, 0, 100, 100);
-                                mouseShield.graphics.endFill();
-                        }
-                        if (!mouseShield.parent)
-                                addChild(mouseShield);
-                        sizeShield();
-                }
-                else
-                {
-                        if (mouseShield && mouseShield.parent)
-                                removeChild(mouseShield)
-                }
-        }
-
-        /**
-         *      @private
-         *
-         *      size the shield if needed
-         */
-        private function sizeShield():void
-        {
-                if (mouseShield && mouseShield.parent)
-                {
-                        mouseShield.width = unscaledWidth;
-                        mouseShield.height = unscaledHeight;
-                }
-        }
-
+            return;
+
+        if (event["value"])
+        {
+            if (!mouseShield)
+            {
+                mouseShield = new Sprite();
+                mouseShield.graphics.beginFill(0, 0);
+                mouseShield.graphics.drawRect(0, 0, 100, 100);
+                mouseShield.graphics.endFill();
+            }
+            if (!mouseShield.parent)
+                addChild(mouseShield);
+            sizeShield();
+        }
+        else
+        {
+            if (mouseShield && mouseShield.parent)
+                removeChild(mouseShield)
+        }
+    }
+
+    /**
+     *      @private
+     *
+     *      size the shield if needed
+     */
+    private function sizeShield():void
+    {
+        if (mouseShield && mouseShield.parent)
+        {
+            mouseShield.width = unscaledWidth;
+            mouseShield.height = unscaledHeight;
+        }
+    }
+
     /**
      *  @private
      *
@@ -2719,19 +2719,19 @@
         {
             var sm:ISystemManager = content as ISystemManager;
             if (sm != null)
-			{
-				var cm:Object = sm.getImplementation("mx.managers::ISystemManagerChildManager");
+            {
+                var cm:Object = sm.getImplementation("mx.managers::ISystemManagerChildManager");
                 Object(cm).regenerateStyleCache(recursive);
-			}
+            }
         }
         catch(error:Error)
         {
             // Ignore any errors trying to access the content
             // b/c we may cause a security violation trying to do it
-                        // Also ignore if the sm doesn't have a regenerateStyleCache method
-        }
-    }
-
+            // Also ignore if the sm doesn't have a regenerateStyleCache method
+        }
+    }
+
     /**
      *  @private
      *
@@ -2746,16 +2746,16 @@
         {
             var sm:ISystemManager = content as ISystemManager;
             if (sm != null)
-			{
-				var cm:Object = sm.getImplementation("mx.managers::ISystemManagerChildManager");
+            {
+                var cm:Object = sm.getImplementation("mx.managers::ISystemManagerChildManager");
                 Object(cm).notifyStyleChangeInChildren(styleProp, recursive);
-			}
+            }
         }
         catch(error:Error)
         {
             // Ignore any errors trying to access the content
             // b/c we may cause a security violation trying to do it
-                        // Also ignore if the sm doesn't have a notifyStyleChangeInChildren method
+            // Also ignore if the sm doesn't have a notifyStyleChangeInChildren method
         }
     }

@@ -2763,39 +2763,39 @@
      *  @private
      *  @throws Error - #2099 if the content has been unloaded
      */
-        private function getContentSize():Point
-        {
-                var pt:Point = new Point();
-
-                if (!contentHolder is Loader)
-                        return pt;
-
-                var holder:Loader = Loader(contentHolder);
-                if (holder.contentLoaderInfo.childAllowsParent)
-                {
-                        pt.x = holder.content.width;
-                        pt.y = holder.content.height;
-                }
-                else
-                {
-                        var bridge:IEventDispatcher = swfBridge;
-                        if (bridge)
-                        {
-                                var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
-                                bridge.dispatchEvent(request);
-                                pt.x = request.data.width;
-                                pt.y = request.data.height;
-                        }
-                }
-
-                // don't return zero out of here otherwise the Loader's scale goes to zero
-                if (pt.x == 0)
-                        pt.x = holder.contentLoaderInfo.width;
-                if (pt.y == 0)
-                        pt.y = holder.contentLoaderInfo.height;
-
-                return pt;
-        }
+    private function getContentSize():Point
+    {
+        var pt:Point = new Point();
+
+        if (!contentHolder is Loader)
+            return pt;
+
+        var holder:Loader = Loader(contentHolder);
+        if (holder.contentLoaderInfo.childAllowsParent)
+        {
+            pt.x = holder.content.width;
+            pt.y = holder.content.height;
+        }
+        else
+        {
+            var bridge:IEventDispatcher = swfBridge;
+            if (bridge)
+            {
+                var request:SWFBridgeRequest = new SWFBridgeRequest(SWFBridgeRequest.GET_SIZE_REQUEST);
+                bridge.dispatchEvent(request);
+                pt.x = request.data.width;
+                pt.y = request.data.height;
+            }
+        }
+
+        // don't return zero out of here otherwise the Loader's scale goes to zero
+        if (pt.x == 0)
+            pt.x = holder.contentLoaderInfo.width;
+        if (pt.y == 0)
+            pt.y = holder.contentLoaderInfo.height;
+
+        return pt;
+    }

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


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

--- frameworks/projects/framework/src/mx/controls/SWFLoader.as
+++ frameworks/projects/framework/src/mx/controls/SWFLoader.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: 5101
Author:   gauravj@adobe.com
Date:     2009-02-27T05:22:45.887116Z

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

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

--- frameworks/projects/mx/src/mx/accessibility/MenuAccImpl.as
+++ frameworks/projects/mx/src/mx/accessibility/MenuAccImpl.as
@@ -24,6 +24,11 @@
 /**
  *  MenuAccImpl is a subclass of AccessibilityImplementation
  *  which implements accessibility for the Menu class.
+ *
+ *  @langversion 3.0
+ *  @playerversion Flash 9
+ *  @playerversion AIR 1.1
+ *  @productversion Flex 3
  */
 public class MenuAccImpl extends ListBaseAccImpl
 {
@@ -99,6 +104,11 @@
 	 *  Afterwards, when instances of Menu are initialized,
 	 *  their accessibilityImplementation property
 	 *  will be set to an instance of this class.

+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public static function enableAccessibility():void
 	{
@@ -130,6 +140,11 @@
 	 *
 	 *  @param master The UIComponent instance that this AccImpl instance
 	 *  is making accessible.
+	 *
+	 *  @langversion 3.0
+	 *  @playerversion Flash 9
+	 *  @playerversion AIR 1.1
+	 *  @productversion Flex 3
 	 */
 	public function MenuAccImpl(master:UIComponent)
 	{


Transferred from the Adobe Open Source Subversion Repository

Revision: 11737
Author:   jszeto@adobe.com
Date:     2009-11-12T21:25:33.011928Z

Log Message:
-----------
ComboBox and DropDownList bug fixes

SDK-23635 - Implement type-ahead in DropDownList

Added code in DropDownListBase keyDownHandler to listen for letters and change the selection if there is a match. At some point, we should modify findKey and findString (I'll file an ECR for that). For now, I've just overridden findKey and cobbled together the logic from List.findKey and List.findString. In ComboBox, we override findKey to do nothing since ComboBox has its own logic that relies on textInput changes.

SDK-23859 - DropDownList does not reset caretIndex when selection is cleared

Fixed this in two places. In ComboBox.keyDownHandlerHelper, we update the caret index when ESC is pressed. In DropDownListBase.dropDownController_closeHandler, we update the caret index if the commit has been canceled (ie. ESC was pressed).

SDK-24175 - ComboBox does not select an item with ENTER when openOnInput = false

When the ComboBox was closed and the arrow keys were pressed, the selectedIndex was changed. When ENTER was pressed, it was committing actualProposedSelectedIndex, not selectedIndex. The fix is to override the selectedIndex setter to keep actualProposedSelectedIndex in sync if selectedIndex was changed. Usually it is kept in sync when the dropDown is opened.

SDK-24174 - ComboBox does not scroll correctly when openOnInput = false

When typing in a match, the caretIndex was changed, but not the selectedIndex (because matching when it is closed doesn't commit the value until you press ENTER or lose focus). When closed, the navigation keys were changing the selectedIndex relative to the previous selectedIndex. I updated this to change relative to caretIndex instead. In most cases, caretIndex and selectedIndex are equivalent while the dropDown is closed.

Other changes:

- Replaced some calls to dropDownController.isOpen with isDropDownOpen.
- Added protection RTE protection to ComboBox.changeHighlightedSelection

QE notes: None
Doc notes: None
Bugs: SDK-23635, SDK-23859, SDK-24175, SDK-24174
Reviewer: Deepa
Tests run: ComboBox, DropDownList
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/DropDownListBase.as</path>

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

--- frameworks/projects/spark/src/spark/components/ComboBox.as
+++ frameworks/projects/spark/src/spark/components/ComboBox.as
@@ -227,7 +227,7 @@
     //  Properties
     //
     //--------------------------------------------------------------------------
-
+
     //--------------------------------------------------------------------------
     //  itemMatchingFunction
     //--------------------------------------------------------------------------
@@ -260,7 +260,7 @@
      *  @playerversion AIR 1.5
      *  @productversion Flex 4
      */
-    public var itemMatchingFunction:Function = null;
+    public var itemMatchingFunction:Function = null;

     //--------------------------------------------------------------------------
     //  labelToItemFunction
@@ -402,6 +402,15 @@
     //  Overridden Properties
     //
     //--------------------------------------------------------------------------
+
+    /**
+     *  @private
+     */
+    override public function set selectedIndex(value:int):void
+    {
+        super.selectedIndex = value;
+        actualProposedSelectedIndex = value;
+    }

     /**
      *  @private
@@ -628,17 +637,25 @@
     override mx_internal function changeHighlightedSelection(newIndex:int, scrollToTop:Boolean = false):void
     {
         super.changeHighlightedSelection(newIndex, scrollToTop);
-
-        var item:Object = dataProvider ? dataProvider.getItemAt(newIndex) : undefined;
-        if (item)
-        {
-            var itemString:String = itemToLabel(item);
-            textInput.selectAll();
-            textInput.insertText(itemString);
-            textInput.selectAll();
-
-            userTypedIntoText = false;
-        }
+
+        if (newIndex > 0)
+        {
+            var item:Object = dataProvider ? dataProvider.getItemAt(newIndex) : undefined;
+            if (item)
+            {
+                var itemString:String = itemToLabel(item);
+                textInput.selectAll();
+                textInput.insertText(itemString);
+                textInput.selectAll();
+
+                userTypedIntoText = false;
+            }
+        }
+    }
+
+    override protected function findKey(eventCode:int):Boolean
+    {
+        return false;
     }

     // If the TextInput is in focus, listen for keyDown events in the capture phase so that
@@ -679,6 +696,7 @@
         {
             // Restore the previous selectedItem
             textInput.text = itemToLabel(selectedItem);
+            changeHighlightedSelection(selectedIndex);
         }
     }


fixed FrameCommandExecutor which was missing the event argument in enterFrame method

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

--- src/reprise/commands/FrameCommandExecutor.as
+++ src/reprise/commands/FrameCommandExecutor.as
@@ -107,7 +107,7 @@

 		// defined by IFrameEventListener
-		public function enterFrame() : void
+		public function enterFrame(e:Event) : void
 		{
 			var commands : Object = m_commands.toObject();
 			var key : String;


added ReferencedColumn.getHierarchyNode()

--- WeaveJS/src/weavejs/data/column/ReferencedColumn.as
+++ WeaveJS/src/weavejs/data/column/ReferencedColumn.as
@@ -15,17 +15,20 @@

 package weavejs.data.column
 {
+	import weave.api.data.IWeaveTreeNode;
+
 	import weavejs.WeaveAPI;
 	import weavejs.api.core.ILinkableHashMap;
 	import weavejs.api.data.IAttributeColumn;
 	import weavejs.api.data.IColumnWrapper;
 	import weavejs.api.data.IDataSource;
 	import weavejs.api.data.IQualifiedKey;
+	import weavejs.api.data.IWeaveTreeNode;
 	import weavejs.core.CallbackCollection;
 	import weavejs.core.LinkableString;
 	import weavejs.core.LinkableVariable;
 	import weavejs.core.LinkableWatcher;
-	import weavejs.data.hierarchy.GlobalColumnDataSource;
+	import weavejs.data.hierarchy.GlobalColumnDataSource;

 	/**
 	 * This provides a wrapper for a referenced column.
@@ -78,6 +81,15 @@
 		public function getDataSource():IDataSource
 		{
 			return _dataSource;
+		}
+
+		public function getHierarchyNode():IWeaveTreeNode
+		{
+			if (!_dataSource)
+				return null;
+
+			var meta:Object = metadata.getSessionState();
+			return _dataSource.findHierarchyNode(meta);
 		}

 		/**


Transferred from the Adobe Open Source Subversion Repository

Revision: 7252
Author:   hmuller@adobe.com
Date:     2009-05-23T03:58:01.066664Z

Log Message:
-----------
Defend against looping in ScrollerLayout.  Halo Container now ignores cancelled keyboard scrolling events.

QE Notes:
Doc Notes:
Bugs: sdk-21165, sdk-19397, sdk-19738
Reviewer: Evtim

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/flex4/src/spark/components/supportClasses/ScrollerLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>

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

--- frameworks/projects/mx/src/mx/core/Container.as
+++ frameworks/projects/mx/src/mx/core/Container.as
@@ -5458,7 +5458,12 @@
         var focusObj:Object = getFocus();
         if ((focusObj is TextField) || (textViewClass && focusObj is textViewClass))
             return;
-
+
+        // If the KeyBoardEvent can be canceled and a descendant has done so,
+        // don't process it at all.
+        if (event.isDefaultPrevented())
+            return;
+
         var direction:String;
         var oldPos:Number;


Transferred from the Adobe Open Source Subversion Repository

Revision: 10633
Author:   dloverin@adobe.com
Date:     2009-09-28T13:24:30.559033Z

Log Message:
-----------
Use styleManager instance instead of StyleManager singleton (framework and compiler generated code)

Modified compiler generated style code for the FlexInit class. The style related changes are only available with the -keep option. AST generation is coming later.

Only the framework project is changed here. The other projects are will be changed soon.

QE notes: None.
Doc notes: None.
Bugs:
Reviewer: Alex and Paul
Tests run: checkintests, all Mustella tests(no new failures)
Is noteworthy for integration: no.

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonBarButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/HaloBorder.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/accordionClasses/AccordionHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/utilityClasses/CanvasLayout.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ButtonBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateChooser.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/dragClasses/DragProxy.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Container.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/configuration_en.properties</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/common/CompilerConfiguration.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressIndeterminateSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DateChooserMonthArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/lang/StandardDefs.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DateField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/DividedBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/DragManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/Application.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollThumbSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridColumn.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleModule.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Form.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/IStyleManager2.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/ComboBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/tools/PreLink.java</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Label.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/DataGrid.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/mxml/gen/ClassDefLib.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TitleBackground.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperDownSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/PopUpButtonSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/ProgrammaticSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/TabSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/textClasses/TextRange.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/LayoutContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/AccordionHeaderSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/CheckBoxIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/NumericStepperUpSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/RadioButtonIcon.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UITextField.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/states/SetStyle.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ComboBoxArrowSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeaderBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/FormItem.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridHeader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/MenuBarBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ProgressBarSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/BusyCursor.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/events/Request.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/MenuBar.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/Tree.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/CSSStyleDeclaration.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/SliderTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/styles/StyleProtoChain.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/List.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleModule.vm</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/ScrollTrackSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/TileBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/dataGridClasses/DataGridItemRenderer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/skins/halo/DataGridHeaderBackgroundSkin.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/managers/CursorManagerImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/modules/ModuleManager.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/effects/effectClasses/SetStyleActionInstance.as</path>
<path kind="file" action="M">/flex/sdk/trunk/modules/compiler/src/java/flex2/compiler/css/StyleDef.vm</path>

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

--- frameworks/projects/mx/src/mx/controls/DataGrid.as
+++ frameworks/projects/mx/src/mx/controls/DataGrid.as
@@ -75,7 +75,6 @@
 import mx.managers.IFocusManagerComponent;
 import mx.skins.halo.ListDropIndicator;
 import mx.styles.ISimpleStyleClient;
-import mx.styles.StyleManager;
 import mx.utils.ObjectUtil;
 import mx.utils.StringUtil;

@@ -2577,7 +2576,7 @@
             return;
         }

-        StyleManager.getColorNames(colors);
+        styleManager.getColorNames(colors);

         var curRow:int = 0;


no DRAGMODE switdch on Drawable constructor

git-svn-id: f772d44cbf86d9968f12179c1556189f5afcea6e@639 e0ac87d7-b42b-0410-9034-8248a05cb448

--- braineditor/Drawable.as
+++ braineditor/Drawable.as
@@ -2,15 +2,12 @@
   static var DRAGMODE=0;
   static var DRAWMODE=1;
   static var ERASEMODE=2;
-  static var mMode:Number;
+  static var mMode:Number=DRAGMODE;
   var mSelectBox:Sprite;
   var mShapes:Array;

   function Drawable(parent:MovieClip,layer:Number) {
      super(parent,layer);
-     mMode=DRAGMODE;
-     //mMode=DRAGMODE;
-     //mMode=ERASEMODE;
      mShapes=new Array();
   }
   function _mouseFunction(boxColor:Number):Void {


Flash: In some cases ExifVersion field might come in as String, while according to specs Undefined is the only proper format. Related #421.

--- src/flash/plupload/src/com/mxi/image/ExifParser.as
+++ src/flash/plupload/src/com/mxi/image/ExifParser.as
@@ -193,13 +193,11 @@
 			Exif = extractTags(offsets['exifIFD'], tags.exif);

 			// fix formatting of some tags
-			if (Exif.hasOwnProperty('ExifVersion')) {
-				Exif.ExifVersion = String.fromCharCode(
-					Exif.ExifVersion[0],
-					Exif.ExifVersion[1],
-					Exif.ExifVersion[2],
-					Exif.ExifVersion[3]
-				);
+			if (Exif.hasOwnProperty('ExifVersion') && Exif.ExifVersion is Array) {
+				for (var i:uint = 0, exifVersion:String = ''; i < Exif.ExifVersion.length; i++) {
+					exifVersion += String.fromCharCode(Exif.ExifVersion[i]);
+				}
+				Exif.ExifVersion = exifVersion;
 			}

 			return Exif;


Transferred from the Adobe Open Source Subversion Repository

Revision: 13125
Author:   smgilson@adobe.com
Date:     2009-12-21T20:40:37.345444Z

Log Message:
-----------
ASDoc L10N fixes

QE notes: -
Doc notes: -
Bugs: - FLEXDOCS-885, FLEXDOCS-841,FLEXDOCS-839, FLEXDOCS-769, FLEXDOCS-545, FLEXDOCS-540
Reviewer: -
Tests run: - checkintests
Is noteworthy for integration: No

Modified Paths:
--------------
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/SkinnableContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/Panel.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/airspark/src/spark/components/WindowedApplication.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/BorderContainer.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/accessibility/TitleWindowAccImpl.as</path>
<path kind="file" action="M">/flex/sdk/trunk/frameworks/projects/spark/src/spark/components/CheckBox.as</path>

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

--- frameworks/projects/mx/src/mx/containers/Canvas.as
+++ frameworks/projects/mx/src/mx/containers/Canvas.as
@@ -109,7 +109,7 @@
  *
  *  @includeExample examples/SimpleCanvasExample.mxml
  *
- *  @see mx.components.Container
+ *  @see mx.core.Container
  *
  *  @langversion 3.0
  *  @playerversion Flash 9


Transferred from the Adobe Open Source Subversion Repository

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

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

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

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

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

--- frameworks/projects/mx/src/mx/controls/ComboBox.as
+++ frameworks/projects/mx/src/mx/controls/ComboBox.as
@@ -1763,19 +1763,7 @@
         point = localToGlobal(point);

         var sm:ISystemManager = systemManager.topLevelSystemManager;
-        var sbRoot:DisplayObject = sm.getSandboxRoot();
-        var screen:Rectangle;
-
-        if (sm != sbRoot)
-        {
-            var request:InterManagerRequest = new InterManagerRequest(InterManagerRequest.SYSTEM_MANAGER_REQUEST,
-                                    false, false,
-                                    "getVisibleApplicationRect");
-            sbRoot.dispatchEvent(request);
-            screen = Rectangle(request.value);
-        }
-        else
-            screen = sm.getVisibleApplicationRect();
+        var screen:Rectangle = sm.getVisibleApplicationRect();

         //opening the dropdown
         if (show)