Error #2113: Provided parameter LoaderContext.SecurityDomain is from a disallowed domain.
I've tried several different approaches but I've been unsuccessful trying to figure out how to get around this issue. Any suggestions?
1. In a separate test app I've been able to get straight ActionScript to open and access the DLL.
3. The error is thrown when I call ExtensionContext.createExtensionContext(...) from my ActionScript code. My DLL is loaded and the initializer is called (printf debugging). However the ctxInitializerToSet is never called.
4. My current approach is to have a common ActionScript class which calls the ActionScript library.swf which resides in META-INF/AIR/extensions/<my extension>/META-INF/ANE/<platform>/library.swf and that library is the one attempting to load the DLL. I've also tried having the common ActionScript file call ExtensionContext.createExtensionContext() directly with similar results.
5. I'm currently attempting this on Mac (so technically it's a framework instead of a DLL) - although I tried Windows at one point too (and the extension is meant to be cross-platform).
Could you please open a new bug report on this over at bugbase.adobe.com? Please include sample media, code, project or app to help us reproduce the issue. Finally, once the bug has been added, would you mind posting back with the URL so that others affected can add their votes and comments?
Adobe Flash Runtime team
Could you please open a new bug report on this over at bugbase.adobe.com? Please reference the old bug and your new thread in the new report. Finally, please post back with the URL so that others affected can add their comments and votes.
Europe, Middle East and Africa