I was lucky enough to find a chapter in one of Adobe’s free online books on creating new Application Domains, however, those examples only apply to external SWFs:
http://livedocs.adobe.com/flex/3/html/help.html?content=18_Client_System_Environment_5.html
Is there any way to use all currently available classes, and create a new ApplicationDomain in which they should run? Perhaps specifying a class to use as the main Document Class in that new environment?
I want all things like “getTimer()” to display the runtime for that new environment, and static variables that can be changed should all be their own values inside there. For instance, if I change Class.staticVariable = new value(); in the new environment, the value will not change for “me” as I am running inside of a different ApplicationDomain. Comprenden?
If I could also control which classes are accepted into that Application Domain, that would be great too…
Has this been done before? Are there any guides or tutorials on it?