Posted July 21, 2009 by senocular
In truth, it does work. External library definitions can be used and recognized as base classes - when compiled. The problem is that the Properties Dialog GUI doesn't allow you to confirm the dialog when you try to use an external definition for the base class, complaining that the class doesn't exist. So for this to work, what you need to do is have the class(es) accessible for when those base classes are being set. In other words:
- In the publish settings, specify your external library SWC as a non-external library
- Set up symbol associations, setting symbol base classes to the necessary classes available in the SWC
- Go back to the publish settings and change the SWC from a non-external library to an external library
By using the SWC as a non-external library temporarily, we get around the GUI's complaints that the base class definition can't be found. When finally compiled, though, the definitions will be back as an external library so that the compiler will be aware of those definitions but will not compile them into the final SWF.