# Constraining a MC to a circle?

**URL:** https://forum.kirupa.com/t/constraining-a-mc-to-a-circle/9664
**Category:** flash
**Created:** [December 16, 2002, 7:52am UTC](https://forum.kirupa.com/t/constraining-a-mc-to-a-circle/9664 "2002-12-16T07:52:53Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Bodom78](https://avatars.discourse-cdn.com/v4/letter/b/aca169/32.png) [@Bodom78](https://forum.kirupa.com/u/Bodom78)
#### Post date: [December 16, 2002, 7:52am UTC](https://forum.kirupa.com/t/constraining-a-mc-to-a-circle/9664/1 "2002-12-16T07:52:53Z")

</div>

I have seen tutorials on how you can constrain a MC so it does not leave a squared area, however none for circled areas? is it possible with flash and if so, any links tutorials or examples?

Cheers.

---

<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: [December 16, 2002, 8:00am UTC](https://forum.kirupa.com/t/constraining-a-mc-to-a-circle/9664/2 "2002-12-16T08:00:37Z")

</div>

2_pi_r\*squared… I am going to sleep in a bit so I cant post code, but do this: pick your center point (for the circle constrain - flash gives your cords) and use geometery to define the area for your MC - basically modify the rectangular code.

Hope this helps a bit - try it, if you still dont know where to go: post! Either way… GOOD NIGHT 😛

Peace

---

<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: [December 16, 2002, 8:05am UTC](https://forum.kirupa.com/t/constraining-a-mc-to-a-circle/9664/3 "2002-12-16T08:05:04Z")

</div>

Yea, I had a feeling that some mathamatical formula would be required, thanks for the speedy replies guys. Well I hope some forum members here know that code or have a link to it, I await your replies 😉
