# Is it possible to remove a function

**URL:** <https://forum.kirupa.com/t/is-it-possible-to-remove-a-function/289858>\
**Category:** flash\
**Created:** [June 5, 2009, 6:17pm UTC](https://forum.kirupa.com/t/is-it-possible-to-remove-a-function/289858 "2009-06-05T18:17:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashdaddy](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Post date:** [June 5, 2009, 6:17pm UTC](https://forum.kirupa.com/t/is-it-possible-to-remove-a-function/289858/1 "2009-06-05T18:17:23Z")

</div>

Hi All,

I have another issue that I’ve been searching and searching for but can’t seem to figure it out. If i have a function:

```auto

my_mc.addEventListener(e:MouseEvent.ROLL_OVER, audioOver)

function audioOver(e:MouseEvent) {
     
     //a bunch of other things are going in here, not just the changeAudio(); function

     changeAudio();
}

```

That is called when a user initially rolls over a certain movieclip. After it happens that first time, I don’t want it to happen again so I’d like to remove that changeAudio(); function some how. Is anyone familiar with how to do that?
