On double click help

I have a button that has an on(press) and an on(release) handler, which makes an movieClip start and stop drag.
I want to add a double click handler also. To where you double click on the same button and something will happen, something like when you double
click the top bar of a window (PC) and it maximizes the window.

Can any one show me some AS that can have this?

THX!