0 Replies Latest reply on Dec 8, 2009 7:26 PM by kevinklin

    [svn:fx-trunk] 12685: Fix for RTE in VideoPlayer when trying to capture bitmaps.

    kevinklin Adobe Employee

      Revision: 12685

      Revision: 12685

      Author:   klin@adobe.com

      Date:     2009-12-08 19:23:32 -0800 (Tue, 08 Dec 2009)

      Log Message:

      ***********

      Fix for RTE in VideoPlayer when trying to capture bitmaps. Put try-catch block around bitmapData.draw() and use a Rectangle if it throws an error. Also, added some documentation in BitmapUtil for getSnapshot since it may throw the same type of error.

       

      QE notes: No

      Doc notes: No

      Bugs: SDK-24574

      Reviewer: Ryan

      Tests run: checkintests

      Is noteworthy for integration: No

       

      Ticket Links:

      ***********

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

       

      Modified Paths:

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

          flex/sdk/trunk/frameworks/projects/spark/src/spark/skins/spark/HighlightBitmapCaptureSkin .as

          flex/sdk/trunk/frameworks/projects/spark/src/spark/utils/BitmapUtil.as