# Rectangle w/rounded corners

**URL:** <https://forum.kirupa.com/t/rectangle-w-rounded-corners/57815>\
**Category:** Uncategorized\
**Created:** [July 16, 2004, 10:31am UTC](https://forum.kirupa.com/t/rectangle-w-rounded-corners/57815 "2004-07-16T10:31:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![swammerdami](https://avatars.discourse-cdn.com/v4/letter/s/b19c9b/32.png) [@swammerdami](https://forum.kirupa.com/u/swammerdami)\
**Post date:** [July 16, 2004, 10:31am UTC](https://forum.kirupa.com/t/rectangle-w-rounded-corners/57815/1 "2004-07-16T10:31:58Z")

</div>

I am having a major problem creating a rectangle with acceptable rounded corners. The rectangle needs to be 100 x 15 px with a 2 pt stroke. The corner radius can be 1 or 2 px …1 would be perfect, but 2 is OK. I can make it look decent if I make the rectangle 14px or 16px high, but not 15. It just looks like crap. I tried using Illustrator to create the rectangle and of course Illustrator makes a next to perfect object, but when I either import the object as a swf or copy and paste the object into flash, the corners get all messed up! I am at a loss here. I realize Flash isnt the greatest drawing tool in the world, but this shouldn’t be an issue. An issue it is, because I am working from a clients comp which must be exact.

Any suggestions would be greatly 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:** [July 16, 2004, 11:29am UTC](https://forum.kirupa.com/t/rectangle-w-rounded-corners/57815/2 "2004-07-16T11:29:51Z")

</div>

if you have illustrator then make your page size the size of your flash movie in px  
draw the rectangle and then use “save for web” and save it as a SWF file

now import that file into Flash and it should work
