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

boolean 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.

PHP Sample Code

The following PHP 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() )
  {
  $chart->CompressSWF( false );
  }

$chart->ExportAsResponse();

See Also

CompressSWF Method

Applies To: Chart Object