-
-
[原创]对某款软件flash提取
-
发表于:
2013-3-26 07:33
8491
-
前言略,直接分析
/**************FlashMainForm*********************/
public class FlashMainForm : Form
{
// Fields
private IContainer components = null;
private AxShockwaveFlash MyFlash;
private Timer timer1;
// Methods
public FlashMainForm()
{
this.InitializeComponent();
}
private string CalSource(string c, string p, string sp)
{
string str = @"myResources\flashs\";
if (c != "")
{
str = str + c + @"\";
}
if (p != "")
{
str = str + p + @"\";
}
if (sp != "")
{
str = str + sp + @"\";
}
return (str + "flash.ec");
}
protected override void Dispose(bool disposing)
{
if (disposing && (this.components != null))
{
this.components.Dispose();
}
base.Dispose(disposing);
}
private void MyFlash_FSCommand(object sender, _IShockwaveFlashEvents_FSCommandEvent e)
{
GlobalClass class2;
switch (e.command)
{
case "找影*":
GlobalClass.IsRuiGame = true;
new Resolution().ChangeRes(800, 600);
GlobalClass.FlashImageDirectory = Application.StartupPath + @"\Course\找影*\";
GlobalClass.FlashImagePath = GlobalClass.FlashImageDirectory + "0.jpg";
GlobalClass.FlashFieldPath = GlobalClass.FlashImageDirectory + "FIELD.EC";
GlobalClass.FlashGamePath = GlobalClass.FlashImageDirectory + "GAME.EC";
class2 = new GlobalClass();
if (!class2.IsAllReady())
{
MessageBox.Show("该课件缺少文件,请重新安装");
break;
}
new FlashForm().ShowDialog();
break;
case ......
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课