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 var _mrgsMetrics:Object = { | |
MetricType.NOT_GOOGLE_AUTH : 425, | |
MetricType.FIRST_RACE_START : 426, | |
MetricType.SECOND_RACE_FINISH : 427, | |
MetricType.FIRST_CAR_BUY : 428, | |
MetricType.THIRD_RACE_FINISH : 429, | |
MetricType.FIRST_QUEST_FINISH : 430, | |
MetricType.TUTOR_FINISHED : 431, | |
MetricType.LEVEL_UP : 432, | |
MetricType.FIRST_CAR_UPGRADE : 433, |
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 function handler_androidRelaunch( event:Event ):void { | |
NativeApplication.nativeApplication.removeEventListener( Event.DEACTIVATE, handler_androidRelaunch ); | |
var id:String = NativeApplication.nativeApplication.applicationID; | |
if (_useAirPrefix) id = "air." + id; | |
var url:String = "intent:#Intent;" + | |
"action=android.intent.action.MAIN;" + | |
"category=android.intent.category.LAUNCHER;" + | |
"component=" + id + "/.AppEntry;" + | |
"end"; | |
navigateToURL(new URLRequest(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="ISO-8859-1"?> | |
<project name="MyProject" basedir="." default="main"> | |
<property name="fs.dir" value="../racemania/lib/graphics/gui/daily"/> | |
<property name="fs.includes" value="*"/> | |
<property name="fs.excludes" value="**/*.tmp"/> | |
<target name="main"> | |
<script language="javascript"> <![CDATA[ | |
importPackage(java.io); | |
//importClass(java.io.File); | |
importClass(java.security.MessageDigest); |
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="ISO-8859-1"?> | |
<project name="MyProject" basedir="." default="main"> | |
<property name="fs.dir" location="../racemania/lib/graphics/gui/"/> | |
<!-- <property name="fs.includes" value="*"/> --> | |
<property name="fs.excludes" value="**/modding/**"/> | |
<property name="rewriter" value="rewriter.json"/> | |
<property name="output.dir" location="bin-debug/lib"/> | |
<property name="output.release.temp.dir" location="bin-release-temp/lib"/> | |
<target name="main"> |
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
/* | |
Copyright (c) 2011, Adobe Systems Incorporated | |
All rights reserved. | |
Redistribution and use in source and binary forms, with or without | |
modification, are permitted provided that the following conditions are | |
met: | |
* Redistributions of source code must retain the above copyright notice, | |
this list of conditions and the following disclaimer. |
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"?> | |
<ivy-module version="2.0"> | |
<info organisation="ru.yandex.flash" module="streetview-player"> | |
<description> | |
streetview-player | |
</description> | |
</info> | |
<dependencies> |
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
class Main extends Sprite | |
{ | |
private var shape:Shape; | |
public function new() | |
{ | |
super(); | |
#if iphone | |
Lib.current.stage.addEventListener(Event.RESIZE, init); | |
#else |
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 static var MAXIMUM_POOL_LENGTH:uint = 5000; | |
private static var POOL:Array = []; | |
public function SphericalCoordinates(azimuth:Number = 0, elevation:Number = 0, | |
radius:Number = 1) { | |
this.elevation = elevation; | |
this.azimuth = azimuth; | |
this.radius = radius; | |
} |
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
чем | |
f | |
.func1().v2() | |
.func3().v3() | |
.func2() | |
отличается от | |
f | |
.func1() as Fluent3 | |
.func3() as Fluent2 |
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 function loader_completeHandler(event:Event):void { | |
var loaderInfo:LoaderInfo = event.currentTarget as LoaderInfo; | |
var bytes:ByteArray = loaderInfo.bytes; | |
var definitionFinder:DefinitionFinder = new DefinitionFinder(bytes); | |
var definitions:Array = definitionFinder.getDefinitionNames(); | |
log(" defs:\r" + String(definitions)); | |
for (var i:int = 0; i < definitions.length; i++) { | |
var defName:String = definitions[i]; |