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

This is the interface for the JSONAsset.

See also

JSONAsset Documentation
JSON


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
  json : Object
[read-only] Returns a parsed JSON Object
IJson
 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
 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
jsonproperty
json:Object  [read-only]

Returns a parsed JSON Object

Implementation
    public function get json():Object