Back to Devexpress

FlashObjectProperties.AllowScriptAccess Property

aspnet-devexpress-dot-web-dot-flashobjectproperties.md

latest1.8 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(AllowScriptAccess.SameDomain)]
public AllowScriptAccess AllowScriptAccess { get; set; }
vb
<DefaultValue(AllowScriptAccess.SameDomain)>
Public Property AllowScriptAccess As AllowScriptAccess

Property Value

TypeDefaultDescription
AllowScriptAccessSameDomain

One of the AllowScriptAccess values.

|

Available values:

NameDescription
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

FlashObjectProperties Class

FlashObjectProperties Members

DevExpress.Web Namespace