trace(ApplicationDomain.currentDomain ==
ApplicationDomain.currentDomain);
trace(stage.loaderInfo.applicationDomain
== stage.loaderInfo.applicationDomain);
上面代码输出:
false
true
所以理论上,ApplicationDomain.currentDomain还是对真正的application做了一层封装!
2023-11-05 13:35:04
trace(ApplicationDomain.currentDomain ==
ApplicationDomain.currentDomain);
trace(stage.loaderInfo.applicationDomain
== stage.loaderInfo.applicationDomain);
上面代码输出:
false
true
所以理论上,ApplicationDomain.currentDomain还是对真正的application做了一层封装!