Save Event in the DesignerThis example shows how to use the save report event in the designer. For creating and showing the designer, it is enought to add it on the MXML form as shown in the code below. Also add the saveReport event listener for the designer:
<designer:StiDesignerFx id="designerFx" left="1" top="1" right="1" bottom="1" saveReport="onSaveReport(event)" />
In the save report event of the report designer you can get the report object of the StiReport type and make the all necessary actions to save:
private function onSaveReport(event: StiDesignerEvent): void
// Get report from designer
var report: StiReport = event.report;
In the screenshot below you can see the result of the sample code.