| Package | vegas.display |
| Class | public class CoreSprite |
| Inheritance | CoreSprite flash.display.Sprite |
| Implements | IDisplayObject |
| Subclasses | Background, PolyLineBackground |
Example :
import vegas.display.CoreSprite ;
var sprite:CoreSprite = new CoreSprite() ;
sprite.graphics.beginFill( 0xFF0000 , 100 ) ;
sprite.graphics.drawRect( 0, 0, 200, 160 ) ;
addChild( sprite ) ;
| Property | Defined By | ||
|---|---|---|---|
| logger : Logger
Determinates the internal ILogger reference of this Logable object. | CoreSprite | ||
| Method | Defined 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 | ||
| Method | Defined 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 | ||
| logger | property |
logger:Logger
Determinates the internal ILogger reference of this Logable object.
public function get logger():Logger public function set logger(value:Logger):void| CoreSprite | () | Constructor |
public function CoreSprite()Creates a new CoreSprite instance.
| addedToStage | () | method |
protected function addedToStage(e:Event = null):voidInvoked 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.
Boolean — true if the object is locked.
|
| lock | () | method |
public function lock():voidLocks the object.
| removedFromStage | () | method |
protected function removedFromStage(e:Event = null):voidInvoked when the display is removed from the stage.
Parameters
e:Event (default = null) |
| resetLock | () | method |
public function resetLock():voidReset the lock security of the display.
| unlock | () | method |
public function unlock():voidUnlocks the display.