Accessing webcam from loaded swf
Hello!
I am trying to load swf file with Loader class into AIR application. The broblem is that the loaded swf can not access web cam (it can when I run it standalone). Is there any security settings I have missed.
AIR loader code:
loader = new Loader();
loader.name = "moduleLoader";
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onModuleLoaded);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, onModuleError);
var lc:LoaderContext = new LoaderContext(false);
loader.contentLoaderInfo.parentSandboxBridge = new StatsService(this);
lc.applicationDomain = ApplicationDomain.currentDomain;
loader.load(new URLRequest(FileSystem.resolvePath(configXML.appFile)), lc);
