TypeError: Error #1006: init is not a function

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.

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