Determines whether the generated Flash file will be compressed or not.
boolean object->IsSWFCompressed( )
If the generated Flash file will be compressed, this method returns true; otherwise, it returns false.
Flash 6 (MX) or higher is required for playing back the compressed movie.
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();
Applies To: Chart Object