Specifies whether the generated Flash file should be protected or not.

object.ProtectSWF swf_protected 

Arguments

object
Required. A Chart object.
swf_protected
Required. A boolean value that specifies whether the Flash file is protected or not.

Remarks

Default: the generated Flash animation is always protected.

If a Flash movie is marked as protected it cannot be imported into Macromedia Flash Editor.

VBScript Sample Code

The following VBScript code illustrates use of the ProtectSWF method in an ASP page.

chart.SetSeparators ";", true
chart.SetDataFromQuery
chart.LoadStyle "C:\myStyle.scs"

'Let's display an unprotected SWF movie 
chart.ProtectSWF false
chart.ExportAsResponse

See Also

IsSWFProtected Method

Applies To: Chart Object