# 1 class to multiple library assets - error 1203

**URL:** <https://forum.kirupa.com/t/1-class-to-multiple-library-assets-error-1203/286130>\
**Category:** classic bestof\
**Created:** [April 10, 2009, 2:55pm UTC](https://forum.kirupa.com/t/1-class-to-multiple-library-assets-error-1203/286130 "2009-04-10T14:55:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaedo](https://avatars.discourse-cdn.com/v4/letter/s/e19b73/32.png) [@Shaedo](https://forum.kirupa.com/u/Shaedo)\
**Post date:** [April 10, 2009, 2:55pm UTC](https://forum.kirupa.com/t/1-class-to-multiple-library-assets-error-1203/286130/1 "2009-04-10T14:55:39Z")

</div>

I am trying to use one class for multiple library assests.  
It only seems to work when I have 0 arguments for the constructor.  
I work around it by adding a routine that gets called when its created and acts like a constructor.

The Adobe description of this error is:  
\*\*1203 No default constructor found in base class %s. \*\*  
**You must explicitly call the constructor of the base class with a super() statement if it has 1 or more required arguments.**

I think its say that I must have 0 arguments in my constructor and then call a seperate pseudo-constructor if I want more arguments. (which is what I am doing as a work around but dont want to.)

This is similar to the previous post here but does not answer my question. [http://www.kirupa.com/forum/showthread.php?t=275077](http://www.kirupa.com/forum/showthread.php?t=275077)

In general I am doing this but with arguments in the constructor.  
[http://blog.multimediacollege.be/2008/07/attaching-the-same-class-to-multiple-library-assets-in-as3/comment-page-1/#comment-3214](http://blog.multimediacollege.be/2008/07/attaching-the-same-class-to-multiple-library-assets-in-as3/comment-page-1/#comment-3214)

If any one knows a solution that is more elegant than running a pseudo constructor then I would be stoked to hear it.

Thanks for taking the time to consider my question. As always much appreciated.
