Specifies whether the generated Flash file should be protected or not.
void object->ProtectSWF( boolean swf_protected )
Default: the generated Flash animation is always protected.
If a Flash movie is marked as protected it cannot be imported into Adobe Flash Editor.
The following PHP code illustrates use of the ProtectSWF method.
$chart->SetDataFromQuery(); $chart->LoadStyle("C:\\myStyle.scs"); // Let's display an unprotected SWF movie $chart->ProtectSWF(false); $chart->ExportAsResponse();
Applies To: Chart Object