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
public static function addStack():void { | |
if (!_inited) return; | |
try { | |
throw new Error("getStack"); | |
} catch (e:Error){ | |
trace (e.getStackTrace()); | |
} | |
} |
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 components { | |
/** | |
* | |
* @author Dimarik | |
* @version 1.0 | |
* @langversion 3.0 | |
* @playerversion Flash 10 | |
* @playerversion AIR 1.5 | |
* |
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 components | |
{ | |
/** | |
* | |
* @author Dimarik | |
* @version 1.0 | |
* @langversion 3.0 | |
* @playerversion Flash 10 | |
* @playerversion AIR 1.5 |
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 ru.riot.utils.net.tar { | |
import flash.display.Shape; | |
import flash.events.Event; | |
import flash.utils.IDataInput; | |
[Event(name="fileParsed", type="ru.riot.utils.net.tar.TarParserEvent")] | |
[Event(name="archiveParsed", type="ru.riot.utils.net.tar.TarParserEvent")] | |
public class StreamTarParser extends TarParser { | |
private static const BLOCK_SIZE: int = 512; | |
private static const frameListener:Shape = new Shape(); |
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
// FB | |
ClassPrototype.login = function(callback, error) { | |
if(_mod == "mobile") { | |
var url = "https://www.facebook.com/dialog/oauth?client_id=" + CONFIG.desktop.fb.id + | |
"&redirect_uri=" + window.location.protocol + "//" + window.location.hostname + "/checkfb.html" + | |
"&scope=email" + | |
"&response_type=token"+ | |
"&display=popup"; | |
location.href = url; | |
} 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
http://vk.com/share.php?url=http://riot.mail.ru/new_level.html&title=%D0%A3%20%D0%BC%D0%B5%D0%BD%D1%8F%20%D0%BD%D0%BE%D0%B2%D1%8B%D0%B9%20%D1%83%D1%80%D0%BE%D0%B2%D0%B5%D0%BD%D1%8C!%20%D0%90%D0%B9%D0%B4%D0%B0%20%D0%B2%D0%BE%D0%B5%D0%B2%D0%B0%D1%82%D1%8C!&description=%D0%AF%20%D0%BF%D0%BE%D0%BB%D1%83%D1%87%D0%B8%D0%BB%20%D0%BD%D0%BE%D0%B2%D1%8B%D0%B9%20%D1%83%D1%80%D0%BE%D0%B2%D0%B5%D0%BD%D1%8C%20%D0%B2%20RiotZone!%20%D0%9F%D1%80%D0%B8%D1%81%D0%BE%D0%B5%D0%B4%D0%B8%D0%BD%D1%8F%D0%B9%D1%81%D1%8F%20%D0%BA%D0%BE%20%D0%BC%D0%BD%D0%B5,%20%D0%BF%D0%BE%D0%B4%D0%BF%D0%B8%D1%88%D0%B8%20%D0%BA%D0%BE%D0%BD%D1%82%D1%80%D0%B0%D0%BA%D1%82%20%D0%BD%D0%B0%D0%B5%D0%BC%D0%BD%D0%B8%D0%BA%D0%B0!%20%D0%A2%D0%B5%D0%B1%D1%8F%20%D0%B6%D0%B4%D1%83%D1%82%20%D0%B6%D0%B0%D1%80%D0%BA%D0%B8%D0%B5%20%D0%B1%D0%BE%D0%B8%20%D0%B8%20%D0%BD%D0%B5%D1%81%D0%BC%D0%B5%D1%82%D0%BD%D1%8B%D0%B5%20%D0%B1%D0%BE%D0%B3%D0%B0%D1%82%D1%81%D1%82%D0%B2%D0%B0!&image=http://riot.mail.ru/black/image2/logo.jpg&noparse=true&r=794 | |
http://www.odnoklassniki.ru/dk?st. |
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
function invoke(func) { | |
riot.common.loadJS(window.location.protocol + _apiURL, function() { | |
if (_initialize < 2) { | |
_queue.push(func); | |
if (_initialize < 1) { | |
_initialize = 1; | |
var interval; | |
var f = function () { | |
if ( typeof(mailru) ) { | |
clearInterval(interval); |
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 ru.yandex.maps.pano.engine.math.utils { | |
import ru.yandex.maps.geo.GeoPoint; | |
import ru.yandex.maps.pano.engine.core.SphericalCoordinates; | |
public class CoordinatesUtil { | |
public static function sphericalFromGeoPoints(centralPoint:GeoPoint, | |
geoPoint:GeoPoint):SphericalCoordinates { | |
var distance:Number = centralPoint.distanceTo(geoPoint); | |
var azimuth:Number = centralPoint.azimuthTo(geoPoint); |
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 arp.utils { | |
import flash.display.BitmapData; | |
import flash.display.DisplayObject; | |
import flash.geom.Matrix; | |
import flash.geom.Rectangle; | |
public function getVisibleBounds(source:DisplayObject, padding:int = 0):Rectangle { | |
var matrix:Matrix = new Matrix() | |
matrix.tx = -source.getBounds(null).x + padding; | |
matrix.ty = -source.getBounds(null).y + padding; |
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
//////////////////////////////////////////////////////////////////////////////// | |
// | |
// © 2007 BlooDHounD | |
// | |
//////////////////////////////////////////////////////////////////////////////// | |
package by.blooddy.abc.swf { | |
import flash.utils.ByteArray; | |
/** |
OlderNewer