# Problem with on (release){ this.stopDrag();}

**URL:** <https://forum.kirupa.com/t/problem-with-on-release-this-stopdrag/255969>\
**Category:** Uncategorized\
**Created:** [March 28, 2008, 5:13pm UTC](https://forum.kirupa.com/t/problem-with-on-release-this-stopdrag/255969 "2008-03-28T17:13:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Constantinos](https://avatars.discourse-cdn.com/v4/letter/c/839c29/32.png) [@Constantinos](https://forum.kirupa.com/u/Constantinos)\
**Post date:** [March 28, 2008, 5:13pm UTC](https://forum.kirupa.com/t/problem-with-on-release-this-stopdrag/255969/1 "2008-03-28T17:13:22Z")

</div>

Hello everyone! I am new in flash programming and i am trying to create a flash program where a rectangle is given and the user with his/her mouse can drag the edges of it .  
draging the edges the new shape must still preserve its rectangle rules.

The problem that i have and i don´t know how to solve it is that sometimes when dragging any edge, on releasing the mouse button , the edge doesn´t stop draging and this is very annoying.

I am sending you my .fla file .(some of my comments are in greek with latin characters)  
I appreciate any kind of help to solve this issue.
