Hi guys....
I am trying to create a mc with drag function.My question is how to change another movieclip's x value when I drag my first mc...
videoSlider.addEventListener(MouseEvent.MOUSE_DOWN, scrollMC);
videoSlider.addEventListener(MouseEvent.MOUSE_UP, stopScrollMC);
private function scrollMC(event:MouseEvent):void{
event.target.startDrag(false,new Rectangle(0,0,500,0));
secondMC.x =event.target.x; //this doesn't work.....
}
private function stopScrollMC(event:MouseEvent):void{
event.target.stopDrag();
}
Thanks for any help!