[Advanced] AS3 Game decomposition into separate swf's

Hello,

I’m looking for a good design how to split the big project into separate swf’s.
I’m using AS3. FlashDevelop IDE.
I would like to have main login in core.swf, GUI logic in gui.swf all graphics in separate swf’s and ect…
But here is the problem in coding. When I load one swf into some Loader i don’t know exactly what function and classes that swf has… I have to switch to that swf code and copy function names to be able to call them correctly. It would be great to have something like references in .NET. After attaching dll you know what is inside of it.

Thanks for suggestions.