startDrag and stopDrag() problem

I have a .fla file that provides me to drag and drop the rectangle squished from my scene.


onClipEvent(enterFrame){
}
on(press)
  {
    startDrag(this);
  }
  
  on(release, releaseOutside)
  {stopDrag(this);
  }

And it’s working you can download the source here.

dreptunghi_mc is the instance of my rectangle which is draw on scene.
What I want to do is to replace this code using on handler event so that I obtain the same effect of drag& drop.

Here’s what I’ve tried:


onClipEvent(enterFrame)
{
on(press)
{_root.dreptunghi_mc.startDrag(this.dreptunghi_mc);
}

on(release, releaseOutside)
{_root.dreptunghi_mc.stopDrag(this.dreptunghi_mc);
}

}

dreptunghi_mc is the instance_name of my movieclip symbol.

Can you help me please?