let say i have a MovieClip name window.
I wanna use stacking order for swap between windows. This is the coding i got from kirupa tutorial:
on (press, dragOver) {
startDrag(_root.window);
}
on (release, rollOut, dragOut) {
stopDrag();
}
on (press, release, dragOver, dragOut) {
_root.x +=2;
_root.window.swapDepths(_root.x);
}
So, the problem is, i also wanna use double clicking for open and close the window partial. How is that possible?