ASV2011 又出新版本了

目前反编译SWF最给力的软件,又出了他的最新版本ASV 2011/04

这些更新带来了一些新的体验和实用功能详细地址

http://www.buraks.com/asv/asv2011.04_release_notes.html

1.被嵌入的LAMA压缩过的SWF就连ABC文件都能提出出来了!

比如某人用FLEX 编译器 编译了一个SWF,里面的资源是embed标签嵌入的,现在用新版ASV就可以将它们嵌入的那些资源都分类导出。

2.现在用新版ASV查看反编译以后代码的元数据标签,例如[Event] [ExcludeClass]更好的分析代码的结构。

3.更容易的自定义代码颜色和代码风格。

4.值得重点推荐的功能是快速搜索,再也不需要把所有代码导出成文件夹在进行全文检索了,这些直接在ASV内部就可以搜索到!

还有一些其他功能不一一介绍,推荐大家购买ASV最新版亲自体验一番

中文购买http://www.buraks.com/asv/cn/index.html

swfmill,替换速度慢如蜗牛的jsfl吧

当我们要把一个人物8个方向N个动作的所有位图打包成SWF的时候,JSFL是多么的慢啊……用swfmill会快很多,因为他是脱离FLASH IDE的,因为FLASH IDE集成了太多UI和功能,慢是肯定的。

我们的需求是这样的简单,仅仅是打包,那么就让专门负责打包的软件去做吧!

http://swfmill.org/

另外再推荐一个打包工具

http://code.google.com/p/swift-tool/

FLEX4 ASDOC范本

转自http://gauravj.com/blog/2009/06/asdoc-integration-with-build-scripts/
<target name="asdocgen">
		<!-- for svn users the flexTasks.jar is
			under <sdk root>/lib -->
		<available property="flexTasksJar"
			value="${sdk.dir}/lib/flexTasks.jar"
			file="${sdk.dir}/lib/flexTasks.jar"/>

		<!-- for sdk package (zip) the flexTasks.jar is
			under <sdk root>/ant/lib -->
		<available property="flexTasksJar"
			value="${sdk.dir}/ant/lib/flexTasks.jar"
			file="${sdk.dir}/ant/lib/flexTasks.jar"/>

	    <property name="FLEX_HOME" value="${sdk.dir}" />	

		<asdoc output="${output.folder}/asdoc-output"
			main-title="My asdoc main title"
			footer="<u>My custom footer.</u>"
			window-title="Custom asdoc documentation"
			left-frameset-width="300"
			failonerror="true" fork="true">

			<packages.package name="com.test"
				description="description for com.test" />

			<!-- top level class to include in asdoc.
				These should be in the source-path (src1, src2) -->
			<doc-classes/>
			<doc-classes/>

			<!-- generate asdoc for all as/mxml files in the doc-sources -->
			<doc-sources path-element="${basedir}/src3"/>

			<!-- don't try to generate asdoc for
				includeFile.as (its an include file
				and can't be independently compiled -->
			<exclude-sources path-element="${basedir}/src3/includeFile.as"/>

			<!-- source path for asdoc -->
			<compiler.source-path path-element="${basedir}/src1"/>
			<compiler.source-path path-element="${basedir}/src2"/>

			<!-- namespaces to include in asdoc -->
			<doc-namespaces uri="http://www.gauravj.com/blog/"/>

			<!-- namespace declaration for asdoc -->
			<namespace uri="http://www.gauravj.com/blog/"
			manifest="${basedir}/manifest.xml"/>

			<jvmarg line="-Xmx512m"/>
		</asdoc>
	</target>

ant svn常用命令

<svn>
  <delete>
    <fileset dir="workingcopy/deleteTest">
      <include name="**/*.del"/>
    </fileset>
  </delete>
  <commit message="commit deleted files"
       dir="workingcopy/deleteTest"/>
</svn>

<svn>
  <update dir="dir/to/update/" recurse="true" />
</svn>

[转载]用ant获得svn的版本号

在使用ant构建项目的时候,有时候需要获得当前svn的版本号,以便将该版本号打入构建的build中,这样每个build版本都有了合理的build号。
为了实现这个目标,需要使用一个库http://code.google.com/p/svntask/downloads/list。
将该项目下来后,解压出需要的jar:svnkit.jar, svntask.jar,下面就可以用ant获得svn版本了

执行ant version,就可以看到svn版本了。、
说明,your-worksapce-under-svn-control是你需要获得svn版本的目录