# Looking for a function

**URL:** https://forum.kirupa.com/t/looking-for-a-function/89553
**Category:** Uncategorized
**Created:** [May 9, 2005, 5:39pm UTC](https://forum.kirupa.com/t/looking-for-a-function/89553 "2005-05-09T17:39:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Henxon](https://avatars.discourse-cdn.com/v4/letter/h/51bf81/32.png) [@Henxon](https://forum.kirupa.com/u/Henxon)
#### Post date: [May 9, 2005, 5:39pm UTC](https://forum.kirupa.com/t/looking-for-a-function/89553/1 "2005-05-09T17:39:08Z")

</div>

hello. I have a function in a movieclip:

```auto
onClipEvent(load)

```

.

The thing is, I want to be able to controll when the function is going to be executed, not just once when loading data at the first time. how can I accomplish this?

I have a variable inside this function that I need to be able to change dynamicly…

/henxon :trout:
