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
flex.path= [Path to folder containing Flex SDKs] | |
flex.sdkVersion=[The name of the Flex SDK you wish to use] | |
flex.sdkPath=${flex.path}/${flex.sdkVersion} | |
FLEX_HOME=${flex.sdkPath} | |
contentText=[This value will be overwritten by Flash Builder in the output app.xml] | |
ADB = [Path to the Android SDK ADB File] | |
ADT = ${flex.sdkPath}/bin/adt | |
cert = [Path to the cert file you wish to sign app with] |
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
component{ | |
This.name = "cfartgallery"; | |
This.ormenabled = true; | |
This.datasource = "cfartgallery"; | |
} |
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
<cf_pageWrapper> | |
<cf_uiWidget /> | |
</cf_pageWrapper> |
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"> | |
<echo message="Compiling swf"/> | |
<mxmlc file="${full path to the project File}" output="${Name for the compiled swf}"> | |
<load-config filename="${FLEX_HOME}/frameworks/airmobile-config.xml"/> | |
<source-path path-element="${FLEX_HOME}/frameworks"/> | |
<static-link-runtime-shared-libraries /> | |
<!-- Include this piece to pull in the Flex Framework or it won't compile. --> | |
<compiler.library-path dir="${FLEX_HOME}/frameworks" append="true"> | |
<include name="libs/*" /> | |
</compiler.library-path> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="AboutTime" default="" basedir="."> | |
<property file="settings.properties"/> | |
<!-- path to the flex task libraries. --> | |
<path id="flextasks.classpath"> | |
<fileset dir="${FLEX_HOME}/ant/lib"> | |
<include name="*.jar"/> | |
</fileset> |
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
protected var webView:StageWebView = new StageWebView(); | |
protected function processAuth(event:ServiceEvent):void | |
{ | |
var url:String = "http://theurl.com"; | |
webView.addEventListener(Event.COMPLETE, afterAuthLoad); | |
webView.loadURL(url); | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<s:ViewNavigatorApplication xmlns:fx="http://ns.adobe.com/mxml/2009" | |
creationComplete="init(event)" | |
xmlns:s="library://ns.adobe.com/flex/spark" > | |
<fx:Script> | |
<![CDATA[ | |
import flash.utils.clearInterval; | |
import flash.utils.setInterval; | |
import mx.events.FlexEvent; |
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
<?xml version="1.0" encoding="utf-8"?> | |
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
creationComplete="init(event)" | |
xmlns:s="library://ns.adobe.com/flex/spark" > | |
<fx:Script> | |
<![CDATA[ | |
import mx.events.FlexEvent; | |
public var closeTimer:Timer; | |
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
private const RADIUS_OF_EARTH_IN_MILES:int = 3963; | |
private const RADIUS_OF_EARTH_IN_FEET:int =20925525; | |
private const RADIUS_OF_EARTH_IN_KM:int =6378; | |
private const RADIUS_OF_EARTH_IN_M:int =6378000; | |
private function distanceBetweenCoordinates(lat1:Number,lon1:Number, | |
lat2:Number,lon2:Number, | |
units:String="miles"):Number{ | |
var R:int = RADIUS_OF_EARTH_IN_MILES; |
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
private const RADIUS_OF_EARTH_IN_MILES:int = 3963; | |
private const RADIUS_OF_EARTH_IN_FEET:int =20925525; | |
private const RADIUS_OF_EARTH_IN_KM:int =6378; | |
private const RADIUS_OF_EARTH_IN_M:int =6378000; | |
private function distanceBetweenCoordinates(lat1:Number,lon1:Number, | |
lat2:Number,lon2:Number, | |
units:String="miles"):Number{ | |
var R:int = RADIUS_OF_EARTH_IN_MILES; |
OlderNewer