0 Replies Latest reply on Jun 4, 2008 11:13 AM by (Jeff_Kamerer)

    [svn] 1941: Fix bug with writing out a MorphShape2 line style when it has a fill

      Revision: 1941
      Author: jkamerer@adobe.com
      Date: 2008-06-04 12:13:17 -0700 (Wed, 04 Jun 2008)

      Log Message:
      -----------
      Fix bug with writing out a MorphShape2 line style when it has a fill
      connected to it. Had been calling encodeMorphFillstyles() directly
      with an array of one element, but that adds a count byte (of value 1)
      which should not be there. So I decomposed new method
      encodeMorphFillstyle() out of encodeMorphFillstyles(). So not a big
      change, but lots of indentation changes.

      Other than that all changes were replacing the use of constant numbers
      with static constants from FillStyle and also adding an equals()
      implementation for FocalGradient.

      reviewed by Pete Farland, passed flex checkin tests

      Modified Paths:
      --------------
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagDecoder.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/TagEncoder.java
      flex/sdk/trunk/modules/swfutils/src/java/flash/swf/types/FocalGradient.java