# Swc works as library..not as external library..why?

**URL:** <https://forum.kirupa.com/t/swc-works-as-library-not-as-external-library-why/332208>\
**Category:** Uncategorized\
**Created:** [March 4, 2014, 12:46pm UTC](https://forum.kirupa.com/t/swc-works-as-library-not-as-external-library-why/332208 "2014-03-04T12:46:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cakepizza](https://avatars.discourse-cdn.com/v4/letter/c/45deac/32.png) [@cakepizza](https://forum.kirupa.com/u/cakepizza)\
**Post date:** [March 4, 2014, 12:46pm UTC](https://forum.kirupa.com/t/swc-works-as-library-not-as-external-library-why/332208/1 "2014-03-04T12:46:02Z")

</div>

I have an swc I compiled using flex compc command line. (Also have it compiled as an swf via mxmlc)  
I now want to use the library as an RSL in flash IDE project.

If I add the swc to my library paths, it compiles and works fine.  
If I add the swc to my external libraries path it never even gets a chance to run the first frame where I load the swf into my application domain because I get a VerifyError: Error #1014: Class myCode::myLibUtils could not be found. at global$init()

Why would this be?? It seems that if the compiler can see the class exists when I point to it as a library, it should also see it when I point to it as an external library.
