| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 
 | var inputPath = \"file:///E|/work/war_test/bin-debug/fla/fight/\";var exportPath=\"file:///E|/work/war_test/bin-debug/swf/fight/\";
 fl.trace(inputPath);
 //封装成一个函数
 function IOExecute(flaName,swfName){
 //打开需要导出的fla源文件
 var fla=fl.openDocument(inputPath + flaName);
 //导出影片
 fla.exportSWF(exportPath + swfName,false);
 //关闭源文件
 fl.closeDocument(fl.documents[0],false);
 }
 //执行函数
 /_IOExecute(\"am.fla\",\"am.swf\");
 IOExecute(\"index.fla\",\"index.swf\");
 IOExecute(\"navi_link.fla\",\"navi_link.swf\");
 IOExecute(\"night.fla\",\"night.swf\");
 IOExecute(\"nightfall.fla\",\"nightfall.swf\");
 IOExecute(\"products.fla\",\"products.swf\");
 IOExecute(\"products_loader.fla\",\"products_loader.swf\");_/
 IOExecute(\"战步兵-近卫步兵.fla\",\"f4.swf\");
 IOExecute(\"战步兵-猎兵.fla\",\"f2.swf\");
 IOExecute(\"战步兵-燧发枪兵.fla\",\"f1.swf\");
 IOExecute(\"战步兵-医务兵.fla\",\"f3.swf\");
 IOExecute(\"战步兵-掷弹兵.fla\",\"f5.swf\");
 IOExecute(\"战炮兵-长管炮兵.fla\",\"f12.swf\");
 IOExecute(\"战炮兵-短重炮兵.fla\",\"f13.swf\");
 IOExecute(\"战炮兵-攻城炮兵.fla\",\"f14.swf\");
 IOExecute(\"战炮兵-加农炮兵.fla\",\"f11.swf\");
 IOExecute(\"战炮兵-巨炮兵.fla\",\"f15.swf\");
 IOExecute(\"战骑兵-皇家骑兵.fla\",\"f8.swf\");
 IOExecute(\"战骑兵-猎骑兵.fla\",\"f6.swf\");
 IOExecute(\"战骑兵-龙骑兵.fla\",\"f10.swf\");
 IOExecute(\"战骑兵-轻骑兵.fla\",\"f7.swf\");
 IOExecute(\"战骑兵-重骑兵.fla\",\"f9.swf\");
 
 
 
 
 
 IOExecute(\"战船-单桅商船.fla\",\"f16.swf\");
 IOExecute(\"战船-双桅横帆船.fla\",\"f17.swf\");
 IOExecute(\"战船-纵帆船.fla\",\"f18.swf\");
 IOExecute(\"战船-双桅纵横帆帆船.fla\",\"f19.swf\");
 IOExecute(\"战船-三桅战船.fla\",\"f20.swf\");
 IOExecute(\"战船-巡航战船.fla\",\"f21.swf\");
 IOExecute(\"战船-海盗船王.fla\",\"f22.swf\");
 
 
 |