# Fencing in the drag area

**URL:** <https://forum.kirupa.com/t/fencing-in-the-drag-area/25000>\
**Category:** Uncategorized\
**Created:** [July 8, 2003, 10:16am UTC](https://forum.kirupa.com/t/fencing-in-the-drag-area/25000 "2003-07-08T10:16:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DariusMonsef](https://avatars.discourse-cdn.com/v4/letter/d/a6a055/32.png) [@DariusMonsef](https://forum.kirupa.com/u/DariusMonsef)\
**Post date:** [July 8, 2003, 10:16am UTC](https://forum.kirupa.com/t/fencing-in-the-drag-area/25000/1 "2003-07-08T10:16:22Z")

</div>

So I want to fence off part of my stage for dragable MCs.

I don’t want them to be able to be dragged out of.

Say withing 50 pixels of both the left top and right borders, and within 150 of the bottom border.

Thanks for all the help people.

---

<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 8, 2003, 10:35am UTC](https://forum.kirupa.com/t/fencing-in-the-drag-area/25000/2 "2003-07-08T10:35:34Z")

</div>

Here it is

---

<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 8, 2003, 4:30pm UTC](https://forum.kirupa.com/t/fencing-in-the-drag-area/25000/3 "2003-07-08T16:30:17Z")

</div>

[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary681.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary681.html)

the constraints (l, t, r, b) should create a boundary for the MC.

---

<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 8, 2003, 6:07pm UTC](https://forum.kirupa.com/t/fencing-in-the-drag-area/25000/4 "2003-07-08T18:07:22Z")

</div>

Claudio,

Thanks that what I was looking for.

---

<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 8, 2003, 6:09pm UTC](https://forum.kirupa.com/t/fencing-in-the-drag-area/25000/5 "2003-07-08T18:09:06Z")

</div>

You’re welcome 🙂
