| Package | ch.capi.display |
| Class | public class AbstractDocument |
| Inheritance | AbstractDocument flash.display.MovieClip |
| Implements | INetStateManager, IRootDocument |
IRootDocument and INetStateManager.
Note that you should never use this class directly as a DocumentClass.
| Property | Defined by | ||
|---|---|---|---|
| loadableFile : ILoadableFile
[read-only]
Defines the
ILoadableFile used to load this document. | AbstractDocument | ||
| netState : String
Defines the
NetState value. | AbstractDocument | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new
AbstractDocument object. | AbstractDocument | ||
|
initializeContext(loadableFile:ILoadableFile):void
Callback of the MassLoader (
IRootDocument interface). | AbstractDocument | ||
|
isOnline():Boolean
Retrieves the state depending of the
NetState
value defined. | AbstractDocument | ||
| loadableFile | property |
loadableFile:ILoadableFile [read-only]
Defines the ILoadableFile used to load this document.
public function get loadableFile():ILoadableFile
See also
| netState | property |
netState:String [read-write]
Defines the NetState value. The value available can
be retrieved from the NetState class.
public function get netState():String
public function set netState(value:String):void
See also
| AbstractDocument | () | constructor |
public function AbstractDocument()
Creates a new AbstractDocument object.
| initializeContext | () | method |
public function initializeContext(loadableFile:ILoadableFile):void
Callback of the MassLoader (IRootDocument interface). This method should
be overriden to implement the initialization tasks.
loadableFile:ILoadableFile — The ILoadableFile source.
|
See also
| isOnline | () | method |
public function isOnline():Boolean
Retrieves the state depending of the NetState
value defined.
If the netState value is NetState.ONLINE, then this
method returns true. If the netState value is NetState.OFFLINE,
then this method returns false. If the netState value is
NetState.DYNAMIC, then this method uses the Security.sandboxType to determines
if the online state.
Boolean — true if the INetStateManager is online or not.
|
See also