# Function.apply()

**URL:** <https://forum.kirupa.com/t/function-apply/226015>\
**Category:** flash\
**Created:** [May 17, 2007, 2:20pm UTC](https://forum.kirupa.com/t/function-apply/226015 "2007-05-17T14:20:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Professor\_Rhyth](https://avatars.discourse-cdn.com/v4/letter/p/d6d6ee/32.png) [@Professor\_Rhyth](https://forum.kirupa.com/u/Professor_Rhyth)\
**Post date:** [May 17, 2007, 2:20pm UTC](https://forum.kirupa.com/t/function-apply/226015/1 "2007-05-17T14:20:10Z")

</div>

Can somebody please detail for me what the first parameter in Function.apply() is used for? Whenever I try to use the method I get a stack overflow error and I’m not sure why I’m using it incorrectly. My code is fairly huge but I will explain it in a following post if this isn’t a common error or there’s a simple fix that I’ve overlooked.

Thanks
