Specifies whether the generated Flash file should be compressed or not (Flash MX required).

object.CompressSWF( swf_compressed )

Arguments

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

Remarks

Default: the generated Flash animation is not compressed.

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

JScript Sample Code

The following JScript code illustrates use of the CompressSWF method in an ASP page.

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

//Let's display an compressed SWF movie 
chart.CompressSWF( true );
chart.ExportAsResponse();

See Also

IsSWFCompressed Method

Applies To: Chart Object