0 Replies Latest reply on Nov 5, 2009 3:53 PM by Darrell Loverin

    [svn:fx-trunk] 11482: Fix RTE when UIComponent.getFocus() is called an the application is not on the stage.

    Darrell Loverin Level 4

      Revision: 11482

      Author:   dloverin@adobe.com

      Date:     2009-11-05 15:53:32 -0800 (Thu, 05 Nov 2009)

       

      Log Message:

      ***********

      Fix RTE when UIComponent.getFocus() is called an the application is not on the stage.

       

      projects/framework/src/mx/core/UIComponent.as

          Added null pointer check for sm.stage.

       

      projects/framework/src/mx/controls/SWFLoader.as

          Prevent loading the same swf twice when loadCompatibility is set and then SWFLoader.load() was called.

       

      QE notes: None.

      Doc notes: None.

      Bugs: SDK-24008

      Reviewer: Alex

      Tests run: checkintests, components/SWFLoader, MarshallPlan

      Is noteworthy for integration: No.

       

      Ticket Links:

      ************

          http://bugs.adobe.com/jira/browse/SDK-24008

       

      Modified Paths:

      **************

          flex/sdk/trunk/frameworks/projects/framework/src/mx/controls/SWFLoader.as

          flex/sdk/trunk/frameworks/projects/framework/src/mx/core/UIComponent.as