actionscript-3flashflashdevelopswc

Compile SWC with references to classes not included


I'm trying to compile an SWC with a few classes as an extension to a framework, it complains that Signals and my View class cant be found. They aren't in the project as any project this would be used on would already have the framework SWC included containing these classes.

Is there anyway to tell it not to cry over missing classes?


Solution

  • No if you reference any class then it has to be present.

    What you can do is making those classes implement an interface(s) and have that interface(s) referenced in your swc.