Yea the situation is: the function, which should stop is a part of a button:
button (0, 0, button_pic, button_pic, button_pic, function_on, function_mouse_off, function_mouse_on);
The function_mouse_on starts when the mouse touch on the picture/button and when the mouse leaves the picture/button the function_mouse_on continues until it ends but it shouldn't! The function_mouse_on should quickly stop when the mouse leaves the button (as known as the function_mouse_off starts), because the function_on mouse needs about 5 seconds to finish, but it should quickly stop when the function_mouse_off is on.
Last edited by Adulescens; 07/16/14 15:20.