检测flash的运行在本地还是网络
2009年6月6日
没有评论
trace(loaderInfo.url.indexOf("file:///") != -1);
trace(new LocalConnection().domain == "localhost");
trace(Security.sandboxType != "remote");
trace(loaderInfo.url.indexOf("file:///") != -1);
trace(new LocalConnection().domain == "localhost");
trace(Security.sandboxType != "remote");