# Function allowing only one instance?

**URL:** https://forum.kirupa.com/t/function-allowing-only-one-instance/75689
**Category:** flash
**Created:** [January 11, 2005, 2:08pm UTC](https://forum.kirupa.com/t/function-allowing-only-one-instance/75689 "2005-01-11T14:08:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Lacuna](https://avatars.discourse-cdn.com/v4/letter/l/edb3f5/32.png) [@Lacuna](https://forum.kirupa.com/u/Lacuna)
#### Post date: [January 11, 2005, 2:08pm UTC](https://forum.kirupa.com/t/function-allowing-only-one-instance/75689/1 "2005-01-11T14:08:02Z")

</div>

Hey 🙂

I’m using two functions, one for an onRollOver event and the other onRollOut.

The problem is that when the second mc calls either of the functions, the inital function running ends its cycle, leaving that animation unfinished.

Any suggestions on what I’m doing wrong? Thanks

(I’m using as2.0/2004Pro)

~ Lacuna :love:
