1 Reply Latest reply on May 10, 2011 3:55 PM by GordonSmith

    Why doesn't the 4.1 sdk compiler like a flex 3 Style property

    thenewmexican62

      I have a style property defined like such:

      [Style(name = "spreadMethod", type = "Array", format = "String", enumeration = "pad, reflect, repeat", inherit = "no")]

       

       

      However when this property is used like this

       

      <BaseSpace

       

        spreadMethod = "repeat"

       

      />

       

       

      The flex 4.1 SDK compiler gives me the error BaseSpace.mxml    Invalid value:  reflect.  It must be one of pad,  reflect,  repeat.  

      Anyone with any pointers.

       

       

      Thanks.