# Trigger when mouse leaves flash

**URL:** https://forum.kirupa.com/t/trigger-when-mouse-leaves-flash/228408
**Category:** Uncategorized
**Created:** [June 7, 2007, 2:19pm UTC](https://forum.kirupa.com/t/trigger-when-mouse-leaves-flash/228408 "2007-06-07T14:19:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tommyflash](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@tommyflash](https://forum.kirupa.com/u/tommyflash)
#### Post date: [June 7, 2007, 2:19pm UTC](https://forum.kirupa.com/t/trigger-when-mouse-leaves-flash/228408/1 "2007-06-07T14:19:56Z")

</div>

Hi

Is there any way to call a function when the mouse leaves the swf? I have an onRollOut function but it doesnt get triggered when i drag the mouse to fast off the flash file. I also tried with a functioin that is checking mouseposition every two seconds, and then calls a function if its outside the flash. didnt work eiteher ☹ any sugestions?
