Packagecom.whirled
Classpublic class AbstractSubControl
InheritanceAbstractSubControl Inheritance AbstractControl Inheritance flash.events.EventDispatcher
SubclassesAgentSubControl, BagsSubControl, GameSubControl, GameSubControlBase, LocalSubControl, LocalSubControl, MobSubControlBase, NetSubControl, PlayerSubControl, SeatingSubControl, ServicesSubControl, TargetedSubControl

Abstract base class. Do not instantiate.



Public Methods
 MethodDefined by
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener.
AbstractControl
  
doBatch(fn:Function, ... args):void
Execute the specified function as a batch of commands that will be sent to the server together.
AbstractSubControl
  
isConnected():Boolean
Are we connected and running inside the whirled environment, or has someone just loaded up our SWF by itself?
AbstractSubControl
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unregisters an event listener.
AbstractControl
Events
 EventSummaryDefined by
 Inherited Event.UNLOAD Dispatched when the SWF using this control has been unloaded.AbstractControl
Method detail
doBatch()method
public override function doBatch(fn:Function, ... args):void

Execute the specified function as a batch of commands that will be sent to the server together. Messages can be sent no faster than a rate of 10 per second. Using doBatch groups a number of set or sendMessage operations so that they are treated as a single unit towards this limit. For best performance, it should be used whenever a number of values are being set at once.

Parameters
fn:Function
 
... args
isConnected()method 
public override function isConnected():Boolean

Are we connected and running inside the whirled environment, or has someone just loaded up our SWF by itself?

Returns
Boolean