//单个资源文件的打包
var qualityValue=80;
var log="";
var resourcePath=fl.browseForFolderURL("请选择素材路径:");
var sourcePath="file:///D|/img/";
function main(){
//createSwf(sourcePath);
createSwf(resourcePath);
}
function clearFla(){
var fileList=FLfile.listFolder(resourcePath+"/"+"*.fla");
var fc=fileList.length;
for(var i=0;i 0){
fl.trace(frameCount);
for(var i=0;i1