Ok, im having a tough time figuring out how to make it so that my MC named "square2" that is 348x223 will stay inside the movie 700 x 480 when i drag it. I seem to be having trouble witht the left side the most. Below is what i got so far...

on (press) {
with (this) {
swapDepths(6);
_alpha = 100;
startDrag ("", false, 275, 505, 163, 0);
_root.square1._alpha = 50;
_root.square2._alpha = 50;
_root.square3._alpha = 50;
_root.square5._alpha = 50;
_root.square6._alpha = 50;
}
}
on (release) {
stopDrag ();
}