PDA

View Full Version : fencing in the drag area



DariusMonsef
July 8th, 2003, 06:16 AM
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.

claudio
July 8th, 2003, 06:35 AM
Here it is

Pewter
July 8th, 2003, 12:30 PM
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.

DariusMonsef
July 8th, 2003, 02:07 PM
Claudio,

Thanks that what I was looking for.

claudio
July 8th, 2003, 02:09 PM
You're welcome :)