当前位置: 动力学知识库 > 问答 > 编程问答 >

flash - Automating Process in AS3

问题描述:

I've got twenty .swf files and respectively .as extensions of them.

In each file there's my e-mail, but I don't have access to that e-mail anymore, so I want to edit each file to remove it.

Is there any way I can change my e-mail in twenty files and compile them afterwards in an automate process via some script ?

网友答案:

What OS are you using? On a Mac, if you have TextMate, you can do a find->replace in projects - http://manual.macromates.com/en/working_with_multiple_files#find_and_replace_in_projects - just open all of your .as files in one project, find/replace, save it all.

To mass-compile these, check out gSkinner's Project panel or use this method in CS4/5: http://www.lostinactionscript.com/blog/index.php/2007/04/11/how-to-bulk-publish-flas/

分享给朋友:
您可能感兴趣的文章:
随机阅读: