Loading SWF into AIR application crashes AIR

I need to load an SWF into an AIR application, this is set up and working. But, my AIR application crashes directly when frame 2 is reached. I’ve set all my classes to export on Frame 2 and I’m not initializing anything at all until the entire swf is loaded. It appears as if one or more classes in the library, when read by the parent AIR app, is causing the app to crash.

Does anyone have a clue as to why this might be happening? The SWF runs fine on it’s own, it runs fine if I load it into another SWF. It’s something to do with the AIR wrapper when my library classes start to be read.

Any thoughts, suggestions, things to check etc. are greatly appreciated.