# Calling a function inside another function

**URL:** <https://forum.kirupa.com/t/calling-a-function-inside-another-function/264844>\
**Category:** flash\
**Created:** [July 1, 2008, 4:51am UTC](https://forum.kirupa.com/t/calling-a-function-inside-another-function/264844 "2008-07-01T04:51:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashdaddy](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Post date:** [July 1, 2008, 4:51am UTC](https://forum.kirupa.com/t/calling-a-function-inside-another-function/264844/1 "2008-07-01T04:51:24Z")

</div>

Hi All,

I’ve set up two functions (friendsClick and policyLink) I would like to use everything inside of friendsClick inside of policyLink but I’m not sure how to go about doing it. I get the following error:  
1136: Incorrect number of arguments. Expected 1.

---

<div class="post-metadata">

**Author:** ![flashdaddy](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)\
**Post date:** [July 1, 2008, 5:01am UTC](https://forum.kirupa.com/t/calling-a-function-inside-another-function/264844/2 "2008-07-01T05:01:05Z")

</div>

Accidental repeated post, please delete
