Packagecom.gaiaframework.api
Interfacepublic interface IText extends IAsset, flash.events.IEventDispatcher

This is the interface for the TextAsset. XMLAsset, StyleSheetAsset and JSONAsset all inherit from TextAsset.

See also

TextAsset Documentation


Public Properties
 PropertyDefined by
 Inheritedbytes : int
Returns the bytes attribute value set in the site.xml for byte-accurate preloading.
IAsset
 Inheritedid : String
Returns the ID as set in site.xml.
IAsset
 Inheritednode : XML
Returns the raw XML node of the asset
IAsset
 Inheritedorder : int
Returns the load order and position of the asset relative to other assets of the page.
IAsset
 InheritedpercentLoaded : Number
Returns the bytesLoaded / bytesTotal.
IAsset
 InheritedpreloadAsset : Boolean
Specifies a value of true if the asset is set to preload, or false if it is on-demand.
IAsset
 InheritedshowProgress : Boolean
Specifies whether the asset will cause the asset preloader to appear when loaded on-demand.
IAsset
 Inheritedsrc : String
Returns the source path of the asset.
IAsset
  text : String
[read-only] Returns the text string.
IText
 Inheritedtitle : String
Specifies the title of the asset.
IAsset
Public Methods
 MethodDefined by
 Inherited
abort():void
Used to manually abort an on-demand asset load.
IAsset
 Inherited
Returns the loaded bytes of the file.
IAsset
 Inherited
Returns the total bytes of the file.
IAsset
 Inherited
load(... args):void
Used to load assets on-demand.
IAsset
Events
 EventSummaryDefined by
 Inherited Dispatched when the asset is finished loading.IAsset
Property detail
textproperty
text:String  [read-only]

Returns the text string.

Implementation
    public function get text():String