# How to use classes for selfmade components

**URL:** <https://forum.kirupa.com/t/how-to-use-classes-for-selfmade-components/218122>\
**Category:** Uncategorized\
**Created:** [March 5, 2007, 9:08am UTC](https://forum.kirupa.com/t/how-to-use-classes-for-selfmade-components/218122 "2007-03-05T09:08:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gunjan](https://avatars.discourse-cdn.com/v4/letter/g/8edcca/32.png) [@gunjan](https://forum.kirupa.com/u/gunjan)\
**Post date:** [March 5, 2007, 9:08am UTC](https://forum.kirupa.com/t/how-to-use-classes-for-selfmade-components/218122/1 "2007-03-05T09:08:20Z")

</div>

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
