# Call random function from array

**URL:** <https://forum.kirupa.com/t/call-random-function-from-array/330959>\
**Category:** flash\
**Created:** [April 17, 2013, 1:41am UTC](https://forum.kirupa.com/t/call-random-function-from-array/330959 "2013-04-17T01:41:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![daejeon](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@daejeon](https://forum.kirupa.com/u/daejeon)\
**Post date:** [April 17, 2013, 1:41am UTC](https://forum.kirupa.com/t/call-random-function-from-array/330959/1 "2013-04-17T01:41:00Z")

</div>

Is it possible to have an array of functions, then call and perform a random function from the array on a button click?
