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="build.ane" description="Making ane file"> | |
<exec executable="${FLEX_HOME}/bin/adt.bat" failonerror="true"> | |
<arg value="-package"/> | |
<arg value="-target"/> | |
<arg value="ane"/> | |
<arg value="ane_ready_for_use/com.illuzor.extensions.NotificationExtension.ane"/> | |
<arg value="temp/ane/extension.xml"/> | |
<arg line="-swc"/> | |
<arg line="temp/ane/notifExtLib.swc"/> | |
<arg line="-platform Android-ARM -C temp/ane/android/ ."/> |
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.jar" description="Making jar lib"> | |
<javac | |
failonerror="true" | |
destdir="temp/java_classes" | |
classpath="${fre.lib}:${android.lib}" | |
source="1.6" target="1.6" | |
includeantruntime="false" | |
bootclasspath="${java_rt.lib}"> | |
<src path="${java.classes}"/> | |
</javac> |
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="make.dirs" description="Making temp folders"> | |
<delete dir="ane_ready_for_use"/> | |
<mkdir dir="ane_ready_for_use"/> | |
<mkdir dir="temp"/> | |
<mkdir dir="temp/java_classes/"/> | |
<mkdir dir="temp/libs/"/> | |
<mkdir dir="temp/ane/"/> | |
<mkdir dir="temp/ane/android/"/> | |
<mkdir dir="temp/ane/default/"/> | |
</target> |
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 name="FLEX_HOME" value="C:/Program Files (x86)/FlexSDK/4.11.0/"/> | |
<!-- Write your Flex SDK path--> | |
<property name="android.lib" value="C:/Program Files (x86)/Android SDK/sdk/platforms/android-18/android.jar" /> | |
<!-- Write your android.jar path--> | |
<property name="java_rt.lib" value="C:/Program Files (x86)/Java/jdk1.6.0_45/jre/lib/rt.jar" /> | |
<!-- Write your JDK 1.6 rt.jar path--> | |
<property name="fre.lib" value="${FLEX_HOME}/lib/android/FlashRuntimeExtensions.jar" /> | |
<property name="java.classes" value="source_java/src/" /> | |
<property name="as.classes" value="source_as3/" /> | |
<property name="extension.id" value="com.illuzor.extensions.NotificationExtension" /> |
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
<script> | |
var flashvars = { | |
}; | |
var params = { | |
menu: "false", | |
scale: "noScale", | |
allowFullscreen: "true", | |
allowScriptAccess: "always", | |
bgcolor: "", | |
wmode: "transparent" |
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 { | |
import constants.ScreenType; | |
import events.GameEvent; | |
import flash.desktop.NativeApplication; | |
import flash.display.Sprite; | |
import flash.display.StageAlign; | |
import flash.display.StageScaleMode; | |
import flash.events.Event; | |
import flash.events.TouchEvent; |
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 screens { | |
import com.adobe.nativeExtensions.Vibration; | |
import constants.ItemType; | |
import elements.Button; | |
import elements.Item; | |
import elements.Platform; | |
import events.GameEvent; | |
import flash.display.Sprite; | |
import flash.events.Event; |
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 { | |
import constants.ScreenType; | |
import events.GameEvent; | |
import flash.desktop.NativeApplication; | |
import flash.display.Sprite; | |
import flash.display.StageAlign; | |
import flash.display.StageScaleMode; | |
import flash.events.Event; | |
import flash.events.TouchEvent; |