| Package | sekati.display |
| Class | public class CoreSprite |
| Inheritance | CoreSprite flash.display.Sprite |
| Implements | ICoreInterface |
| Subclasses | AbstractCalendar, AbstractPreloader, AbstractView, CameraDevice, Canvas, Image, InteractiveSprite, LiquidSprite, Reflection |
DisplayObject class
and can be thought of as one of the main building block of
API-based applications.
| Property | Defined by | ||
|---|---|---|---|
enabled : BooleanBoolean 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 | ||
| Method | Defined 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 | ||
| Method | Defined 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 | ||
| enabled | property |
enabled:Boolean [read-write]
Boolean stub property which subclasses implement to control core
behavor availability such as interactivity, liquidity, drag-drop functionality.
public function get enabled():Boolean
public function set enabled(value:Boolean):void
| interactiveMode | property |
interactiveMode:Boolean [read-write]
Specifies the mouse cursors modal state in the object as an interactive
target via: buttonMode, mouseChildren & tabChildren.
public function get interactiveMode():Boolean
public function set interactiveMode(value:Boolean):void
| scale | property |
scale:Number [read-write]
The scale value.
public function get scale():Number
public function set scale(value:Number):void
| CoreSprite | () | constructor |
public function CoreSprite()CoreSprite Constructor
| addChildren | () | method |
public function addChildren(... args):void
Add multiple child DisplayObject's.
... args — list of DisplayObject's to add to the DisplayList.
|
| destroy | () | method |
public function destroy():voidClean up after thy self.
| invalidate | () | method |
protected function invalidate():voidRequest a redraw, use for deferred rendering.
| offStage | () | method |
protected function offStage(e:Event = null):voidStub: Sprite has been removed from stage.
Parameterse:Event (default = null) |
| onStage | () | method |
protected function onStage(e:Event = null):voidStub: Sprite has been added to stage.
Parameterse: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.
... args — list of DisplayObject's to remove from the DisplayList.
Warning: the |
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():StringReturn reflective output.
ReturnsString — String
|