# TypeError: Error #1006: value is not a function

**URL:** <https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function/279693>\
**Category:** Uncategorized\
**Created:** [January 17, 2009, 6:49pm UTC](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function/279693 "2009-01-17T18:49:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [January 17, 2009, 6:49pm UTC](https://forum.kirupa.com/t/typeerror-error-1006-value-is-not-a-function/279693/1 "2009-01-17T18:49:30Z")

</div>

I have trouble calling the function. Here is the code: [http://pastie.org/363336](http://pastie.org/363336)

I am defining a function \*\*tweenDown \*\*at line 43 and have no trouble calling it from line 41, but if I try to call it from line 36 I get that error.

Please help!

* * *
