I have a SWC file (library file) created using Actionscript and i want to include that swc to make new Flash widgets. The procedure now we are following is i am manually copying the SWC file in libs folder in Flash Builder 4.
I want to actually load it dynamically at runtime into my swf file so i dont need to compile it all over again if the original library file is altered.
One method that we tried was FZip. Where we are unzipping the swc and then reading the library.swf using the loadSWF method. The problem here is i will have to put this code in all the widgets that we will make. So is there any way where we can load the swc at runtime and no need of including the FZip code in all the widgets.
Let me know if you all need more explaination on this.
Europe, Middle East and Africa