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

**URL:** <https://forum.kirupa.com/t/typeerror-error-1006-init-is-not-a-function/265047>\
**Category:** Uncategorized\
**Created:** [July 3, 2008, 10:42am UTC](https://forum.kirupa.com/t/typeerror-error-1006-init-is-not-a-function/265047 "2008-07-03T10:42:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![keenz](https://avatars.discourse-cdn.com/v4/letter/k/57b2e6/32.png) [@keenz](https://forum.kirupa.com/u/keenz)\
**Post date:** [July 3, 2008, 10:42am UTC](https://forum.kirupa.com/t/typeerror-error-1006-init-is-not-a-function/265047/1 "2008-07-03T10:42:24Z")

</div>

hi,  
i am trying to use a scroll bar on a image, using a movie clip.  
im using this line  
sb.init (txt\_mc, “easeOutBack”,2,true,2);  
that is recieving the error.  
sb is my instance name for the scroll bar movie clip  
and txt\_mc is the movie clip with the image.

any idea why i am recieving this error?  
TypeError: Error #1006: init is not a function.

---

<div class="post-metadata">

**Author:** ![TheGoods](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@TheGoods](https://forum.kirupa.com/u/TheGoods)\
**Post date:** [July 3, 2008, 3:56pm UTC](https://forum.kirupa.com/t/typeerror-error-1006-init-is-not-a-function/265047/2 "2008-07-03T15:56:44Z")

</div>

You probably didnt define the init function properly.  
Or didn’t make it public, thats usually the reason for that error
