•
Include the superdomain in
example,
myDomain.com:myConnectionName
LocalConnection.allowDomain
will be accepted (in this case, myDomain.com) or that connections from any domain will
be accepted.
Note: You cannot specify a superdomain in
object—you can only do this in the sending LocalConnection object.
Example
For an example of communicating between LocalConnection objects located in the same domain,
see LocalConnection.connect(). For an example of communicating between LocalConnection
objects located in any domain, see LocalConnection.allowDomain. For an example of
communicating between LocalConnection objects located in specified domains, see
LocalConnection.allowDomain
See also
LocalConnection.allowDomain, LocalConnection.connect(),
LocalConnection.domain(),
418
Chapter 2: ActionScript Language Reference
in the sending LocalConnection object—for
connectionName
. In the receiving object, use
to specify that connections from the specified superdomain
connectionName
and LocalConnection.domain().
LocalConnection.onStatus
in the receiving LocalConnection
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?
Questions and answers