startDrag / onMouseDown / onMouseUp

Hi,
i need some help with my startDrag function, i have something like this right now:

ActionScript Code:
[LEFT]target_mc.[COLOR=#000080]my_thumbEvnt[/COLOR].[COLOR=#0000FF]onMouseDown[/COLOR] = [COLOR=#000000]**function**[/COLOR][COLOR=#000000]([/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]
  [COLOR=#0000FF]if[/COLOR] [COLOR=#000000]([/COLOR][COLOR=#0000FF]this[/COLOR].[COLOR=#0000FF]target[/COLOR].[COLOR=#0000FF]hitTest[/COLOR][COLOR=#000000]([/COLOR][COLOR=#0000FF]_root[/COLOR].[COLOR=#0000FF]_xmouse[/COLOR], [COLOR=#0000FF]_root[/COLOR].[COLOR=#0000FF]_ymouse[/COLOR], [COLOR=#000000]**true**[/COLOR][COLOR=#000000])[/COLOR][COLOR=#000000])[/COLOR] [COLOR=#000000]{[/COLOR]        
        my_mc.[COLOR=#0000FF]startDrag[/COLOR][COLOR=#000000]([/COLOR][COLOR=#000000]**false**[/COLOR], [COLOR=#000080]0[/COLOR], [COLOR=#000080]0[/COLOR], -my_mc.[COLOR=#0000FF]_width[/COLOR]+[COLOR=#0000FF]Stage[/COLOR].[COLOR=#0000FF]width[/COLOR], [COLOR=#000080]0[/COLOR][COLOR=#000000])[/COLOR];    
  [COLOR=#000000]}[/COLOR]

[COLOR=#000000]}[/COLOR];

target_mc.[COLOR=#000080]my_thumbEvnt[/COLOR].[COLOR=#0000FF]onMouseUp[/COLOR] = [COLOR=#000000]function[/COLOR]COLOR=#000000[/COLOR] [COLOR=#000000]{[/COLOR]
zooming of some mc[COLOR=#FF0000]'s
}; [/COLOR]
[/LEFT]

how can i stop actions from onMouseUp function from hapening when i stop dragging movieclip.
i want them to happen only when i press target_mc once

i need something like on hellomonday.net - when you drag thumbs you wont zoom in, but when you click you will zoom

any ideas ?

ps. sorry for my poor english :slight_smile: