The problem is that the parent swc only includes those classes in the library swc that the parent swc statically links through it's included classes.
This means you can't include two swcs in a parent swc without also including classes referencing the included swc classes. Is there a compiler argument that might force the child swcs classes to be included regardless of them being referenced in included classes? --- In [email protected], "bick" <[EMAIL PROTECTED]> wrote: > > Is it possible to use a library project that includes a swc specified > in the library paths tab of a flex project? > > So: App (swf) includes library (swc) that includes another library (swc)? > > Problem: Some classes are not found in the Flex 3 compiler in the > library included within another library. > > Steps to reproduce: > > 1. Create a library project - call it Common. It will create a > common.swc file > 2. In the library path, include Flex Unit (.85). > 3. Create a Flex project - call it MainApp. > 4. In the MainApp library path - select Add Project and add the Common > Project. (you could have added the common.swc instead) > 5. Create a class: MainApp.mxml > 6. In MainApp.mxml, add: > > import com.flexunit.frameworks.TestSuite; > import com.flexunit.frameworks.TestClass; > > public var suite : TestSuite = new TestSuite(); > > I get an error that TestSuite can not be found. The strange part is > that TestCase is found. > > If I add the FlexUnit swc to MainApp, it finds the class as intended. > > Both libraries are set to merge but I tried external as well with no luck. > > Any ideas? >

