Skip to content

Instantly share code, notes, and snippets.

@illuzor
Created August 17, 2015 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save illuzor/fbe74831b4c839577df4 to your computer and use it in GitHub Desktop.
Save illuzor/fbe74831b4c839577df4 to your computer and use it in GitHub Desktop.
<target name="compile.for.player" description="Compiling swf for flashplayer">
<java jar="${asc2.compiler}" failonerror="true" fork="true">
<arg value="-load-config+=${flex.config}"/>
<arg value="-load-config+=${compile.config}"/>
<arg value="-debug=${debug.build}"/>
<arg value="-swf-version=29"/>
<arg value="-define=CONFIG::flashplayer,true"/>
<arg value="-define=CONFIG::android,false"/>
<arg value="-define=CONFIG::ios,false"/>
</java>
<move file="src/com/illuzor/antbuilddemo/Main.swf" tofile="${release.folder}/SWF_for_player.swf"/>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment