Combining SWC class and .as file class

Greetings,

I have a .as file class definition for a class I’ll call GameGUI that includes all of the business logic for my GameGUI abstraction. However, I wanted to compose its graphical assets and code its animations in the Flash IDE. Therefore, I created a symbol in Flash which I’m exporting for actionscript and that symbol is given the class name “GameGUI” (same as my .as definition).

Now I’ve done this before when it comes to just compiling a SWF directly from Flash - it works great for defining business logic in a typical .as class file while still being able to talk to pre-composed graphical assets in the Flash IDE.

This time, though, I’m using FlashDevelop and I want to publish that GameGUI from the Flash IDE with all the visual assets as a SWC file. I did this and I included the SWC file in my project as a library, but the compiler is not combining my class definitions.

Can anyone tell me what might be different when trying to use a SWC in this manner as opposed to compiling directly from the Flash IDE where Flash is able to combine .as file class definitions with library symbols of the same class name?

Thanks.

Matt