...

View Full Version : Draggable MC inside Draggable MC



pspsully
04-24-2009, 12:30 PM
Hi Guys,

I was wondering if this is possible?

I have a MC the drags up and down, but inside that MC i also have an MC that i want to drag from Left to Right. The Main MC is called UpDown and the one inside is called LeftRight, here is the code i am trying to use.




UpDown.onPress = function {
UpDown.startDrag(false,this._x,-500,this._x,500);
}

UpDown.onRelease = function {
UpDown.stopDrag();
}

UpDown.LeftRight.onPress = function {
UpDown.LeftRight.startDrag(false,0,this._y,60,this._y);
}

UpDown.LeftRight. onRelease = function {
UpDown.LeftRight.stopDrag();
}



But i cant get it to work :( Any Ideas?

gnomeontherun
04-24-2009, 01:12 PM
Does nothing work, or when you click on the LeftRight does the UpDown move up and down?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum