/** * 将采用平台特有格式的文件名转换为 file:/// URL * @param path 路径(str) */ function file_toPath (path) { if (file_isUrl(path)) { return path; } else { path = path.split("\").join("/").split(":").join("|"); return mainURL = "file:///" + path; //return FLfile.platformPathToURI(path); } } newFlaURLNew = outPutUrl + "" + bsName+".fla"; if (FLfile.exists(newFlaURLNew)) { FLfile.remove(newFlaURLNew); } file_newFile(newFlaURLNew); FLfile.copy(newFlaURL, newFlaURLNew);