Determines whether the generated Flash file will be compressed or not.

object.IsSWFCompressed 

Arguments

object
Required. A Chart object.

Return Value

If the generated Flash file will be compressed, this method returns true; otherwise, it returns false.

Remarks

Flash 6 (MX) or higher is required for playing back the compressed movie.

VBScript Sample Code

The following VBScript example sets the data and loads the graphics settings of a given chart object. Then it disables the SWF compression if it is enabled.

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

'If the Flash movie is compressed, disable compression 
If chart.IsSWFCompressed Then
  chart.CompressSWF false
End If

chart.ExportAsResponse

See Also

CompressSWF Method

Applies To: Chart Object