2 Replies Latest reply on Dec 28, 2009 5:33 AM by cartman1138

    Rect weight greater than 1 shifts away from the edge

    cartman1138

      Hi I have this:

      <s:Rect width="100%" height="100%">

         <s:stroke>
            <s:SolidColorStroke color="0xFF0000" />
         </s:stroke>
      </s:Rect>

       

      If I set the weight on the stroke to weight="5" let's say. It will no longer take up 100% of the width. It is like the offset that puts the center of the line where 100% would be is double and pulling it in too much. So, the greater the weight the further away from the edge it moves.

       

      Am I doing somthing wrong or is that a bug?

       

      Thanks,

      John

       

      P.S. I am using FB beta 2