Suppose I have made some components packaged in SWC file. I
want to make these components be auto launched and run during the
customers SWF's launching process. To use these component, customer
must add option to his Flex Project's compile parameters, like
"-include-libraries "D:\Test\test.swc". My destination is that this
compile param is the only change to his project and he will keep
his code unchanged and some functions defined in my SWC will run
while his SWF's launching.
So my question is, how to make this kind of SWC that can be
loaded automatically in customer's SWF?
How about defining it as a RSL (Runtime shared library). You
can define the links between the customer's app and the RSL and
then anytime the RSL SWC changes, as long as the links are still
the same, should be okay. See FB3 help on RSL.