This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Project: ANE-Google-Analytics | |
* | |
* Author: Alessandro Bianco | |
* Website: http://alessandrobianco.eu | |
* Twitter: @alebianco | |
* Created: 23/12/12 10.42 | |
* | |
* Copyright © 2013 Alessandro Bianco | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gafConverter:ZipToGAFAssetConverter = new ZipToGAFAssetConverter(); | |
gafConverter.textureFormat = GAFGFXData.ATF; | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="Graphics Converter" default="atlasses"> | |
<property name="C:/Program Files (x86)/Adobe Gaming SDK 1.4/Utilities/ATF Tools/png2atf.exe"/> | |
<property name="graphics.souce" location="../_sources/atlasses_ready." /> | |
<property name="graphics.destanation" location="../bin/graphics" /> | |
<macrodef name="png2atf"> | |
<attribute name="from" /> | |
<attribute name="to" /> | |
<sequential> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.illuzor.antbuilddemo.interfaces { | |
public interface IGenerator { | |
function getText():String; | |
} | |
} | |
package com.illuzor.antbuilddemo.generators { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.illuzor.antbuilddemo { | |
import com.illuzor.antbuilddemo.generators.AndroidTextGenerator; | |
import com.illuzor.antbuilddemo.generators.FlashPlayerTextGenerator; | |
import com.illuzor.antbuilddemo.generators.IOSTextGenerator; | |
import com.illuzor.antbuilddemo.interfaces.IGenerator; | |
import flash.display.Sprite; | |
import flash.events.Event; | |
import flash.text.TextField; | |
import flash.text.TextFieldAutoSize; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = AntBuildDemo | |
flex.home = C:/Program Files (x86)/FlexSDK/AIR SDK | |
compile.config = /obj/AntBuildDemoConfig.xml | |
release.folder = release | |
debug.build = false | |
android.cert = cert/android/AntBuildDemo.p12 | |
android.cert.pass = fd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="AntBuildDemo" default="build.all" basedir=".."> | |
<property file="build/build.config"/> | |
<property name="asc2.compiler" value="${flex.home}/lib/mxmlc-cli.jar"/> | |
<property name="adt" value="${flex.home}/lib/adt.jar"/> | |
<property name="air.config" value="${flex.home}/frameworks/airmobile-config.xml"/> | |
<property name="flex.config" value="${flex.home}/frameworks/flex-config.xml"/> | |
<target name="build.all" depends="compile.for.player, build.for.android, build.for.ios" description="Making all builds" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property file="build/build.config"/> | |
<property name="asc2.compiler" value="${flex.home}/lib/mxmlc-cli.jar"/> | |
<property name="adt" value="${flex.home}/lib/adt.jar"/> | |
<property name="air.config" value="${flex.home}/frameworks/airmobile-config.xml"/> | |
<property name="flex.config" value="${flex.home}/frameworks/flex-config.xml"/> | |
<target name="build.all" depends="compile.for.player, build.for.android, build.for.ios" description="Making all builds" /> | |
<target name="build.for.android" depends="-compile.for.android, -make.android.apk" description="Building android apk" /> | |
<target name="build.for.ios" depends="-compile.for.ios, -make.ios.ipa" description="Building ios ipa" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="-compile.for.android" description="Compiling swf for android"> | |
<java jar="${asc2.compiler}" failonerror="true" fork="true"> | |
<arg value="-load-config+=${air.config}"/> | |
<arg value="-load-config+=${compile.config}"/> | |
<arg value="-debug=${debug.build}"/> | |
<arg value="+configname=airmobile"/> | |
<arg value="-swf-version=29"/> | |
<arg value="-define=CONFIG::flashplayer,false"/> | |
<arg value="-define=CONFIG::android,true"/> | |
<arg value="-define=CONFIG::ios,false"/> |