This class handle the loading process and has references to singletons. In the repository : /trunk/core/Api.as
1
Alexandre Hoyau
| org. | This class handle the loading process and has references to singletons. |
| Variables | |
| isSilexServer | true only if you use the whole SILEX server framework (Wysiwyg etc) |
| parent | The object which contains the api singleton. |
| config | Dynamic object which contains all the constants localized or configuration. |
| constants | Static object. |
| authentication | Reference to the Authentication singleton. |
| interpreter | Reference to the Interpreter singleton. |
| filter | Reference to the Filter singleton. |
| application | Reference to the Application singleton. |
| sequencer | Reference to the Sequencer singleton. |
| com | Reference to the Com singleton. |
| deeplink | Reference to the Deeplink singleton. |
| dynDataManager | Reference to the DynDataManager singleton. |
| utils | Reference to the Utils singleton. |
| xmlDom | Reference to the XmlDom singleton. |
| toolsManager | Reference to the ToolsManager singleton. |
| Properties | |
| rootUrl | Root url of the application (read only). |
| Functions | |
| main | |
| Api | Constructor. |
| getSilexV1 | method referenced by _global.getSilex()<br/> will return this |
| getConfigData | Called when a property of config object is requested. |
| globalContextChange | Callback function called when the global context of the website changes. |
function getConfigData( name_str: String ):Object
Called when a property of config object is requested. Returns the corresponding property of _root (passed to flash by javascript). If it is undefined, then look in the constants.
| param | name_str the name of the constant or config variable to retrieve |
the value of the desired constant or config variable
true only if you use the whole SILEX server framework (Wysiwyg etc)
var isSilexServer: Boolean
The object which contains the api singleton.
var parent: MovieClip
Dynamic object which contains all the constants localized or configuration.
var config: Object
Static object.
var constants: org.silex.core.Constants
Reference to the Authentication singleton.
var authentication: org.silex.core.Authentication
Reference to the Interpreter singleton.
var interpreter: org.silex.core.Interpreter
Reference to the Filter singleton.
var filter: org.silex.core.Filter
Reference to the Application singleton.
var application: org.silex.core.Application
Reference to the Sequencer singleton.
var sequencer: org.silex.core.Sequencer
Reference to the Com singleton.
var com: org.silex.core.Com
Reference to the Deeplink singleton.
var deeplink: org.silex.core.Deeplink
Reference to the DynDataManager singleton.
var dynDataManager: org.silex.core.DynDataManager
Reference to the Utils singleton.
var utils: org.silex.core.Utils
Reference to the XmlDom singleton.
var xmlDom: org.silex.core.XmlDom
Reference to the ToolsManager singleton.
var toolsManager: org.silex.ui.ToolsManager
Root url of the application (read only).
function get rootUrl():String
static function main( mc )
Constructor.
function Api( apiContainer_mc: MovieClip, argIsSilexServer: Boolean )
method referenced by _global.getSilex()<br/> will return this
function getSilexV1( target_mc: MovieClip )
Called when a property of config object is requested.
function getConfigData( name_str: String ):Object
Callback function called when the global context of the website changes.
function globalContextChange( prop, oldVal, newVal )