# How do you draw nice lines in AS?

**URL:** https://forum.kirupa.com/t/how-do-you-draw-nice-lines-in-as/195410
**Category:** flash
**Created:** [July 31, 2006, 3:55pm UTC](https://forum.kirupa.com/t/how-do-you-draw-nice-lines-in-as/195410 "2006-07-31T15:55:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Purple\_Elite](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/purple_elite/32/2629_2.png) [@Purple\_Elite](https://forum.kirupa.com/u/Purple_Elite)
#### Post date: [July 31, 2006, 3:55pm UTC](https://forum.kirupa.com/t/how-do-you-draw-nice-lines-in-as/195410/1 "2006-07-31T15:55:50Z")

</div>

I am creating a full browser movie. I have three rectangles across the center. The center rectangle is a fixed width. The other two will stretch to fill the browser along the x (width) axis. The two on the sides will have a set minimum width. The one in the center will be centered between the other two, with a 5px buffer between them. I drew them with the Flash rectangle tool and used the Stipple line. When I adjust the xscale of the rectangles it scales as a bitmap would and the image is distorted. I know how to draw a rectangle dynamically to fit the space available. I don’t know how to draw one with the Stipple line. Is this possible, and if so, how? If it is not, is there an alternate method or workaround? I had thought about creating the two y-axis lines as bitmaps, since I know the set height, and then creating a very small but complicated fill of a bitmap that resembles the line, and drawing it around to create a psuedo line. That just seemed a little complicated just to get a cool line around my rectangle. Thanks.
