This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
-define+=CONFIG::flashplayer,true | |
-define+=CONFIG::android,false | |
-define+=CONFIG::ios,false |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 rotator:Rotator = new Rotator(rotatorBitmap.bitmapData, new Rectangle(0, 0, 32, 32)); | |
addChild(rotator); |
This file contains hidden or 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.display { | |
import flash.display.Bitmap; | |
import flash.display.BitmapData; | |
import flash.display.Sprite; | |
import flash.events.TimerEvent; | |
import flash.geom.Point; | |
import flash.geom.Rectangle; | |
import flash.utils.Timer; | |