
Re: Loading SWC file at run time
To add an SWC file to an AS3 project in FlashDevelop:
- Move the SWC so that it is in the project directory somewhere
- Find the SWC in the Project panel, right-click and select "Add To Library"
To create your own SWC file from FlashDevelop, try looking into the "Export SWC" plugin here:
viewtopic.php?f=4&t=4099If you want to use the SWC at runtime, I would first recommend that you make sure the SWC works correctly when included at compile time. That would probably be the easiest way to tackle problems if you are experiencing errors. Once you are able to use the SWC without errors, right-click the SWC in the Project panel again and select "Options". Set the mode to "External library", so that FlashDevelop uses the file for code completion but does not compile it with your SWF. I don't use runtime libraries (other than the Flex framework when appropriate), but I'm sure that you could then add the reference as a compiler option under your project's properties.