Skip to main content
Tab

FlashObjectProperties.AllowScriptAccess Property

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

Declaration

[DefaultValue(AllowScriptAccess.SameDomain)]
public AllowScriptAccess AllowScriptAccess { get; set; }

Property Value

Type Default Description
AllowScriptAccess SameDomain

One of the AllowScriptAccess values.

Available values:

Name Description
SameDomain

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