# Arrays - holding functions?

**URL:** https://forum.kirupa.com/t/arrays-holding-functions/324786
**Category:** flash
**Created:** [September 8, 2011, 7:31pm UTC](https://forum.kirupa.com/t/arrays-holding-functions/324786 "2011-09-08T19:31:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jeancnicolas](https://avatars.discourse-cdn.com/v4/letter/j/7bcc69/32.png) [@jeancnicolas](https://forum.kirupa.com/u/jeancnicolas)
#### Post date: [September 8, 2011, 7:31pm UTC](https://forum.kirupa.com/t/arrays-holding-functions/324786/1 "2011-09-08T19:31:35Z")

</div>

Hiya … is it possible to put a function into an array and execute it from calling it via the array?  
I did this before in as2

```auto
var funcs:Array = new Array(one);
function one()
{
//do this;
}
funcs[0](); // Bammmm execute function 'one'

```

Any Ideas…?! in AS3 o course  
Thanks 🙂
