I am working on a Flash project. In the project there are lots of isolated FLA files which may share the same common classes code. To clarify the project limitation:
- I could ONLY use Flash CS6 IDE. No modern tool such as Flash Builder or Flex, just pure Flash CS6 IDE.
- I have to export the FLAs to SWFs one by one separately so each one of SWFs would contains a copy of the ABC of the common classes.
- I have a loader.swf which was going to load all the other SWFs into a same ApplicationDomain. In other words all the duplicated ABC in the SWFs would be ignored because the loader.swf has also already involved that.
And my questions are:
- Is there any way I could pre-compile all the common classes into a SWC or SWF and I could use it just like a DLL or SO?
- If so how could I create such a SWC or SWF only by Flash CS6 IDE as I told before?
- If I could create such a SWC or SWF how should I use it? Such as How could I change my configuration in the Flash CS6 IDE?
To be honest I don't know my idea is valid or not. Please, any advise would be great helpful.
Thanks.