protected override string Export() { NFlashExporter exporter = new NFlashExporter(document); string fileName = Path.Combine(Application.StartupPath, "test.swf"); exporter.SaveToFile(fileName); return(fileName); }
private void btnGenerateSwf_Click(object sender, System.EventArgs e) { NFlashExporter flashExporter = new NFlashExporter(document); string fileName = Path.Combine(Application.StartupPath, "test.swf"); flashExporter.SaveToFile(fileName); Process.Start(fileName); }