| Package | com.gaiaframework.api |
| Interface | public interface IDisplayObject extends IAsset, flash.events.IEventDispatcher |
| Subinterfaces | IBitmap, ISprite |
DisplayObjectAsset. DisplayObjectAsset extends AbstractAsset and is the base asset for SpriteAsset (and thus, MovieClipAsset), BitmapAsset and BitmapSpriteAsset.
See also
| Property | Defined by | ||
|---|---|---|---|
| accessibilityProperties : AccessibilityProperties | IDisplayObject | ||
| alpha : Number | IDisplayObject | ||
| blendMode : String | IDisplayObject | ||
![]() | bytes : int
Returns the bytes attribute value set in the
site.xml for byte-accurate preloading. | IAsset | |
| cacheAsBitmap : Boolean | IDisplayObject | ||
| depth : String
Specifies the depth container the asset is assigned to.
| IDisplayObject | ||
| filters : Array | IDisplayObject | ||
| height : Number | IDisplayObject | ||
![]() | id : String
Returns the ID as set in
site.xml. | IAsset | |
| loader : Loader [read-only]
Returns the loader.
| IDisplayObject | ||
| mask : DisplayObject | IDisplayObject | ||
| mouseX : Number [read-only]
| IDisplayObject | ||
| mouseY : Number [read-only]
| IDisplayObject | ||
| name : String | IDisplayObject | ||
![]() | node : XML
Returns the raw XML node of the asset
| IAsset | |
| opaqueBackground : Object | IDisplayObject | ||
![]() | order : int
Returns the load order and position of the asset relative to other assets of the page.
| IAsset | |
| parent : DisplayObjectContainer [read-only]
| IDisplayObject | ||
![]() | percentLoaded : Number
Returns the bytesLoaded / bytesTotal.
| IAsset | |
![]() | preloadAsset : Boolean
Specifies a value of
true if the asset is set to preload, or false if it is on-demand. | IAsset | |
| root : DisplayObject [read-only]
| IDisplayObject | ||
| rotation : Number | IDisplayObject | ||
| scale9Grid : Rectangle | IDisplayObject | ||
| scaleX : Number | IDisplayObject | ||
| scaleY : Number | IDisplayObject | ||
| scrollRect : Rectangle | IDisplayObject | ||
![]() | showProgress : Boolean
Specifies whether the asset will cause the asset preloader to appear when loaded on-demand.
| IAsset | |
![]() | src : String
Returns the source path of the asset.
| IAsset | |
| stage : Stage [read-only]
| IDisplayObject | ||
![]() | title : String
Specifies the title of the asset.
| IAsset | |
| transform : Transform | IDisplayObject | ||
| visible : Boolean | IDisplayObject | ||
| width : Number | IDisplayObject | ||
| x : Number | IDisplayObject | ||
| y : Number | IDisplayObject | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
abort():void
Used to manually abort an on-demand asset load.
| IAsset | |
|
getBounds(obj:DisplayObject):Rectangle
| IDisplayObject | ||
![]() |
getBytesLoaded():int
Returns the loaded bytes of the file.
| IAsset | |
![]() |
getBytesTotal():int
Returns the total bytes of the file.
| IAsset | |
|
getRect(obj:DisplayObject):Rectangle
| IDisplayObject | ||
|
globalToLocal(point:Point):Point
| IDisplayObject | ||
|
hitTestObject(obj:DisplayObject):Boolean
| IDisplayObject | ||
|
hitTestPoint(px:Number, py:Number, shapeFlag:Boolean = false):Boolean
| IDisplayObject | ||
![]() |
load(... args):void
Used to load assets on-demand.
| IAsset | |
|
localToGlobal(point:Point):Point
| IDisplayObject | ||
| accessibilityProperties | property |
accessibilityProperties:AccessibilityProperties [read-write]Implementation
public function get accessibilityProperties():AccessibilityProperties
public function set accessibilityProperties(value:AccessibilityProperties):void
See also
| alpha | property |
alpha:Number [read-write]Implementation
public function get alpha():Number
public function set alpha(value:Number):void
See also
| blendMode | property |
blendMode:String [read-write]Implementation
public function get blendMode():String
public function set blendMode(value:String):void
See also
| cacheAsBitmap | property |
cacheAsBitmap:Boolean [read-write]Implementation
public function get cacheAsBitmap():Boolean
public function set cacheAsBitmap(value:Boolean):void
See also
| depth | property |
depth:String [read-write]Specifies the depth container the asset is assigned to.
Implementation public function get depth():String
public function set depth(value:String):void
| filters | property |
filters:Array [read-write]Implementation
public function get filters():Array
public function set filters(value:Array):void
See also
| height | property |
height:Number [read-write]Implementation
public function get height():Number
public function set height(value:Number):void
See also
| loader | property |
loader:Loader [read-only]Returns the loader.
Implementation public function get loader():Loader
| mask | property |
mask:DisplayObject [read-write]Implementation
public function get mask():DisplayObject
public function set mask(value:DisplayObject):void
See also
| mouseX | property |
mouseX:Number [read-only]Implementation
public function get mouseX():Number
See also
| mouseY | property |
mouseY:Number [read-only]Implementation
public function get mouseY():Number
See also
| name | property |
name:String [read-write]Implementation
public function get name():String
public function set name(value:String):void
See also
| opaqueBackground | property |
opaqueBackground:Object [read-write]Implementation
public function get opaqueBackground():Object
public function set opaqueBackground(value:Object):void
See also
| parent | property |
parent:DisplayObjectContainer [read-only]Implementation
public function get parent():DisplayObjectContainer
See also
| root | property |
root:DisplayObject [read-only]Implementation
public function get root():DisplayObject
See also
| rotation | property |
rotation:Number [read-write]Implementation
public function get rotation():Number
public function set rotation(value:Number):void
See also
| scale9Grid | property |
scale9Grid:Rectangle [read-write]Implementation
public function get scale9Grid():Rectangle
public function set scale9Grid(value:Rectangle):void
See also
| scaleX | property |
scaleX:Number [read-write]Implementation
public function get scaleX():Number
public function set scaleX(value:Number):void
See also
| scaleY | property |
scaleY:Number [read-write]Implementation
public function get scaleY():Number
public function set scaleY(value:Number):void
See also
| scrollRect | property |
scrollRect:Rectangle [read-write]Implementation
public function get scrollRect():Rectangle
public function set scrollRect(value:Rectangle):void
See also
| stage | property |
stage:Stage [read-only]Implementation
public function get stage():Stage
See also
| transform | property |
transform:Transform [read-write]Implementation
public function get transform():Transform
public function set transform(value:Transform):void
See also
| visible | property |
visible:Boolean [read-write]Implementation
public function get visible():Boolean
public function set visible(value:Boolean):void
See also
| width | property |
width:Number [read-write]Implementation
public function get width():Number
public function set width(value:Number):void
See also
| x | property |
x:Number [read-write]Implementation
public function get x():Number
public function set x(value:Number):void
See also
| y | property |
y:Number [read-write]Implementation
public function get y():Number
public function set y(value:Number):void
See also
| getBounds | () | method |
public function getBounds(obj:DisplayObject):RectangleParameters
obj:DisplayObject |
Rectangle |
See also
| getRect | () | method |
public function getRect(obj:DisplayObject):RectangleParameters
obj:DisplayObject |
Rectangle |
See also
| globalToLocal | () | method |
public function globalToLocal(point:Point):PointParameters
point:Point |
Point |
See also
| hitTestObject | () | method |
public function hitTestObject(obj:DisplayObject):BooleanParameters
obj:DisplayObject |
Boolean |
See also
| hitTestPoint | () | method |
public function hitTestPoint(px:Number, py:Number, shapeFlag:Boolean = false):BooleanParameters
px:Number |
|
py:Number |
|
shapeFlag:Boolean (default = false) |
Boolean |
See also
| localToGlobal | () | method |
public function localToGlobal(point:Point):PointParameters
point:Point |
Point |
See also