How to use classes for selfmade components

Hi,
I have developed few components to reuse my codes (all codes in fla). It is very helpful for me. Now I want to use classes (compiled swc with as files) for my components. It is woking in normal fla files but whenever i compiled it into component it stops working without any error.
Plese help me how can i use classes to my components.

Regards,
Gunjan