#22002/12/22 6:48:04
发完这个帖子了,我又想了想,又想出一个办法
让第二层的MC在鼠标点击的是候让第一层的MC不可拖动,目的达到了
整个如下,
第一层,mc1,第二层,mc2
在主场景第一桢代码如下;
_root.mc1.onPress=function(){
_root.mc1.startDrag();
}
_root.mc1.onRelease=function(){
_root.mc1.stopDrag();
}
_root.mc2.onPress=functon(){
_root.mc1.stopDrag();
}
但觉的这么实现很笨,也不够好。那们能告知别的办法