function DropWindow1 (event:MouseEvent):void {
window1.stopDrag();
}
I have a movie clip called window1 and inside another movie clip called dragBar... Supposedly when the user clicks and drags the dragbar the whole movie clip follows... it doesnt work
Can't open flas, so I don't know if that is your actual verbatim code. If it is, the problem is that you need to call the startDrag method, not just refer to it.
Code:
function DragWindow1 (event:MouseEvent):void {
window1.startDrag();
}
window1.startDrag; is a statement that evaluates to a Function. And then does absolutely nothing with it. You need to actually call the function.