Precompiled Clip problem

Hi, I’m trying to package my classes for distribution, now I’ve checking the info about fla components, and it looks that the same method can be used to implement this, the suggested method is to create a precompled clip which contains all the classes used so then you can export teh precompiled clip and call it directly from the component, so my implementation is this :

package myFolder{
import subclass1 (thsi one extends Movie Clip)
import subclass2 (this doesn’t extend something)
class mymainClass extends Movie Clip{
public function create():mymainClass{
//multiple operations
return mymainClass
}
}
}

I open a new fla and create a new symbol on the library, name mymainClass , linkage properties, class : mymainClass, base Class: myFolder.mymainClass. (export for as, first frame)then I create a new symbol name : myClasses , class : myClasses, base Class:flash.display.MovieClip then i create a Compiled clip from it which is copy into other new fla where I have this

var item:mymainClass = mymainClass.create();

then I get this error 1061 : called to create method no defined on a reference static class

The class has been tested , it works correctly, the problem is just get using thsi method, I was thinkig that the problem were my imports but they are recognized.

Thanks, Oscar.