0 Replies Latest reply on Aug 14, 2008 3:45 AM by (Darrell_Loverin)

    [svn] 2841: Fix bug loading untrusted applications that have not been sized .

    Level 1
      Revision: 2841
      Author: dloverin@adobe.com
      Date: 2008-08-14 04:45:09 -0700 (Thu, 14 Aug 2008)

      Log Message:
      -----------
      Fix bug loading untrusted applications that have not been sized.

      QE:YES
      Doc:
      Checkintests: YES
      Reviewer: Alex
      Bugs: SDK-16470

      SWFLoader:

      Fixed a security violation trying to access untrusted content. The problem happened in doScaleContent() when the loaded content had not been sized yet. The fall back is to check the class type of the content, but the SWFLoader did not have access to the content. The security violation was caught and the FlexLoader size is set when it shouldn't be. The problem is solved by checking access rights before accessing the content and not generating an exception.

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

      Modified Paths:
      --------------
      flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as