0 Replies Latest reply on Oct 13, 2008 4:33 PM by (Ryan_Frishberg)

    [svn] 3610: Fixing bug SDK-17173: Setting rotate to a large number doesn' t work anymore.

    Level 1
      Revision: 3610
      Author: rfrishbe@adobe.com
      Date: 2008-10-13 17:33:25 -0700 (Mon, 13 Oct 2008)

      Log Message:
      -----------
      Fixing bug SDK-17173: Setting rotate to a large number doesn't work anymore.

      The Flash Player clamps rotate between -180 and 180. We should do the same now that we're doing some of the calculations ourselves. This clamping logic was added to CompoundTransform.as. Also, clamping logic was added to UIComponent. This is because FP10 doesn't handle values greater than 2^15-1; FP 9 used to handle these values fine. I filed a FP bug for this (FP-749).

      QE: Yes - Please look out for any rotation failures
      Doc: No
      Bugs: SDK-17173
      Reviewer: Ely

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-17173
      http://bugs.adobe.com/jira/browse/FP-749
      http://bugs.adobe.com/jira/browse/SDK-17173

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