# Creating rounded corner in my movieclip

**URL:** <https://forum.kirupa.com/t/creating-rounded-corner-in-my-movieclip/299725>\
**Category:** Uncategorized\
**Created:** [November 10, 2009, 5:51am UTC](https://forum.kirupa.com/t/creating-rounded-corner-in-my-movieclip/299725 "2009-11-10T05:51:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vjn\_23](https://avatars.discourse-cdn.com/v4/letter/v/9de0a6/32.png) [@vjn\_23](https://forum.kirupa.com/u/vjn_23)\
**Post date:** [November 10, 2009, 5:51am UTC](https://forum.kirupa.com/t/creating-rounded-corner-in-my-movieclip/299725/1 "2009-11-10T05:51:42Z")

</div>

Hi Friends,

I am creating one new empty movieclip like this,  
this.createEmptyMovieClip(“vjn”, this.getNextHighestDepth());  
vjn.beginFill(0x000066);  
vjn.moveTo(150, 50);  
vjn.lineTo(50, 250);  
vjn.lineTo(250, 250);  
vjn.lineTo(150, 50);  
vjn.endFill();

these lines are creating only the square corner, but i want rounded corner. How can i increase or decrease the radius size. If its possible please mention the problem. How to create the rounded corner through script. I want rounded corners not a square corner…

regards,

Vijayan M
