# ABC in Flash

**URL:** https://forum.kirupa.com/t/abc-in-flash/261964
**Category:** flash
**Created:** [June 2, 2008, 6:34am UTC](https://forum.kirupa.com/t/abc-in-flash/261964 "2008-06-02T06:34:18Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![dzhedzho](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@dzhedzho](https://forum.kirupa.com/u/dzhedzho)
#### Post date: [June 2, 2008, 6:34am UTC](https://forum.kirupa.com/t/abc-in-flash/261964/1 "2008-06-02T06:34:18Z")

</div>

I have some AS3 code and I would like to compile it in a library, that is, a SWC. I used to do that for my components, by creating a movie clip in an empty library, attaching the class to it and compiling that to SWC. Now however I would like to do the same for classes which do not extend MovieClip or Sprite. Can I do that from Flash, and if I can, how? Thank you in advance.

---

<div class="post-metadata">

### Author: ![wvxvw](https://avatars.discourse-cdn.com/v4/letter/w/a9a28c/32.png) [@wvxvw](https://forum.kirupa.com/u/wvxvw)
#### Post date: [June 2, 2008, 8:27am UTC](https://forum.kirupa.com/t/abc-in-flash/261964/2 "2008-06-02T08:27:32Z")

</div>

Nope… from Flash you can’t compile anything that doesn’t extend DisplayObject. But, it’s possible with Flex. Here’s the article on it: [http://thanksmister.com/?s=module](http://thanksmister.com/?s=module).
