[try]
After searching on internet, some people said that , for a movie clip mc,
- mc.enabled= false;
- mc.mouseEnabled=false;
But they failed in my Flash CS3.
*** Found that beside changing mc.enabled to false, need accompanying check action
within the mouse_down/up event to control whether to activate startDragging ...
[Code snippet]
this.mcVolSlider.addEventListener(MouseEvent.MOUSE_DOWN, startScroll);
function startScroll(e:Event):void {
if (mcVolSlider.enabled==true) {
this.mcVolSlider.startDrag(false,bounds);
}
}
沒有留言:
張貼留言