# Expando Line

**URL:** https://forum.kirupa.com/t/expando-line/60682
**Category:** flash
**Created:** [August 11, 2004, 4:14pm UTC](https://forum.kirupa.com/t/expando-line/60682 "2004-08-11T16:14:09Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sckoobs](https://avatars.discourse-cdn.com/v4/letter/s/3da27b/32.png) [@sckoobs](https://forum.kirupa.com/u/sckoobs)
#### Post date: [August 11, 2004, 4:14pm UTC](https://forum.kirupa.com/t/expando-line/60682/1 "2004-08-11T16:14:09Z")

</div>

I’m having trouble crating a line whose width increases from 1 to 115 in a motion tween. It seems that as it increases in width, the line thickness also increases, which is annoying and I have no idea why this happens, anyway here is the process I use:

[list=1]  
[_]Create a line set width to 1  
[_]Convert to a movie clip  
[_]Set initial keyframe for start of tween  
[_]Set second keyframe for end of tween  
[_]With second keyframe still selected click on line and set width to 115  
[_]Right click inbetween the two keyframes and select Create Motion Tween  
[/list] Am I going about it totally the wrong way? Any help is much appreciated.  
Thanks.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 11, 2004, 5:28pm UTC](https://forum.kirupa.com/t/expando-line/60682/2 "2004-08-11T17:28:42Z")

</div>

try creating a rectangle with a width of 1 that should maintain the proportions correctly.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 11, 2004, 5:35pm UTC](https://forum.kirupa.com/t/expando-line/60682/3 "2004-08-11T17:35:17Z")

</div>

use hairline

If you want a thicker line… its not going to happen uniformly (you’ll get the scaling you’ve experienced so far) - at least not using lines. You can use a thin filled rectangle and scale that, though. The only downside is that you have non-rounded ends/corners. If you’re only dealing with a single line, thats usually not a problem. With more interconnected lines you would need to make caps and/or joints to compensate.
