BB FlashBack SDK: FBExportToSWFParams

SecureDomains

Description

Sets the domains at which the exported SWF, or the webpage or SWF containing it must be hosted - it will not play when called from SWF files hosted in other domains.

Syntax

[C#/C++]
public String SecureDomains;

[VB.NET]
Public Property SecureDomains As String

Remarks

The SecureDomains property should contain a list of comma separated domains, e.g. "www.xyz.com,www.mydomain.com".  This defines the domains that the exported SWF must be hosted in, to enable playback.

This domain list is only used if UseSecureDomain is set to True - otherwise the SWF can only be called from other SWFs that are in the same domain, although it may be embedded in web pages in any domain.

SWF files that use this feature require Flash player version 6 or newer for playback.

For details of how the SecureDomains and SecureCode properties work together to set restrictions on exported SWF usage, see Using the SecureDomains and SecureCode features.
 

See also

FBExportToSWFParams::UseSecureDomain  FBExportToSWFParams::UseSecureCode  FBExportToSWFParams::SecureCode