Hello,
I’ve been pulling my hair out trying to figure this out.
I would like to modularize into three .swf files.
- boot.swf - this one will take the other two, put them together, and let them share functions and variables
- api.swf - this would be a set of functions and variables that are used by the third flash file
- main.swf - this is the main functionality, but it needs to make use of some of the functions and variables in api.swf
The reason I want boot.swf to load them, is so that I can mix and match api’s with the main program code being plugged in. But, boot.swf will be the standard file that I start with.
I have gotten as far as getting boot.swf to load main.swf using Loader. However, I can’t seem to get main.swf to access anything in boot.swf… let alone access anything in api.swf.
Any assistance is much appreciated!
Thank you!