I have a need to dynamically link SWCs. That is, I want to load an SWC into my project/SWF dynamically, at run-time.
I have searched the net, but I havent got a concrete solution to my query.
Is it possible to load SWC libraries at runtime? If so, how?
The reason I ask is, I don't want to keep re-compiling my target application with my SWC everytime the SWC changes. With dynamic linking, I can just call the freshly edited SWC at run-time.
You can use flash.display.Loader to load the library.swf in a SWC. If any
APIs have changed to become incompatible, you will get verify errors at
A better pattern is to use SWCs as RSLs or bake them into individual