# No 'www' in domain ExternalInterface.addCallBack sandbox error

**URL:** <https://forum.kirupa.com/t/no-www-in-domain-externalinterface-addcallback-sandbox-error/313227>\
**Category:** flash\
**Created:** [August 24, 2010, 10:26am UTC](https://forum.kirupa.com/t/no-www-in-domain-externalinterface-addcallback-sandbox-error/313227 "2010-08-24T10:26:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RapaNui](https://avatars.discourse-cdn.com/v4/letter/r/45deac/32.png) [@RapaNui](https://forum.kirupa.com/u/RapaNui)\
**Post date:** [August 24, 2010, 10:26am UTC](https://forum.kirupa.com/t/no-www-in-domain-externalinterface-addcallback-sandbox-error/313227/1 "2010-08-24T10:26:59Z")

</div>

Hi all,

I’m using ExternalInterface.addCallBack to grant access to JS functions in the HTML doc. Everything is working fine unless the visitor omits the ‘www’ from the domain name, in which case a sandbox error is triggered.

I’ve got a crossdomain.xml granting access to both the domain and the domain without ‘www’… this is working fine as the swf is pulling information in no problem in both circumstances.

Is there somewhere else where I can specify permitted domains for ExternalInterface.addCallBack()

Thanks,

RN
