Hi, Im using CPMStar to show ads on a flash game. The ad in the loader works as it should, but as soon as the main game starts the game crash because it tries to load another ad that displays at the bottom of the screen.
The error looks like this
*** Security Sandbox Violation ***
SecurityDomain ‘http://uploads.ungrounded.net/tmp/XXXXX/XXXXXX/file/entitysystembase.swf?XXXXXX’ tried to access incompatible context 'http://server.cpmstar.com/adviewas3.swf?contentspotid=XXXXXXX’
SecurityError: Error #2121: Security sandbox violation: getChildAt: http://uploads.ungrounded.net/tmp/XXXXXXX/XXXXXXX/file/entitysystembase.swf?XXXXXX cannot access http://server.cpmstar.com/adviewas3.swf?contentspotid=XXXXXXXXX. This may be worked around by calling Security.allowDomain.
I try calling Security.allowDomain(“server.cpmstar.com”); again from the main game, but the error still remains. If I disallow the “editorials”(the little boxes) the game works fine.