Package | com.whirled.avrg |
Class | public class MobSubControlClient |
Inheritance | MobSubControlClient ![]() ![]() ![]() ![]() |
See also
Method | Defined by | ||
---|---|---|---|
![]() |
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 | |
getMobSprite():DisplayObject
Accesses the sprite object for this MOB.
| MobSubControlClient | ||
![]() |
isConnected():Boolean
Are we connected and running inside the whirled environment, or has someone just
loaded up our SWF by itself?
| AbstractSubControl | |
removeDecoration():void
Removes the previously assigned decoration.
| MobSubControlClient | ||
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Unregisters an event listener.
| AbstractControl | |
setDecoration(decoration:DisplayObject):void
Assigns an object to decorate a mob.
| MobSubControlClient | ||
setHotSpot(x:Number, y:Number, height:Number):void
Set the layout "hotspot" for your item, specified as pixels relative to (0, 0) the top-left
coordinate.
| MobSubControlClient |
getMobSprite | () | method |
public function getMobSprite():DisplayObject
Accesses the sprite object for this MOB. If non-null, this will return the value created by
the mob sprite exporter assigned in the LocalSubControl
.
DisplayObject |
See also
removeDecoration | () | method |
public function removeDecoration():void
Removes the previously assigned decoration.
setDecoration | () | method |
public function setDecoration(decoration:DisplayObject):void
Assigns an object to decorate a mob.
Parametersdecoration:DisplayObject |
setHotSpot | () | method |
public function setHotSpot(x:Number, y:Number, height:Number):void
Set the layout "hotspot" for your item, specified as pixels relative to (0, 0) the top-left coordinate. If unset, the default hotspot will be based off of the SWF dimensions, with x = width / 2, y = height.
Parametersx:Number |
|
y:Number |
|
height:Number |