3 Replies Latest reply on Dec 31, 2006 1:21 PM by Sin D

    Permanent border during the animation

    Swirlsky
      Hello,
      I have a rectangle. It has an empty fill and 4px wide border. It's InstanceName is Rectangle.
      I increase it's size with the following ActionScript:

      var TweenWidth:Tween = new Tween(Rectangle, "_width", mx.transitions.easing.Strong.easeIn, Rectangle._width, 500, 2, true);
      var TweenHeight:Tween = new Tween(Rectangle, "_height", mx.transitions.easing.Strong.easeIn, Rectangle._height, 500, 2, true);


      It increases the wide of it's border too. I would like to keep the 4px wide border.