text stringlengths 4 1.04M |
|---|
package cmodule.lua_wrapper
{
import avm2.intrinsics.memory.li32;
import avm2.intrinsics.memory.li8;
import avm2.intrinsics.memory.si32;
public final class FSM_getrule extends Machine
{
public function FSM_getrule()
{
super();
}
pu... |
#if TMNEXT
Dossard@ dossard = null;
GUI@ gui = null;
void Main()
{
@gui = GUI();
@dossard = Dossard(gui);
}
void Update(float deltaTime)
{
dossard.Tick(deltaTime);
}
void Render()
{
if(dossard !is null && gui !is null)
{
gui.Render();
}
}
void RenderMenu()
{
if (UI::MenuItem("\\$f00" + Icons::Excl... |
package
{
import net.flashpunk.Entity;
import net.flashpunk.graphics.Tilemap;
import net.flashpunk.masks.Grid;
/**
* ...
* @author UnknownGuardian
*/
public class LavaGrid extends Entity
{
[Embed(source = "Assets/Graphics/SpriteSheets/tiles_SS.png")]private static const TILESHEET:Class;
public var ... |
#include "ChallengesCommon.as"
#include "TutorialCommon.as"
#include "MakeSign.as"
void onInit(CMap@ this)
{
SetupTutorial(this, "Archer basics tutorial");
AddIconToken("$Tutorial_Archer$", "TutorialImages.png", Vec2f(32, 32), 3);
AddIconToken("$Tutorial_Archer2$", "TutorialImages.png", Vec2f(32, 32), 4);... |
/*
Copyright 2012-2013 Renaun Erickson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
package kabam.rotmg.assets {
import mx.core.ByteArrayAsset;
[Embed(source="EmbeddedData_ShattersCXML.xml", mimeType="application/octet-stream")]
public class EmbeddedData_ShattersCXML extends ByteArrayAsset {
public function EmbeddedData_ShattersCXML() {
super();
}
}
} |
package test
{
import org.flexunit.Assert;
import flash.geom.Matrix3D;
import flash.geom.Vector3D;
public class NativeMatrix3DUnitTest
{
private var e : Number = 0.0001;
private var matrix1 : Matrix3D;
private var determinant1 : Number;
private var inverse1 : Matrix3D;
private var matrix2 : Matri... |
/*
* =BEGIN CLOSED LICENSE
*
* Copyright (c) 2013-2014 Andras Csizmadia
* http://www.vpmedia.eu
*
* For information about the licensing and copyright please
* contact Andras Csizmadia at andras@vpmedia.eu
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT N... |
package com.tinyspeck.engine.view.gameoverlay {
import com.tinyspeck.core.beacon.StageBeacon;
import com.tinyspeck.debug.Benchmark;
import com.tinyspeck.engine.control.TSFrontController;
import com.tinyspeck.engine.data.client.Activity;
import com.tinyspeck.engine.data.loading.LoadingInfo;
import com.tinyspeck.en... |
package com.tinyspeck.engine.view.ui.imagination
{
import com.tinyspeck.engine.port.AssetManager;
import com.tinyspeck.engine.port.CSSManager;
import com.tinyspeck.engine.port.QuestManager;
import com.tinyspeck.engine.util.TFUtil;
import com.tinyspeck.engine.view.ui.Cloud;
import flash.display.DisplayObject;
i... |
package kabam.rotmg.ui.view {
import flash.display.Sprite;
import kabam.rotmg.ui.view.components.PotionSlotView;
public class PotionInventoryView extends Sprite {
private static const LEFT_BUTTON_CUTS:Array = [1, 0, 0, 1];
private static const RIGHT_BUTTON_CUTS:Array = [0, 1, 1, 0];
private static const... |
package com.king.utils
{
import flash.media.Sound;
import flash.media.SoundTransform;
import flash.utils.setTimeout;
import com.king.meta.constants.SoundConstants;
public final class SoundUtil
{
public static const DEBUG:Boolean=false;
public static var DEFAULT_VOLUMN:Number = 1.0;
public function Soun... |
package com.company.assembleegameclient.objects {
import com.company.util.AssetLibrary;
import flash.display.BitmapData;
public class ImageFactory {
public function ImageFactory() {
super();
}
public function getImageFromSet(param1:String, param2:int) : Bitm... |
package utils.string
{
/**
* Generate a set of random Number characters.
*/
public function randomNumberString(amount:Number):String
{
var str:String = "";
for (var i:int = 0; i < amount; i++)
str += String.fromCharCode(Math.round(Math.random() * (57 - 48)) + 48);
return str;
}
} |
package grid {
import flash.display.Stage;
public class GridBackground extends TransparentRect {
public function GridBackground(stage:Stage) {
// constructor code
super(stage.stageWidth*3, stage.stageHeight*3);
}
}
}
|
/* See LICENSE for copyright and terms of use */
import org.actionstep.NSDictionary;
import org.actionstep.rpc.soap.ASSoapConstants;
import org.actionstep.rpc.soap.common.ASWsdlElement;
import org.actionstep.rpc.soap.common.ASWsdlOperation;
/**
* Represents a WSDL binding element. A binding describes how a port type... |
package kabam.rotmg.pets.view.components {
import kabam.rotmg.dialogs.control.OpenDialogSignal;
import kabam.rotmg.pets.data.PetSlotsState;
import kabam.rotmg.pets.data.PetsModel;
import robotlegs.bender.bundles.mvcs.Mediator;
public class PetFuserMediator extends Mediator {
[Inject]
public var view:PetFuse... |
package com.ankamagames.dofus.datacenter.items.criterion
{
import com.ankamagames.jerakine.data.I18n;
import com.ankamagames.jerakine.interfaces.IDataCenter;
public class PVPRankItemCriterion extends ItemCriterion implements IDataCenter
{
public function PVPRankItemCriterio... |
/*
Copyright 2012-2013 Renaun Erickson
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, sof... |
package nid.xfl
{
import flash.utils.ByteArray;
import nid.xfl.compiler.swf.data.SWFRectangle;
import nid.xfl.compiler.swf.SWFCompiler;
import nid.xfl.compiler.swf.SWFData;
import nid.xfl.compiler.swf.tags.TagDefineSceneAndFrameLabelData;
import nid.xfl.compiler.swf.tags.TagFileAttributes;
import nid.xfl.compil... |
package org.bigbluebutton.modules.polling.service
{
public interface IPollDataService
{
function startCustomPoll(pollId: String, pollType: String, answers:Array):void;
function startPoll(pollId:String, pollType: String):void;
function stopPoll(pollID:String):void;
function votePo... |
////////////////////////////////////////////////////////////////////////////////
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF license... |
/**
* VERSION: 1.13
* DATE: 10/2/2009
* ACTIONSCRIPT VERSION: 3.0
* UPDATES AND DOCUMENTATION AT: http://www.TweenMax.com
**/
package com.greensock.plugins {
import com.greensock.*;
/**
* ScalePlugin combines scaleX and scaleY into one "scale" property. <br /><br />
*
* <b>USAGE:</b><br /><br />
... |
package inobr.eft.vector.core
{
import flash.display.Sprite;
import flash.events.Event;
/**
* Use this class for quick build of single task with vectors.
* You must extend this class and just override initialize() method.
*
* @author Peter Gerasimenko, gpstmp@gmail.com
*/
public class Initializer exte... |
package Ankama_Cartography
{
import Ankama_Cartography.ui.BannerMap;
import Ankama_Cartography.ui.CartographyBase;
import Ankama_Cartography.ui.CartographyPopup;
import Ankama_Cartography.ui.CartographyTool;
import Ankama_Cartography.ui.CartographyTooltip;
import Ankama_Cartography.ui.Cartograp... |
package com.rails2u.utils
{
public class MathUtil
{
public static function randomPlusMinus(val:Number = 1):Number {
if (randomBoolean() ) {
return val;
} else {
return val * -1;
}
}
/*
* randomBoolean(-100, 10... |
package core.controller
{
import core.events.ControllerEvent;
import core.model.ParsedModel;
import core.model.vo.ImportVO;
import core.suppotClass._BaseCommand;
public final class ControlCommand extends _BaseCommand
{
[Inject]
public var event:ControllerEvent;
[Inject]
public var parsedModel:ParsedM... |
package away3d.animators.states
{
import away3d.animators.data.ParticlePropertiesMode;
import flash.geom.Vector3D;
import flash.display3D.Context3DVertexBufferFormat;
import away3d.arcane;
import away3d.cameras.Camera3D;
import away3d.animators.data.AnimationRegisterCache;
import away3d.animators.data.Animat... |
package org.gestouch.examples.containers
{
import spark.layouts.VerticalLayout;
import spark.components.Group;
/**
* @author Pavel fljot
*/
public class SettingsPanel extends Group
{
public function SettingsPanel()
{
super();
var layout:VerticalLayout = new VerticalLayout();
layout.paddingTo... |
import flash.external.*;
import gfx.controls.TextInput;
import gfx.controls.Button;
import gfx.controls.CheckBox;
import gfx.data.dataProvider;
import gfx.controls.DropdownMenu;
import Screens.RegisterAccountScreen;
//Billiing Infomation
class Screens.RegisterAccountScreen2 extends Screen
{
private var b... |
package org.ranapat.flatflash {
import flash.events.Event;
final public class FlatFlashErrorEvent extends Event {
public static const CREATE_BITMAP_CANVAS_ERROR:String = "CreateBitmapCanvasError";
public function FlatFlashErrorEvent(type:String) {
super(type);
}
}
} |
package com.profusiongames.notifications
{
import starling.display.Image;
import starling.display.Sprite;
import starling.textures.Texture;
/**
* ...
* @author UnknownGuardian
*/
public class EnemySign extends Sprite
{
[Embed(source = "../../../../lib/Graphics/notifications/warning.png")]private var _... |
package com.videojs.structs{
public class ExternalEventName{
public static const ON_SRC_CHANGE:String = "onsrcchange";
public static const ON_LOAD_START:String = "loadstart";
public static const ON_START:String = "playing";
public static const ON_PAUSE:String = "pause";
pub... |
//-----------------------------------------------------------------------------
package
//-----------------------------------------------------------------------------
{
//-------------------------------------------------------------------------
import flash.utils.*;
import flash.events.*;
impor... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... |
package serverProto.activity
{
import com.netease.protobuf.Message;
import com.netease.protobuf.fieldDescriptors.FieldDescriptor$TYPE_UINT32;
import com.netease.protobuf.WireType;
import com.netease.protobuf.WritingBuffer;
import com.netease.protobuf.WriteUtils;
import flash.utils.IDataInput;
impor... |
package com.demy._test.listenerview
{
import flash.utils.clearInterval;
import flash.events.Event;
import starling.events.Event;
import flash.utils.setInterval;
import flash.utils.setTimeout;
import flash.events.EventDispatcher;
import starling.events.EventDispatcher;
/**
* ...
* @author
*/
public clas... |
/*
Feathers
Copyright (c) 2012 Josh Tynjala. All Rights Reserved.
This program is free software. You can redistribute and/or modify it in
accordance with the terms of the accompanying license agreement.
*/
package feathers.core
{
/**
* A toggle associated with a specific group.
*
* @see ToggleGroup
*/
public... |
package com.playfab.MultiplayerModels
{
public class GetAssetUploadUrlResponse
{
public var AssetUploadUrl:String;
public var FileName:String;
public function GetAssetUploadUrlResponse(data:Object=null)
{
if(data == null)
return;
AssetUpl... |
package com.company.assembleegameclient.ui {
import com.company.assembleegameclient.objects.GameObject;
import com.company.assembleegameclient.objects.ObjectLibrary;
import com.company.assembleegameclient.objects.Player;
import com.company.assembleegameclient.util.PlayerUtil;
import com.company.util.MoreColorUtil;
imp... |
/*
* Copyright (C) 2013 Interactive Lab
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation
* files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy,
* modify, merge, publish,... |
package framework
{
import flash.display.DisplayObjectContainer;
import framework.controller.StartupCommand;
import org.puremvc.as3.interfaces.IFacade;
import org.puremvc.as3.patterns.facade.Facade;
/**
* ApplicationFacade 类对象负责初始化Controller(控制器),建立Command与Notification 名之间的映射;
* 并执行一个Command注册所有的 Mo... |
/*
Feathers
Copyright 2012-2020 Bowler Hat LLC. All Rights Reserved.
This program is free software. You can redistribute and/or modify it in
accordance with the terms of the accompanying license agreement.
*/
package feathers.skins
{
import feathers.core.IFeathersControl;
import feathers.core.IMeasureDisplayObject;
... |
package org.pong.mvcs.view.component
{
import org.pong.mvcs.view.AbstractSpriteView;
import starling.core.Starling;
import starling.display.Image;
import starling.events.KeyboardEvent;
/**
*
* General behavior of paddle object, abstract class that contains shared paddle functionality.
*
* @author mc
... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... |
package awaybuilder.web.view.mediators
{
import awaybuilder.controller.clipboard.events.ClipboardEvent;
import awaybuilder.controller.events.DocumentEvent;
import awaybuilder.controller.events.DocumentModelEvent;
import awaybuilder.controller.events.ErrorLogEvent;
import awaybuilder.controller.events.TextureSizeE... |
package {
import flash.display.Sprite;
public class zClass extends Sprite{
public function zClass() {
}}}
|
package
{
import feathers.controls.Alert;
import feathers.controls.Button;
import feathers.controls.NumericStepper;
import feathers.controls.PanelScreen;
import feathers.controls.TextInput;
import feathers.data.ListCollection;
import starling.core.Starling;
import starling.display.Disp... |
package view.scene.regist
{
import flash.display.*;
import flash.events.Event;
import flash.geom.*;
import flash.filters.*;
import mx.containers.*;
import mx.controls.*;
import mx.core.*;
import org.libspark.thread.Thread;
import org.libspark.thread.utils.*;
import org.libspar... |
package org.bigbluebutton.modules.screenshare.events
{
import flash.events.Event;
public class RequestToPauseSharing extends Event
{
public static const REQUEST_SHARE_PAUSE:String = "screenshare request to pause sharing event";
public function RequestToPauseSharing()
... |
package org.bigbluebutton.lib.common.utils {
public class URLParser {
protected const reg:RegExp = /(?P<protocol>[a-zA-Z]+) : \/\/ (?P<host>[^:\/]*) (:(?P<port>\d+))? ((?P<path>[^?]*))? ((?P<parameters>.*))? /x;
private var _protocol:String;
private var _host:String;
private var _port:String;
... |
package com.pirkadat.logic
{
import flash.system.LoaderContext;
import com.pirkadat.display.TrueSizeBitmap;
import flash.display.Loader;
import flash.net.URLRequest;
public class LoaderPlus extends Loader
{
public var url:String;
public function LoaderPlus()
{
super();
}
ove... |
package com.company.assembleegameclient.objects.particles {
import com.company.assembleegameclient.objects.GameObject;
import flash.geom.Point;
import kabam.rotmg.messaging.impl.data.WorldPosData;
public class CollapseEffect extends ParticleEffect {
public var center_:Point;
... |
package fairygui
{
public class GearIcon extends GearBase
{
private var _storage:Object;
private var _default:String;
public function GearIcon(owner:GObject)
{
super(owner);
}
override protected function init():void
{
_default = _owner.icon;
_storage = {};
}
override protected ... |
package as3lib.core.valid
{
import flash.display.DisplayObject;
/**
* @param
* @return
*/
public function isWeb(location:DisplayObject):Boolean {
return location.loaderInfo.url.substr(0, 4) == "http";
}
}
|
package
{
import org.flixel.*;
/**
* ...
* @author Andrew Nissen
*/
public class SetAndSettingsState extends FlxState
{
[Embed(source = "../gamebySets_NAV.png")] protected var SpriteLogo:Class;
private var SSLogo:FlxSprite;
public function SetAndSettingsState()
{
}
override p... |
package cmodule.lua_wrapper
{
public const _luaO_str2d:int = regFunc(FSM_luaO_str2d.start);
}
|
//----------------------------------------------------------------------------------------------------
// SiOPM sound channel manager
// Copyright (c) 2008 keim All rights reserved.
// Distributed under BSD-style license (see org.si.license.txt).
//-----------------------------------------------------------------... |
package Beetle.NetPackage
{
/**
* Copyright © henryfan 2013
* Created by henryfan on 13-7-30.
* homepage:www.ikende.com
* email:henryfan@msn.com
*/
import flash.utils.ByteArray;
import flash.utils.Endian;
public class Package
{
public function Package()
{
}
private var mLoading:Boolean= ... |
package SJ.Game.data.config
{
import SJ.Common.Constants.ConstResource;
import SJ.Game.data.json.Json_recharge_setting;
import engine_starling.data.SDataBase;
import engine_starling.utils.AssetManagerUtil;
import flash.utils.Dictionary;
/**
* 充值配置数据
* @author zhengzheng
*
*/
public class CJDataOfR... |
/*
PureMVC - Copyright(c) 2006-08 Futurescale, Inc., Some rights reserved.
Your reuse is governed by the Creative Commons Attribution 3.0 United States License
*/
package org.puremvc.as3.interfaces
{
/**
* The interface definition for a PureMVC Controller.
*
* <P>
* In PureMVC, an <code>IControlle... |
// Pyromancer animations (based on Waterman)
#include "PyromancerCommon.as"
#include "FireParticle.as";
#include "RunnerAnimCommon.as";
#include "RunnerCommon.as";
#include "KnockedCommon.as";
#include "RunnerTextures.as";
const f32 config_offset = -4.0f;
const string shiny_layer = "shiny bit";
void onInit(CSprite@ ... |
package kabam.rotmg.assets {
import mx.core.BitmapAsset;
[Embed(source="EmbeddedAssets_chars16x8dEncountersEmbed.png")]
public class EmbeddedAssets_chars16x8dEncountersEmbed extends BitmapAsset {
public function EmbeddedAssets_chars16x8dEncountersEmbed() {
super();
}
}
} |
////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2010 ESRI
//
// All rights reserved under the copyright laws of the United States.
// You may freely redistribute and use this software, with or
// without modification, provided you include the original copyright
// an... |
// Decompiled by AS3 Sorcerer 6.08
// www.as3sorcerer.com
//kabam.lib.console.view.ConsoleInputView
package kabam.lib.console.view
{
import flash.text.TextField;
import kabam.lib.resizing.view.Resizable;
import kabam.lib.util.StageLifecycleUtil;
import flash.text.TextFormat;
import flash.text.Tex... |
package flare.vis.operator.distortion
{
import flare.animate.Transitioner;
import flare.vis.axis.Axis;
import flare.vis.axis.CartesianAxes;
import flare.vis.data.Data;
import flare.vis.data.DataSprite;
import flare.vis.events.VisualizationEvent;
import flare.vis.operator.layout.Layout;
import flash.... |
/**
* Rndm by Grant Skinner. Jan 15, 2008
* Visit www.gskinner.com/blog for documentation, updates and more free code.
*
* Incorporates implementation of the Park Miller (1988) "minimal standard" linear
* congruential pseudo-random number generator by Michael Baczynski, www.polygonal.de.
* (seed * 16807) % 2147483647... |
package com.emmanouil.ui.message {
import flash.display.Sprite;
import flash.display.Shape;
import com.greensock.TweenLite;
import com.greensock.easing.Expo;
import com.emmanouil.core.Capabilities;
public class UIAlertControllerView extends Sprite {
private var background:Shape;
private var alert:UI... |
package com.tinyspeck.engine.view {
import com.tinyspeck.engine.port.AssetManager;
import com.tinyspeck.engine.port.TSSpriteWithModel;
import com.tinyspeck.engine.util.TFUtil;
import flash.display.DisplayObject;
import flash.display.Graphics;
import flash.display.MovieClip;
import flash.text.TextField;
publ... |
package controls.renderers {
import flash.events.Event;
import mx.controls.CheckBox;
public class CheckBoxRenderer extends CheckBox {
public function CheckBoxRenderer() {
super();
this.addEventListener(Event.CHANGE, onChangeHandler); // => Add listener to detect change in selected
}
override ... |
package spine.attachments
{
import spine.Bone;
import spine.Skeleton;
import spine.Slot;
public dynamic class VertexAttachment extends Attachment
{
public var bones:Vector.<int>;
public var vertices:Vector.<Number>;
public var worldVerticesLength:int;
... |
package asunit.runners {
import asunit.framework.TestCase;
import asunit.framework.Result;
import asunit.support.IgnoredMethod;
import flash.events.Event;
public class TestRunnerIgnoredMethodTest extends TestCase {
private var ignoredTest:Class;
private var runner:TestRunner;
... |
package exam.cmd
{
import com.tencent.morefun.framework.base.Command;
import def.PluginDef;
public class BaseExamCommand extends Command
{
public function BaseExamCommand()
{
super();
}
override public function getPluginName() : String
{
ret... |
package game.animations
{
public class AnimationLevel
{
public static const HIGHEST:int = 4;
public static const HIGHER:int = 3;
public static const HIGHT:int = 2;
public static const MIDDLE:int = 1;
public static const LOW:int = 0;
... |
package com.company.assembleegameclient.objects.particles {
import com.company.assembleegameclient.objects.GameObject;
import com.company.assembleegameclient.util.FreeList;
public class VortexEffect extends ParticleEffect {
public function VortexEffect(param1:GameObject, param2:EffectProperties) {
super()... |
package yfqian.init
{
import laya.display.Sprite;
import laya.utils.Handler;
import laya.utils.Stat;
import laya.utils.Tween;
import yfqian.yfqian_TimeCuo;
public class InitYfqian
{
public static var SaveList:Array=[];
public function InitYfqian(GoTo_Name:Object,fps:Boolean=false, lognTime:int = 2000 ){
... |
////////////////////////////////////////////////////////////////////////////////
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF license... |
////////////////////////////////////////////////////////////////////////////////
//
// Licensed to the Apache Software Foundation (ASF) under one or more
// contributor license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright ownership.
// The ASF license... |
// Decompiled by AS3 Sorcerer 6.08
// www.as3sorcerer.com
//kabam.rotmg.game.view.TextPanel
package kabam.rotmg.game.view
{
import com.company.assembleegameclient.ui.panels.Panel;
import kabam.rotmg.text.view.TextFieldDisplayConcrete;
import com.company.assembleegameclient.game.GameSprite;
import kab... |
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may ... |
package com.github.asyncmc.mojang.api.flash.api {
import org.openapitools.common.ApiInvoker;
import org.openapitools.exception.ApiErrorCodes;
import org.openapitools.exception.ApiError;
import org.openapitools.common.ApiUserCredentials;
import org.openapitools.event.Response;
import org.openapitools.common.OpenApi;
im... |
// Scene network replication example.
// This sample demonstrates:
// - Creating a scene in which network clients can join
// - Giving each client an object to control and sending the controls from the clients to the server,
// where the authoritative simulation happens
// - Controlling a physics obje... |
string clientId;
//const string baseUrl = "https://api.soundcloud.com";
const string baseUrl = "https://api-v2.soundcloud.com";
string start() {
// Return the available features.
return "";
}
// --- GET CLIENT ID ---
// Get a fresh client ID from the SoundCloud server.
// Returns an empty string if failed.
st... |
package kabam.rotmg.tooltips {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.MouseEvent;
import kabam.rotmg.core.signals.HideTooltipsSignal;
import kabam.rotmg.core.signals.ShowTooltipSignal;
public class HoverTooltipDelegate implements TooltipAble {
... |
/**
* copyright © 2010 王明凡,MyClient2引擎著作权受到法律和国际公约保护
* 使用MyClient2引擎之前必须签订"MyClient2产品-授权协议",以及遵守"MyClient2产品-授权协议"才能使用
* */
package com.myclient2.core
{
import flash.geom.Rectangle;
import com.myclient2.interfaces.IRectangle;
/**
* MRectangle按其位置(由它左上角的点 (x, y) 确定)以及宽度和高度定义的区域
* @author 王明凡
... |
package {
public class Test {}
}
var freeFunction = function() {
};
function namedFunction() {
}
trace("//freeFunction.valueOf() === freeFunction");
trace(freeFunction.valueOf() === freeFunction);
trace("//namedFunction.valueOf() === namedFunction");
trace(namedFunction.valueOf() === namedFunction); |
package sissi.components
{
import flash.display.DisplayObject;
import flash.text.TextFormat;
import sissi.core.UIComponent;
import sissi.utils.DateUtil;
public class DateChooser extends UIComponent
{
//--------------------------------------------------------------------------
//
// Properti... |
package com.tinyspeck.engine.model {
import com.tinyspeck.core.beacon.StageBeacon;
import com.tinyspeck.debug.Benchmark;
import com.tinyspeck.debug.PerfLogger;
import com.tinyspeck.engine.model.signals.AbstractPropertyProvider;
import flash.utils.Dictionary;
public class NetModel extends AbstractPropertyProvid... |
package vspmExample {
import tl.types.Singleton;
public class Config extends Singleton {
static public var HOST: String;
static public const ADD_TO_PATH_SWF: String = ""; //"swf/"
static public const NAME_SECTION_MAIN: String = "main";
static public const NAME_SECTION_SUBPAGE: String = NAME_SECTION_MA... |
package {
dynamic class LzState extends LzNode {
static var tagname:String = "state";static var __LZCSSTagSelectors:Array = ["state", "node"];static var attributes = new LzInheritedHash(LzNode.attributes);var heldArgs;var releasedconstraints;var appliedChildren;var applyOnInit:Boolean = false;var __LZpool:Array = nul... |
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package static.chplayer.source.org.mangui.hls.model {
CONFIG::LOGGING {
import org.mangui.hls.utils.Lo... |
////////////////////////////////////////////////////////////////////////////////
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
//... |
/**
* VERSION: 1.11
* DATE: 11/19/2009
* AS3 (AS2 version is also available)
* UPDATES AND DOCUMENTATION AT: http://www.TweenLite.com
**/
package com.greensock.core {
/**
* SimpleTimeline is the base class for the TimelineLite and TimelineMax classes. It provides the
* most basic timeline functionality and is us... |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... |
package
{
import flash.display.BitmapData;
import net.flashpunk.FP;
import net.flashpunk.World;
import net.flashpunk.graphics.Image;
import net.flashpunk.graphics.Text;
import net.flashpunk.utils.Input;
public class TitleWorld extends World
{
private var generator:MazeGenerator;
private var generateTick... |
package duckleg.dpad
{
import flash.events.Event;
public class DPadEvent extends Event
{
public static const TOUCH_PRESS:String = "touch_press";
public static const TOUCH_RELEASE:String = "touch_release";
public static const TOUCH_PRESS_A:String = "touch_press_a";
public static const TOUCH_RELE... |
////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2007-2010 Adobe Systems Incorporated
// All Rights Reserved.
//
// NOTICE: Adobe permits you to use, modify, and distribute this file
// in accordance with the terms of the license agreement ... |
package hall.view.replay
{
import common.event.EventCenter;
import hall.HallModule;
import hall.view.replay.item.DetailListItem;
import laya.display.Sprite;
import laya.events.Event;
import laya.ui.Button;
import laya.ui.Label;
import laya.ui.List;
import laya.utils.Handler;
import manager.UIManager... |
/**
* @exampleText
*
* <a name="ImageLoaderScaleMode"></a>
* <h1>ImageLoader and ScaleMode</h1>
*
* <p>This is an example of the <a href="http://templelibrary.googlecode.com/svn/trunk/modules/ui/doc/temple/ui/ImageLoader.html">ImageLoader</a> and ScaleMode.</p>
*
* <p><a href="http://templelibrary.googlecode... |
/**
* Copyright (C) 2008 Darshan Sawardekar.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.