Packagesekati.display
Classpublic class CoreSprite
InheritanceCoreSprite Inheritance flash.display.Sprite
ImplementsICoreInterface
SubclassesAbstractCalendar, AbstractPreloader, AbstractView, CameraDevice, Canvas, Image, InteractiveSprite, LiquidSprite, Reflection

CoreSprite is a foundational DisplayObject class and can be thought of as one of the main building block of API-based applications.



Public Properties
 PropertyDefined by
  enabled : Boolean
Boolean stub property which subclasses implement to control core behavor availability such as interactivity, liquidity, drag-drop functionality.
CoreSprite
  interactiveMode : Boolean
Specifies the mouse cursors modal state in the object as an interactive target via: buttonMode, mouseChildren & tabChildren.
CoreSprite
  scale : Number
The scale value.
CoreSprite
Public Methods
 MethodDefined by
  
CoreSprite Constructor
CoreSprite
  
addChildren(... args):void
Add multiple child DisplayObject's.
CoreSprite
  
destroy():void
Clean up after thy self.
CoreSprite
  
toString():String
Return reflective output.
CoreSprite
Protected Methods
 MethodDefined by
  
invalidate():void
Request a redraw, use for deferred rendering.
CoreSprite
  
offStage(e:Event = null):void
Stub: Sprite has been removed from stage.
CoreSprite
  
onStage(e:Event = null):void
Stub: Sprite has been added to stage.
CoreSprite
Property detail
enabledproperty
enabled:Boolean  [read-write]

Boolean stub property which subclasses implement to control core behavor availability such as interactivity, liquidity, drag-drop functionality.

Implementation
    public function get enabled():Boolean
    public function set enabled(value:Boolean):void
interactiveModeproperty 
interactiveMode:Boolean  [read-write]

Specifies the mouse cursors modal state in the object as an interactive target via: buttonMode, mouseChildren & tabChildren.

Implementation
    public function get interactiveMode():Boolean
    public function set interactiveMode(value:Boolean):void
scaleproperty 
scale:Number  [read-write]

The scale value.

Implementation
    public function get scale():Number
    public function set scale(value:Number):void
Constructor detail
CoreSprite()constructor
public function CoreSprite()

CoreSprite Constructor

Method detail
addChildren()method
public function addChildren(... args):void

Add multiple child DisplayObject's.

Parameters
... args — list of DisplayObject's to add to the DisplayList.
destroy()method 
public function destroy():void

Clean up after thy self.

invalidate()method 
protected function invalidate():void

Request a redraw, use for deferred rendering.

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

Stub: Sprite has been removed from stage.

Parameters
e:Event (default = null)
onStage()method 
protected function onStage(e:Event = null):void

Stub: Sprite has been added to stage.

Parameters
e:Event (default = null)
removeChildren()method 
sekati function removeChildren(... args):void

Remove multiple child DisplayObject's.

If an array of children is not passed removeChildren removes all child objects.

Parameters
... args — list of DisplayObject's to remove from the DisplayList.

Warning: the CoreSprite.removeChildren is namespaced sekati from the sekati.core.sekati namespace to prevent collision with the newly added Sprite.removeChildren in Flex SDK 4.5.1. To use this method you have two options:


Example
    var mySprite : CoreSprite = new CoreSprite();
    var myChild : CoreSprite = new CoreSprite();
    mySprite.addChild( myChild );
    
    // remove children directly with namespace:
    mySprite.sekati::removeChildren( mySprite );
    
    // or use the namespace
    import sekati.core.sekati;
    use namespace sekati;
    mySprite.removeChildren( mySprite );
   

toString()method 
public override function toString():String

Return reflective output.

Returns
String — String