# Array of functions

**URL:** <https://forum.kirupa.com/t/array-of-functions/281448>\
**Category:** Uncategorized\
**Created:** [February 9, 2009, 3:10pm UTC](https://forum.kirupa.com/t/array-of-functions/281448 "2009-02-09T15:10:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Post date:** [February 9, 2009, 3:10pm UTC](https://forum.kirupa.com/t/array-of-functions/281448/1 "2009-02-09T15:10:08Z")

</div>

Hi,

I want to loop through a array to call my functions, but can’t get the syntax right, is this possible?

var myArray:Array = [‘function1()’, ‘function2()’];

for (var key:String in myArray){

```
// I want to call the function here

```

}
