Documentation for classes includes syntax, usage information, and code samples for methods, properties, and event handlers and listeners for those APIs that belong to a specific class in ActionScript. The classes are listed alphabetically. If you are not sure to which class a certain method or property belongs, you can look it up in the Index.
Class | Package | Description | |
---|---|---|---|
AbstractControl
| com.whirled | The abstract base class for all controls and subcontrols. | |
AbstractSubControl
| com.whirled | Abstract base class. | |
ActorControl
| com.whirled | Defines actions, accessors and callbacks available to all in-world mobiles. | |
AgentSubControl
| com.whirled.avrg | Provides AVR game clients a way to communicate to their server agent. | |
AlphaFade
| com.threerings.display | An Animation that linearly transitions the alpha attribute of a given display object from one value to another and optionally executes a callback function when the transition is complete. | |
Animation
| com.threerings.display | ||
AnimationImpl
| com.threerings.display | ||
AnimationManager
| com.threerings.display | Manages animations. | |
ArrayUtil
| com.threerings.util | Contains methods that should be in Array, but aren't. | |
Assert
| com.threerings.util | Simple implementation of assertion checks for debug environments. | |
AudioPlayer
| com.threerings.media | Implemented by audio-playing backends. | |
AvatarControl
| com.whirled | Defines the mechanism by which avatars interact with the world view. | |
AVRGameAvatar
| com.whirled.avrg | Describes the current state of a player's avatar for an AVRG client or server agent. | |
AVRGameControl
| com.whirled.avrg | This file should be included by AVR game clients so that they can communicate with their server agent and the whirled. | |
AVRGameControlEvent
| com.whirled.avrg | Conveys information about a change to the state of an AVR game. | |
AVRGamePlayerEvent
| com.whirled.avrg | Conveys information about a change to the state of a particular player in an AVR game. | |
AVRGameRoomEvent
| com.whirled.avrg | Conveys information about a change to the state of a particular room in an AVR game. | |
AVRServerGameControl
| com.whirled.avrg | This file should be included by the server agents of AVR games so that they can communicate with the whirled. | |
BackdropControl
| com.whirled | Used to create room backdrops. | |
BackgroundJPGEncoder
| com.threerings.display | Class that will encode a jpeg in the background and fire an event when it's done. | |
BagsSubControl
| com.whirled.game | Contains 'bags' game services. | |
BaseDataPack
| com.whirled | A DataPack is a bundle of stored goodies for use by your game, avatar, or other whirled creation. | |
ByteEnum
| com.threerings.util | An enum value that can be persisted as a byte. | |
CameraSnapshotter
| com.threerings.display | ||
ClassUtil
| com.threerings.util | Class related utility methods. | |
ClearingTextField
| com.threerings.text | A simple TextField with a method for setting text that will auto-clear. | |
Cloneable
| com.threerings.util | Implemented by objects that support creating a clone. | |
CoinsAwardedEvent
| com.whirled.game | Dispatched to let a game know when the player has been awarded coins. | |
ColorMatrix
| com.threerings.display | ||
ColorUtil
| com.threerings.display | Color utility methods. | |
Command
| com.threerings.util | Contains a simple binding function to bind events to commands. | |
CommandEvent
| com.threerings.util | ||
Comparable
| com.threerings.util | Implemented by classes whose instances have a natural ordering with respect to each other. | |
Comparators
| com.threerings.util | Contains sorting Comparators. | |
ComparisonChain
| com.threerings.util | A utility for performing a "lazy" chained comparison statement, which performs comparisons only until it finds a nonzero result. | |
Config
| com.threerings.util | ||
ControlEvent
| com.whirled | An Event dispatched on controls (AvatarControl, PetControl...) to indicate that something has happened. | |
Controller
| com.threerings.util | ||
DataPack
| com.whirled | A DataPack is a bundle of stored goodies for use by your game, avatar, or other whirled creation. | |
DateUtil
| com.threerings.util | Utility for dates. | |
DefaultValueMap
| com.threerings.util.maps | A Map that returns the specified default value for missing keys, rather than returning undefined. | |
DelayUtil
| com.threerings.util | A simple way to delay invocation of a function closure by one or more frames. | |
DictionaryMap
| com.threerings.util.maps | An implemention of Map that uses a Dictionary internally for storage. | |
DisablingButton
| com.threerings.display | A SimpleButton subclass that includes a disabledState. | |
DisplayUtil
| com.threerings.display | ||
Easing
| com.threerings.display | Some easing functions. | |
ElementChangedEvent
| com.whirled.net | An event dispatched when a single element is updated in an Array or Dictionary property as a result of calling setAt() or setIn(). | |
EntityControl
| com.whirled | Handles services that are available to all entities in a room. | |
Enum
| com.threerings.util | Base enum class for actionscript. | |
Equalable
| com.threerings.util | Implemented by classes that can have separate instances indicate that they are equal. | |
EventHandlerManager
| com.threerings.util | A class for keeping track of event listeners and freeing them all at a given time. | |
ExpiringMap
| com.threerings.util.maps | A map that will automatically expire elements. | |
FileUtil
| com.threerings.util | ||
FilterUtil
| com.threerings.display | Useful utility methods that wouldn't be needed if the flash API were not so retarded. | |
FloatingTextAnimation
| com.threerings.display | ||
FlvVideoPlayer
| com.threerings.media | ||
FPSDisplay
| com.threerings.text | ||
Framerate
| com.threerings.util | ||
FrameSprite
| com.threerings.display | Convenience superclass to use for sprites that need to update every frame. | |
FurniControl
| com.whirled | This file should be included by furniture, so that it can communicate with the whirled. | |
GameContentEvent
| com.whirled.game | Dispatched when content-related events happen. | |
GameControl
| com.whirled.game | Used to coordinate game state and control your multiplayer game. | |
GameSubControl
| com.whirled.game | Access game-specific controls. | |
GameSubControlBase
| com.whirled.avrg | Provides AVR game services for server agents and clients. | |
GameSubControlClient
| com.whirled.avrg | Provides AVR client game services. | |
GameSubControlServer
| com.whirled.avrg | Provides services for AVR game server agents. | |
GraphicsUtil
| com.threerings.display | ||
Hashable
| com.threerings.util | Builds upon the Equalable interface to allow instances to be stored efficiently in Maps or Sets. | |
HashMap
| com.threerings.util.maps | Objects that implement Hashable, Strings, and null may be used as keys. | |
ImageUtil
| com.threerings.display | Image and Bitmap related utility functions. | |
ImmutableMap
| com.threerings.util.maps | A map that throws IllegalOperationError is thrown if any mutating methods are called. | |
ImmutableProxyObject
| com.threerings.util | Acts like the passed-in Object, but prevents modifications. | |
JavascriptLogTarget
| com.threerings.util | Writes to the Javascript console in Web Inspector in Safari, Firebug in Firefox and IE 8's Developer Tools. | |
Joiner
| com.threerings.util | ||
JPGEncoder
| com.threerings.display | Class for compressing bitmaps into jpegs. | |
KeyboardCodes
| com.threerings.ui | Keycode constants. | |
KeyRepeatLimiter
| com.threerings.ui | A very simple class that adapts the KeyboardEvents generated by some source and altering (or blocking) the key repeat rate. | |
LinearAnimation
| com.threerings.display | An Animation that linearly transitions from one value to another and optionally executes a callback function when the transition is complete. | |
LineSegment
| com.threerings.util | Merely a typed container for two Points. | |
LoaderUtil
| com.threerings.display | Contains a utility method for safely unloading a Loader. | |
LobbyClosedEvent
| com.whirled.game | Dispatched if the player closes the game lobby. | |
LocalSubControl
| com.whirled.avrg | Defines actions, accessors and callbacks available on the client only. | |
LocalSubControl
| com.whirled.game | Provides access to the 'local' game services. | |
Log
| com.threerings.util | A simple logging mechanism. | |
LogTarget
| com.threerings.util | A very simple Logging interface used by Log. | |
LoopbackGameControl
| com.whirled.game.loopback | ||
LRMap
| com.threerings.util.maps | A Map that disposes of key/value mappings that were least-recently used or inserted after filling up. | |
MailUtil
| com.threerings.util | Utility methods relating to the electronic mails. | |
Map
| com.threerings.util | A Map is an object that maps keys to values. | |
MapBuilder
| com.threerings.util.maps | Builds Maps. | |
MapProxyObject
| com.threerings.util | Makes a Map behave like an object. | |
Maps
| com.threerings.util | Factory methods for creating various Maps. | |
MapSet
| com.threerings.util.sets | A Set that uses a Map for backing store, thus allowing us to build on the various Maps in useful ways. | |
MathUtil
| com.threerings.util | Collection of math utility functions. | |
MediaContainer
| com.threerings.media | A wrapper class for all media that will be placed on the screen. | |
MediaPlayer
| com.threerings.media | Implemented by media-playing backends. | |
MediaPlayerCodes
| com.threerings.media | ||
MenuUtil
| com.threerings.ui | ||
MessageReceivedEvent
| com.whirled.net | Dispatched on the 'net' subcontrol when a message is sent by any client. | |
MessageSubControl
| com.whirled.net | Provides message passing functionality to a set of listener(s), e.g. | |
MobSubControlBase
| com.whirled.avrg | Provides a means of accessing and controlling a previously spawned MOB. | |
MobSubControlClient
| com.whirled.avrg | Provides clients with a means of accessing and controlling a previously spawned MOB. | |
MobSubControlServer
| com.whirled.avrg | Provides the server agent with a means of controlling a previously spawned MOB. | |
Mp3AudioPlayer
| com.threerings.media | ||
MultiLoader
| com.threerings.util | Easy loader for many things, including managing multiple downloads. | |
NamedValueEvent
| com.threerings.util | A handy event for dispatching a name/value pair associated with the event type. | |
NetConstants
| com.whirled.net | ||
NetSubControl
| com.whirled.game | Provides access to 'net' game services. | |
NetUtil
| com.threerings.util | ||
ObserverList
| com.threerings.util | ||
OccupantChangedEvent
| com.whirled.game | Dispatched when an occupant enters or leaves. | |
OfflinePlayerPropertyControl
| com.whirled.avrg | ||
ParameterUtil
| com.threerings.util | A utility for loading parameters from an XML file when run from the local filesystem. | |
PartySubControl
| com.whirled.party | Provides services on a particular party. | |
PetControl
| com.whirled | Defines actions, accessors and callbacks available to all Pets. | |
PlayerSubControl
| com.whirled.game | Provides access to 'player' game services. | |
PlayerSubControlBase
| com.whirled.avrg | Provides services for a single player of an AVRG to the server agent and client. | |
PlayerSubControlClient
| com.whirled.avrg | Provides services for the client's player of an AVRG. | |
PlayerSubControlServer
| com.whirled.avrg | Provides the server agent for an AVR game with services related to a single player. | |
Preconditions
| com.threerings.util | Utility functions for checking function parameters and throwing appropriate errors. | |
Predicates
| com.threerings.util | Predicates suitable for Array.filter() and other needs. | |
PropControl
| com.whirled.avrg | Defines actions, accessors and callbacks available to all Props. | |
PropertyChangedEvent
| com.whirled.net | Property change events are dispatched after the property change was validated on the server. | |
PropertyGetSubControl
| com.whirled.net | Provides the ability to read game state in the form of named properties which are automatically shared between players and, potentially, the server agent. | |
PropertySubControl
| com.whirled.net | ||
Random
| com.threerings.util | A seedable pseudorandom generator of the Mersenne Twister variety, with an extremely long period. | |
RandomUtil
| com.threerings.util | Random Random utilities. | |
RingBuffer
| com.threerings.util | ||
RoomSubControlBase
| com.whirled.avrg | Provides AVR services for a single room to clients and server agents. | |
RoomSubControlClient
| com.whirled.avrg | Provides AVR services for a client player's current room. | |
RoomSubControlServer
| com.whirled.avrg | Provides AVR services for a single room to server agents only. | |
ScalingMediaContainer
| com.threerings.media | ||
SeatingSubControl
| com.whirled.game | Access seating information for a seated game. | |
ServerObject
| com.whirled | Superclass for all server agents. | |
ServicesSubControl
| com.whirled.game | Provides access to 'services' game services. | |
Set
| com.threerings.util | A Set contains unique instances of objects. | |
SetBuilder
| com.threerings.util.sets | Builds Sets. | |
Sets
| com.threerings.util | Factory methods for creating Sets. | |
SimpleIconButton
| com.threerings.ui | Takes a BitmapData and makes a button that brightens on hover and depresses when pushed. | |
SimpleSkinButton
| com.threerings.ui | A simple skin that shifts the text in the down state. | |
SimpleTextButton
| com.threerings.ui | Displays a simple button with a rounded rectangle or rectangle for a face. | |
SimpleVideoDisplay
| com.threerings.media | An extremely simple video display. | |
Siner
| com.threerings.display | Tracks multiple sine waves with different periods and amplitudes, and returns an instantaneous additive amplitude. | |
SiningTextAnimation
| com.threerings.display | ||
SizeChangedEvent
| com.whirled.game | Dispatched when the size of the game area changes, for example as a result of the user resizing their browser window. | |
SortedMap
| com.threerings.util.maps | A sorted Map implementation. | |
StateChangedEvent
| com.whirled.game | Dispatched when the state of the game has changed. | |
StringUtil
| com.threerings.util | Contains useful static function for performing operations on Strings. | |
TargetedSubControl
| com.whirled | Superclass for controls that are instantiated in association with a specific target, e.g. | |
TextCharAnimation
| com.threerings.display | ||
TextFieldUtil
| com.threerings.text | ||
Throttle
| com.threerings.util | A throttle is used to prevent code from attempting a particular operation too often. | |
TimeBuffer
| com.threerings.util | A data structure that keeps a list of objects, timestamped at the time they were added to the buffer. | |
ToyControl
| com.whirled | Used to create Toys: interactive furniture, usually with some shared state. | |
UIConstants
| com.whirled.avrg | Contains constants for use with LocalSubControl methods. | |
UserChatEvent
| com.whirled.game | Dispatched when a player speaks. | |
Util
| com.threerings.util | Contains a variety of utility functions. | |
ValueComputingMap
| com.threerings.util.maps | A Map that fills in values for missing keys using a supplied function than returning undefined. | |
ValueEvent
| com.threerings.util | A handy event for simply dispatching a value associated with the event type. | |
Vector2
| com.threerings.geom | Basic 2D vector implementation. | |
Vector3
| com.threerings.geom | Basic 3D vector implementation. | |
VideoPlayer
| com.threerings.media | Implemented by video-playing backends. | |
WeakReference
| com.threerings.util | A weak reference. | |
WeakValueMap
| com.threerings.util.maps | A Map that stores weak values. | |
XmlReadError
| com.threerings.util | ||
XmlUtil
| com.threerings.util |