all groups > flash actionscript > december 2006 >
You're in the

flash actionscript

group:

Permanent border during the animation


Permanent border during the animation Swirlsky
12/31/2006 12:20:36 PM
flash actionscript:
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:

[code]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);[/code]

It increases the wide of it's border too. I would like to keep the 2px wide
border.
Re: Permanent border during the animation LuigiL
12/31/2006 2:21:00 PM
Re: Permanent border during the animation Swirlsky
12/31/2006 2:39:51 PM
AddThis Social Bookmark Button