Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Actionscript 3 需要跨几个文件设置版本或内部版本号_Actionscript 3_Flash_Actionscript_Flashdevelop - Fatal编程技术网

Actionscript 3 需要跨几个文件设置版本或内部版本号

Actionscript 3 需要跨几个文件设置版本或内部版本号,actionscript-3,flash,actionscript,flashdevelop,Actionscript 3,Flash,Actionscript,Flashdevelop,我正在寻找一种方法,使用Flashdevelop在几个文件中设置一个版本或内部版本号以匹配。我希望这样,在我构建我的项目之前,我可以在所有感兴趣的文件中同时快速设置这个版本号,而无需打开每个文件,选择并粘贴新值 在我的主AS文件中,我有一个如下的变量集: private var版本:String=“1.2.3.4” 在另外两个XML文件中,我希望显示相同的版本号,可能类似于: 文件1: 文件2: 我这样做是为了快速确定XMLs的版本和SWF的版本 理想情况下,我希望有一种快速的Flash

我正在寻找一种方法,使用Flashdevelop在几个文件中设置一个版本或内部版本号以匹配。我希望这样,在我构建我的项目之前,我可以在所有感兴趣的文件中同时快速设置这个版本号,而无需打开每个文件,选择并粘贴新值

在我的主AS文件中,我有一个如下的变量集:

private var版本:String=“1.2.3.4”

在另外两个XML文件中,我希望显示相同的版本号,可能类似于:

文件1:


文件2:


我这样做是为了快速确定XMLs的版本和SWF的版本

理想情况下,我希望有一种快速的Flashdevelop方法来执行这项任务,但我愿意接受针对不同应用程序和方法的建议

下面是我目前在FlashDevelop中作为宏使用的暴力方法,它首先突出显示版本号文本,然后执行宏

闪烁命令|复制
编辑| folder1\file1.xml
闪烁命令|文档开始
闪烁命令|下线
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令|粘贴
编辑| folder2\file2.xml
闪烁命令|文档开始
闪烁命令|下线
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令|粘贴
编辑| folder3\file3.xml
闪烁命令|文档开始
闪烁命令|下线
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightEnd
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令| WordRightExtend
闪烁命令|粘贴


这是一个灵长类插件,但目前似乎还可以使用。

查看第三方插件列表:


无论是AutoVersion还是Version都可以做到这一点——我以前使用过AutoVersion,除了一些bug(即在创建接口文件时),它完成了这项工作。但不确定它是否适用于多个文件,谢谢。我去看看。现在我正在使用一个蛮力宏方法,它似乎正在工作。我正在把它添加到我的帖子中。