Fencing in the drag area

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.

Here it is

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.

Claudio,

Thanks that what I was looking for.

You’re welcome :slight_smile: