text stringlengths 4 1.04M |
|---|
package {
public class Main {
public function Main() {
1 << 1$(EntryPoint)
}
}
} |
package com.gestureworks.cml.elements
{
import com.gestureworks.cml.elements.Button;
import com.gestureworks.cml.events.StateEvent;
import com.gestureworks.cml.utils.CloneUtils;
import com.gestureworks.cml.utils.StateUtils;
import com.gestureworks.core.*;
import com.gestureworks.events.*;
import flash.display.D... |
/**
* VERSION: 1.0
* DATE: 2012-03-22
* AS3 (AS2 and JS versions are also available)
* UPDATES AND DOCS AT: http://www.greensock.com
**/
import com.greensock.easing.Ease;
/**
* See AS3 files for full ASDocs
*
* <p><strong>Copyright 2008-2014, GreenSock. All rights reserved.</strong> This work is subject to the... |
/*
* Copyright (C) 2003-2012 Igniterealtime Community Contributors
*
* Daniel Henninger
* Derrick Grigg <dgrigg@rogers.com>
* Juga Paazmaya <olavic@gmail.com>
* Nick Velloff <nick.velloff@gmail.com>
* Sean Treadway <seant@oncotype.dk>
* Sean Voisen <sean@voisen.org>
* Mark Walters <... |
package lifecycle.lifecycle.buttonexample {
import common.ColorUtil;
import flash.display.GradientType;
import flash.geom.Matrix;
import lifecycle.lifecycle.common.Component;
public class ButtonSkin extends Component {
private var _state : String;
public function set state(state : String) : void {
_stat... |
////////////////////////////////////////////////////////////////////////////////
//
// 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... |
// AS3: An empty package with no name
package {}
|
package com.mintdigital.hemlock.display{
import com.mintdigital.hemlock.utils.HashUtils;
import mx.effects.Fade;
import mx.effects.Move;
import mx.events.EffectEvent;
import flash.events.TimerEvent;
import flash.filters.BlurFilter;
import flash.geom.Matrix;
import flash.utils.Timer... |
package visuals.ui.elements.icons
{
import com.playata.framework.display.Sprite;
import com.playata.framework.display.lib.flash.FlashDisplayObjectContainer;
import com.playata.framework.display.lib.flash.FlashSprite;
import flash.display.MovieClip;
public class SymbolIconAccountSwitchGeneric extends ... |
/*
Copyright 2012 XTD Studios Ltd.
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, so... |
package net.wooga.selectors.pseudoclasses {
import net.wooga.selectors.selectoradapter.SelectorAdapter;
public class IsEmpty implements PseudoClass {
public function isMatching(subject:SelectorAdapter):Boolean {
return subject.isEmpty();
}
public function setArguments(arguments:Array):void {
if (argum... |
package laya.debug.view.nodeInfo.views
{
import laya.display.Sprite;
import laya.events.Event;
import laya.utils.Handler;
import laya.utils.Pool;
import laya.debug.tools.RenderAnalyser;
import laya.debug.view.StyleConsts;
import laya.debug.tools.ClassTool;
import laya.debug.tools.DisControlTool;
import laya.... |
/**
* The ItemSlot composes a button and a Drag target to add button-state functionality to and item with a dragTarget. This is useful when both clicking and dragging functionality is required.
@see InventorySlot For a non-button ItemSlot, see the InventorySlot.
*/
import gfx.controls.Button;
import gfx.controls... |
/////////////////////////////////////////////////////////////////////////////////////////////
//
// Copyright (c) 2013 SuperMap. All Rights Reserved.
//
// 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 ... |
package com.unhurdle.spectrum.card
{
import com.unhurdle.spectrum.SpectrumBase;
public class CoverPhoto extends SpectrumBase
{
public function CoverPhoto(src:String)
{
super();
if(src)
this.src = src;
}
private var _src:String;
public function get src():String
{
... |
/**
* Captions display management of the players MCV pattern.
*
* @author Jeroen Wijering
* @version 1.4
**/
import com.jeroenwijering.players.*;
import flash.filters.DropShadowFilter;
class com.jeroenwijering.players.CaptionsView extends AbstractView {
/** The current volume **/
private var parser:CaptionsPa... |
////////////////////////////////////////////////////////////////////////////////
//
// 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... |
package org.flexlayouts.containers {
import flash.events.MouseEvent;
import spark.components.Button;
import spark.components.SkinnableContainer;
[SkinState("opened")]
public class Drawer extends SkinnableContainer {
[SkinPart(required="false")]
public var openButton:Button;
private var _opened:Boolean = ... |
/*
Copyright aswing.org, see the LICENCE.txt.
*/
package org.aswing.table.sorter{
/**
* @author iiley
*/
public class Directive {
public var column:int;
public var direction:Number;
public function Directive(column:int, direction:Number) {
this.column = column;
this.direction = direction;
}
}
} |
/*
Copyright aswing.org, see the LICENCE.txt.
*/
package org.aswing{
import org.aswing.event.InteractiveEvent;
import org.aswing.plaf.basic.BasicSliderUI;
/**
* Dispatched when the slider's state changed.
* @see BoundedRangeModel
* @eventType org.aswing.event.InteractiveEvent.STATE_CHANGED
*/
[Event(name="sta... |
package kabam.rotmg.assets.EmbeddedAssets {
import kabam.rotmg.assets.*;
import mx.core.*;
[Embed(source="spritesheets/EmbeddedAssets_d2LofiObjEmbed_.png")]
public class EmbeddedAssets_d2LofiObjEmbed_ extends BitmapAsset {
public function EmbeddedAssets_d2LofiObjEmbed_() {
super();
return;
}
}... |
////////////////////////////////////////////////////////////////////////////////
//
// 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 li... |
////////////////////////////////////////////////////////////////////////////////
//
// 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 li... |
////////////////////////////////////////////////////////////////////////////////
// Copyright 2016 Prominic.NET, Inc.
//
// 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:/... |
package pl.asria.tools.utils
{
import flash.display.MovieClip;
import flash.display.Stage;
import flash.events.EventDispatcher;
import flash.events.EventPhase;
import flash.events.KeyboardEvent;
import flash.ui.Keyboard;
import flash.utils.Dictionary;
import flash.utils.getTimer;
import pl.asria.tools.data.ICl... |
package virtualworlds.helper.Fu.BaseClasses
{
import org.spicefactory.lib.logging.*;
import virtualworlds.helper.Fu.BaseEvents.UpdateableEvent;
// a bridge class to link all class types to a updateable class this way a class and a object can be seen as the same thing
public class UpdateableClass extends BasicCl... |
package qihoo.triplecleangame.protos {
import com.netease.protobuf.*;
import com.netease.protobuf.fieldDescriptors.*;
import flash.utils.Endian;
import flash.utils.IDataInput;
import flash.utils.IDataOutput;
import flash.utils.IExternalizable;
import flash.errors.IOError;
// @@protoc_insertion_point(imports)
... |
/**
* Copyright (c) 2014-present, ErZhuan(coco) Xie
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package coco.util
{
/**
*
* 字体辅助类
*
* @author Coco
*
*/
public class... |
/*
Copyright (c) 2012 Josh Tynjala
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, distribu... |
/*
*
* 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"); ... |
/* 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/. */
import com.adobe.test.Assert;
// var SECTION = "15.8.2.12";
// var VERSION = "";
// var TITLE = "Ma... |
/*
Copfeathers.themesTheme Josh Tynjala
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, dis... |
package flexUnitTests.as3.mongo.wire.messages
{
import as3.mongo.db.document.Document;
import as3.mongo.wire.messages.MessageFactory;
import as3.mongo.wire.messages.client.OpUpdate;
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertTrue;
public class MessageFactory_makeUpdateOpUpdateMe... |
package ascb.play
{
import ascb.util.NumberUtilities;
import ascb.util.ArrayUtilities;
public class Cards
{
private var _cdkDeck:CardDeck;
// The Cards constructor creates a deck of cards.
public function Cards()
{
_cdkDeck = new CardDeck();
}
// The deal() method needs to know the numbe... |
/* 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/. */
import com.adobe.test.Assert;
// var SECTION = "test"; // provide a document reference (ie, ECMA secti... |
// The ray tracer code in this file is written by Adam Burmister. It
// is available in its original form from:
//
// http://labs.flog.nz.co/raytracer/
//
// It has been modified slightly by Google to work as a standalone
// benchmark, but the all the computational code remains
// untouched. This file also contains a... |
; AMD64 mpn_addmul_1 optimised for Intel Haswell.
; Contributed to the GNU project by Torbjörn Granlund.
; Converted to MPIR by Alexander Kruppa.
; Copyright 2013 Free Software Foundation, Inc.
; This file is part of the GNU MP Library.
;
; The GNU MP Library is free software; you can redistribute it and/or mo... |
package com.ankamagames.dofus.network.messages.game.context.fight
{
import com.ankamagames.dofus.network.types.game.idol.Idol;
import com.ankamagames.jerakine.network.CustomDataWrapper;
import com.ankamagames.jerakine.network.ICustomDataInput;
import com.ankamagames.jerakine.network.ICustomDataOutput;
... |
package com.qcenzo.apps.album
{
import com.qcenzo.apps.album.effects.Effect;
import flash.display.BitmapData;
import flash.display.Stage;
import flash.display.Stage3D;
import flash.display3D.Context3D;
import flash.display3D.Context3DCompareMode;
import flash.display3D.Context3DProfile;
import flash... |
package com.hurrygames.grabber.vo.master
{
import com.hurrygames.grabber.vo.BaseVO;
/**
* Project : LandGrabbers
* LevelMaster
* @author 赵俊 <zhaojun@crop.the9.com>
* $Id:$
* @version 1.0
*/
public class LevelMasterVO extends BaseVO
{
/**
* 此关的普通擂主
*/
public var normalMaster:RecordVO;
... |
package idv.cjcat.stardust.twoD.display {
import idv.cjcat.stardust.common.emitters.Emitter;
import idv.cjcat.stardust.common.particles.Particle;
/**
* ...
* @author
*/
public interface IStardustSprite {
/**
* [Template Method] This method is called by the <code>StardustSpriteInit</code> initializer.... |
package kabam.rotmg.assets {
import mx.core.BitmapAsset;
[Embed(source="EmbeddedAssets_battleOryxChars16x16Embed.png")]
public class EmbeddedAssets_battleOryxChars16x16Embed extends BitmapAsset {
public function EmbeddedAssets_battleOryxChars16x16Embed() {
super();
}
}
} |
package friend.command
{
import com.tencent.morefun.framework.base.Command;
import def.PluginDef;
public class OpenFriendApplyBoxCommand extends Command
{
public function OpenFriendApplyBoxCommand()
{
super();
}
override public function getPluginName() : S... |
/*
* Tangible User Interfacer (former TouchAll) misc code.
*
* Copyright 2016 Gonçalo Amador <g.n.p.amador@gmail.com>
*
* 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
*
* ... |
package framework.view.pages.reservationCreate.component.dataGrid
{
import flash.events.Event;
import framework.model.AppModelLocator;
import framework.view.pages.reservationCreate.data.ReservationCalendarModel;
import framework.view.pages.reservationCreate.events.ReservationCalendarEvent;
impo... |
package com.codeazur.as3swf.data.consts
{
public class SoundRate
{
public static const KHZ_5:uint = 0;
public static const KHZ_11:uint = 1;
public static const KHZ_22:uint = 2;
public static const KHZ_44:uint = 3;
public static function toString(soundRate:uint):String {
switch(soundRate) {
case K... |
package com.hurlant.eval.ast
{
public interface IAstInitTarget
{
}
} |
package com.tonyfendall.cards.controller.util
{
import com.tonyfendall.cards.model.Block;
import com.tonyfendall.cards.model.Board;
import com.tonyfendall.cards.model.Card;
import com.tonyfendall.cards.model.Game;
import com.tonyfendall.cards.model.Hand;
import com.tonyfendall.cards.model.util.Colour;
im... |
////////////////////////////////////////////////////////////////////////////////
//
// 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 li... |
////////////////////////////////////////////////////////////////////////////////
//
// 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 li... |
package skins.wheelSkins
{
import flash.display.MovieClip;
public dynamic class wheel1 extends MovieClip
{
public function wheel1()
{
var _loc1_:* = true;
var _loc2_:* = false;
if(_loc1_)
{
super();
}
}
}
}
|
package mx.logging.errors
{
import mx.core.mx_internal;
use namespace mx_internal;
public class InvalidCategoryError extends Error
{
mx_internal static const VERSION:String = "4.0.0.14159";
public function InvalidCategoryError(param1:String)
{
... |
//
// $Id$
package com.threerings.msoy.client {
import flash.display.Stage;
import flash.display.StageDisplayState;
import flash.events.ContextMenuEvent;
import flash.events.Event;
import flash.events.IEventDispatcher;
import flash.external.ExternalInterface;
import flash.media.SoundMixer;
import flash.media.SoundTran... |
package {
dynamic class LzText extends $lzsc$mixin$LzFormatter$LzView {
function LzText ($0:LzNode? = null, $1:Object? = null, $2:Array? = null, $3:Boolean = false) {
super($0, $1, $2, $3)
}static var tagname:String = "text";static var __LZCSSTagSelectors:Array = ["text", "formatter", "view", "node"];static var att... |
package nid.xfl.compiler.swf.data.consts
{
public class ActionValueType
{
public static const STRING:uint = 0;
public static const FLOAT:uint = 1;
public static const NULL:uint = 2;
public static const UNDEFINED:uint = 3;
public static const REGISTER:uint = 4;
public static const BOOLEAN:uint = 5;
publ... |
package fl.controls
{
import fl.core.InvalidationType;
import fl.core.UIComponent;
import fl.events.ComponentEvent;
import flash.display.Sprite;
import flash.events.Event;
import flash.events.TextEvent;
import fl.controls.TextInput;
import flash.text.TextField;
import flash.text.TextFieldAutoSize;
import flash.text.Te... |
package com.rockdot.plugin.facebook.command {
import com.greensock.TweenLite;
import com.rockdot.core.model.RockdotConstants;
import com.rockdot.core.mvc.RockdotEvent;
import com.rockdot.plugin.facebook.airhack.FacebookAIR;
public class FBLogoutStageWebViewCommand extends AbstractFBCommand {
override public fu... |
// Decompiled by AS3 Sorcerer 6.08
// www.as3sorcerer.com
//kabam.rotmg.assets.EmbeddedAssets_santaWorkshopObjects8x8Embed_
package kabam.rotmg.assets
{
import mx.core.BitmapAsset;
[Embed(source="EmbeddedAssets_santaWorkshopObjects8x8.png")]
public class EmbeddedAssets_santaWorkshopObjects8x8Embed_ extends ... |
package org.osflash.dom.path
{
import org.osflash.dom.element.IDOMElement;
import org.osflash.dom.element.IDOMNode;
import org.osflash.dom.path.parser.expressions.DOMPathExpressionType;
import org.osflash.dom.path.parser.expressions.IDOMPathDescendantsExpression;
import org.osflash.dom.path.parser.expressions.IDOM... |
/*
* Temple Library for ActionScript 3.0
* Copyright © MediaMonks B.V.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright
... |
package kabam.rotmg.arena.view {
import flash.display.Sprite;
import flash.events.MouseEvent;
import flash.filters.DropShadowFilter;
import kabam.rotmg.arena.component.BattleSummaryText;
import kabam.rotmg.editor.view.StaticTextButton;
import kabam.rotmg.text.view.StaticTextDisplay;
import kabam.rotmg.text.view.string... |
/**
* <p>Original Author: Daniel Freeman</p>
*
* <p>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, me... |
package kabam.rotmg.promotions.signals {
import kabam.rotmg.account.core.PaymentData;
import org.osflash.signals.Signal;
public class MakeBeginnersPackagePaymentSignal extends Signal {
public function MakeBeginnersPackagePaymentSignal() {
super(PaymentData);
}
}
}
|
package gs.util
{
/**
* The ftrace function is similar to trace, except
* it prefixes the message with the function that the
* trace came from.
*
* @example
* <listing>
* import gs.util.ftrace;
* function test()
* {
* ftrace("word"); //[MainTimeline/test()] word
* }
* </listing>
*
... |
package devoron.data.core.history
{
import devoron.data.core.history.HistoryPoint;
/**
* IHistory
* @author Devoron
*/
public interface IHistory
{
function undo():void;
function redo():void;
function registerPoint(p:HistoryPoint):void;
function getPoints():Array;
}
} |
////////////////////////////////////////////////////////////////////////////////
//
// 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 li... |
package visuals.ui.elements.generic
{
import com.playata.framework.display.Sprite;
import com.playata.framework.display.lib.flash.FlashDisplayObjectContainer;
import com.playata.framework.display.lib.flash.FlashSprite;
import flash.display.MovieClip;
public class SymbolUiSliderBarSoundPackageGeneric ... |
////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2007 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 ac... |
package interactive.apartment.props.living_room
{
import interactive.base.Prop;
import starling.display.Image;
import assets.RileyApartmentAssets;
/**
* ...
* @author Shaun Stone
*/
public class LivingRoomWelcomeMatt extends Prop
{
private var matt:Image;
publi... |
package io.decagames.rotmg.supportCampaign.tooltips {
import com.company.assembleegameclient.ui.tooltip.ToolTip;
import io.decagames.rotmg.shop.ShopBuyButton;
import io.decagames.rotmg.ui.defaults.DefaultLabelFormat;
import io.decagames.rotmg.ui.labels.UILabel;
import io.decagames.rotmg.ui.sliceScaling.S... |
/* See LICENSE for copyright and terms of use */
import org.actionstep.NSEvent;
import org.actionstep.NSPoint;
import org.actionstep.NSRect;
import org.actionstep.NSWindow;
import org.actionstep.window.ASRootWindowView;
import org.aib.controls.EditableViewProtocol;
import org.aib.inspector.HelpInspector;
import org.ai... |
package openfl.filters {
/**
* @externs
* The DropShadowFilter class lets you add a drop shadow to display objects.
* The shadow algorithm is based on the same box filter that the blur filter
* uses. You have several options for the style of the drop shadow, including
* inner or outer shadow and knockout... |
/*
* Copyright (c) Heriet [http://heriet.info/].
*
*
* 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, cop... |
/*
* Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any purpose,
... |
package mx.core
{
import flash.display.Bitmap;
import flash.display.BitmapData;
import mx.utils.NameUtil;
use namespace mx_internal;
public class FlexBitmap extends Bitmap
{
mx_internal static const VERSION:String = "4.16.1.0";
public function Fl... |
/**
* MochiEvents
* Analytics and Achievements system
* @author Mochi Media+
*/
import mochi.as2.MochiEventDispatcher;
import mochi.as2.MochiServices;
class mochi.as2.MochiEvents {
public static var ACHIEVEMENT_RECEIVED:String = "AchievementReceived";
public static var ALIGN_TOP_LEFT:String = "ALIGN_TL";
... |
package cmodule.lua_wrapper
{
import avm2.intrinsics.memory.lf64;
import avm2.intrinsics.memory.li32;
import avm2.intrinsics.memory.sf64;
import avm2.intrinsics.memory.si32;
public final class FSM_checknext extends Machine
{
public static const intRegCount:int = 5;
... |
/**
* Created by varadig on 06/12/14.
*/
package core.logger.interfaces {
public interface ICoreConsole {
function appendText(entry:String):void;
function setAlpha(value:Number):void;
function show():void;
function hide():void;
function switchState():void;
}
}
|
package net.guttershark.util.collections
{
import net.guttershark.util.collections.IIterator;
import net.guttershark.util.collections.IPointerIterator;
/**
* ArrayBounceIterator provides a non-destructive, pointer-based, bouncing Array Iterator
* which iterates to the end of the array then reverses directio... |
////////////////////////////////////////////////////////////////////////////////
//
// 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... |
/**************************************************************************
Filename : TextInput_Password_MaxChars.as
Copyright : Copyright 2011 Autodesk, Inc. All Rights reserved.
Use of this software is subject to the terms of the Autodesk license
agreement provided at the time of installation or downloa... |
////////////////////////////////////////////////////////////////////////////////
//
// ADOBE SYSTEMS INCORPORATED
// Copyright 2003-2007 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 agreeme... |
/*
* The MIT License (MIT)
*
* Copyright (c) 2014. Nicolas Siver (http://siver.im)
*
* 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 ... |
////////////////////////////////////////////////////////////////////////////////
//
// 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... |
package {
import flash.display.MovieClip;
public class SpearHolder extends Wearable {
override protected function processWithDude(dude:Dude):void {
visible = dude.usingItem=="spear";
}
}
}
|
/*
Copyright 2012 DotComIt, LLC
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, software
distr... |
package {
public class Issue162 {
public function Issue162() {
var s:String = "1";
var i:int = parseInt(s);
var n:Number = parseFloat(s);
}
}
} |
/*
* Copyright (c) 2006-2007 Erin Catto http://www.gphysics.com
*
* This software is provided 'as-is', without any express or implied
* warranty. In no event will the authors be held liable for any damages
* arising from the use of this software.
* Permission is granted to anyone to use this software for any pu... |
package visuals.ui.elements.buttons
{
import com.playata.framework.display.Sprite;
import com.playata.framework.display.lib.flash.FlashDisplayObjectContainer;
import com.playata.framework.display.lib.flash.FlashSprite;
import flash.display.MovieClip;
public class SymbolButtonDuelsProgressMaskGeneric ... |
package flash.display {
import flash.events.EventDispatcher;
public class DisplayObject extends EventDispatcher {
public function DisplayObject() {
}
private var _htmlElement:HTMLElement = null;
internal function set htmlElement(n:HTMLElement):void {
_htmlElement =... |
/* AS3
Copyright 2008 NeoPets
*/
package com.neopets.projects.mvc.model
{
import com.neopets.util.events.CustomEvent;
import flash.events.*;
/**
* This is a Class for Sending Events to Various Objects within the Scope of the Project
*
* @langversion ActionScript 3.0
* @playerversion Flash 9.0
* @Pa... |
package com.fw.controller.cmds.action
{
import org.puremvc.as3.patterns.command.SimpleCommand;
public class LoginCommand extends SimpleCommand
{
public function LoginCommand()
{
super();
}
}
} |
/*
* Copyright 2011 Overstock.com and others.
*
* 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... |
///////////////////////////////////////////////////////////////////////////
// Copyright (c) 2013 Esri. All Rights Reserved.
//
// 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:... |
import templateBook.mvc.*
import templateBook.I.*
import templateBook.mvctemplate.*
import templateBook.util.Observable
import templateBook.Configuration
class templateBook.mvctemplate.Book{
var __model:BookModel
var __target:MovieClip
var __background:BackgroundView
var __bookView:BookView
var ... |
package com.janvarev.sexpression
{
public class Stream
{
private var _val:String;
private var _pos:int = 0;
public function Stream(val:String)
{
super();
this._val = val;
}
public function get peek():String{
return _val.charAt(_pos);
}
public function next():void{
_pos++;
... |
package com.zillix.zlxnape.demos
{
import com.zillix.zlxnape.BodyChain;
import com.zillix.zlxnape.BodyContext;
import com.zillix.zlxnape.BodyRegistry;
import com.zillix.zlxnape.ZlxNapeSprite;
import com.zillix.zlxnape.CallbackTypes;
import com.zillix.zlxnape.InteractionGroups;
import com.zillix.zlxnape.ColorSpri... |
table idr__ranked_peak
"IDR ranked peaks. Browser extensible data BED6+14."
(
string chrom; "Reference sequence chromosome (or contig, scaffold, etc.)"
uint chromStart; "Start position in chromosome"
uint chromEnd; "End position in chromosome"
string name; "Name ... |
package flair.utils.device
{
import flash.system.Capabilities;
/**
*
*/
public function isWindows() : Boolean
{
return Capabilities.manufacturer.toLowerCase().indexOf( "windows" ) >= 0;
}
}
|
package flare.query.methods
{
import flare.query.Query;
/**
* Create a new <code>Query</code> with the given sort criteria.
* @param terms a list of sort criteria
* @return the created query.
*/
public function orderby(...terms):Query
{
return new Query(null, null, terms);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.