AIR for IOS, ApplicationDomain problem: Error #2007: Parameter Possible symbol clash in multiple swf
I am exporting a game for IOS in Flash CS6.
I have isolated classes, except a framework for static utilities that do not clash, but I still get this message when exporting for IOS.
AIR for desktop, even with ApplicationDomain.currentDomain works and does not give any error. Same on android.
When I export the same exact project for IOS, it triggers that error randomly in different parts.
All related with a call to a method on superclass, the instantiation of an internal class, or of a Vector typed to a custom internal class.
TypeError: Error #2007: Parameter Possible symbol clash in multiple swfs, abcenv must be non-null.
The line that triggers the error:
return new RouletteChoserItemDev(num, data);
Any help is appreciated.
UPDATE
I have changed the code into:
var item:RouletteChoserItemDev;
var MyClass:Class = RouletteChoserItemDev;
item = new MyClass(num, data);
Now I get this funny error:
Error #1034: Type Coercion failed: cannot convert device.plugins.rouletteLobby::RouletteChoserItemDev@6284bc9 to .
Yes, cannot convert to ".", a dot!
