Determines whether the generated Flash file will be protected or not.
boolean object.IsSWFProtected( )
If the generated Flash file will be protected, this method returns true; otherwise, it returns false.
The following JSP example sets the data and loads the graphics settings of a given chart object. Then it disables the SWF protection if it is enabled.
chart.SetDataFromTxtFile("C:\\myData.txt"); chart.LoadStyle("C:\\myStyle.scs"); // If the Flash movie is protected, disable protection if( chart.IsSWFProtected() ) chart.ProtectSWF(false); chart.ExportAsResponse();
Applies To: Chart Object