Embedding/importing SWC at compile-time in ActionScript, without setting a library path
问题 Hail, Stack! I'm having a little trouble figuring out how to import a SWC file directly in ActionScript, without setting a library path to the file. To exemplify, I need something like this: package { [Embed(source = 'Library.swc')] // This line won't work, of course... import ClassInsideSWC; public class MyClass extends ClassInsideSWC { public function MyClass() { super(); } } } Besides, I don't want to (I can't, in fact) import the SWC by loading it with Loader class. Well, someone knows a