create a movieclip (nothing needs to be on-stage), assign it a class, import all the classes you want to compile and instantiate them in the movieclip's class. right click your movieclip and click export as swc.