Packagevegas.display
Classpublic class CoreSprite
InheritanceCoreSprite Inheritance flash.display.Sprite
Implements IDisplayObject
Subclasses Background, PolyLineBackground

The CoreSprite class extends the flash.display.Sprite class and implements the IDisplayObject interface.

Example :

     import vegas.display.CoreSprite ;
     
     var sprite:CoreSprite = new CoreSprite() ;
     
     sprite.graphics.beginFill( 0xFF0000 , 100 ) ;
     sprite.graphics.drawRect( 0, 0, 200, 160 ) ;
     
     addChild( sprite ) ;
     



Public Properties
 PropertyDefined By
  logger : Logger
Determinates the internal ILogger reference of this Logable object.
CoreSprite
Public Methods
 MethodDefined By
  
Creates a new CoreSprite instance.
CoreSprite
  
isLocked():Boolean
Returns true if the object is locked.
CoreSprite
  
lock():void
Locks the object.
CoreSprite
  
resetLock():void
Reset the lock security of the display.
CoreSprite
  
unlock():void
Unlocks the display.
CoreSprite
Protected Methods
 MethodDefined By
  
addedToStage(e:Event = null):void
Invoked when the display is added to the stage.
CoreSprite
  
removedFromStage(e:Event = null):void
Invoked when the display is removed from the stage.
CoreSprite
Property Detail
loggerproperty
logger:Logger

Determinates the internal ILogger reference of this Logable object.


Implementation
    public function get logger():Logger
    public function set logger(value:Logger):void
Constructor Detail
CoreSprite()Constructor
public function CoreSprite()

Creates a new CoreSprite instance.

Method Detail
addedToStage()method
protected function addedToStage(e:Event = null):void

Invoked when the display is added to the stage.

Parameters

e:Event (default = null)

isLocked()method 
public function isLocked():Boolean

Returns true if the object is locked.

Returns
Booleantrue if the object is locked.
lock()method 
public function lock():void

Locks the object.

removedFromStage()method 
protected function removedFromStage(e:Event = null):void

Invoked when the display is removed from the stage.

Parameters

e:Event (default = null)

resetLock()method 
public function resetLock():void

Reset the lock security of the display.

unlock()method 
public function unlock():void

Unlocks the display.