FlashObjectProperties.AllowScriptAccess Property
In This Article
Gets or sets a value that controls the ability to perform outbound scripting within a Flash SWF.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(AllowScriptAccess.SameDomain)]
public AllowScriptAccess AllowScriptAccess { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Allow |
Same |
One of the Allow |
Available values:
Name | Description |
---|---|
Same |
The outbound scripting will be available only if the SWF file is served from the same domain and hostname as its surrounding HTML file. |
Always | The outbound scripting will always succeed. |
Never | The outbound scripting will always fail. |
#Remarks
Web pages that host Flash movies can set the parameter for the Macromedia Flash Player from the HTML code. To allow outbound scripting, set the AllowScriptAccess property to AllowScriptAccess.Always.
See Also