Namespace | tinymce.dom |
Class | ScriptLoader |
Method | Defined By |
---|---|
add(url:String, callback:function, scope:Object):void
Adds a specific script to the load queue of the script loader.
|
ScriptLoader |
isDone(url:String):Object
Returns true/false if a script has been loaded or not.
|
ScriptLoader |
load(url:String, callback:function, scope:Object):void
Loads a specific script directly without adding it to the load queue.
|
ScriptLoader |
loadQueue(callback:function, scope:Object):void
Starts the loading of the queue.
|
ScriptLoader |
loadScripts(scripts:Array, callback:function, scope:Object):void
Loads the specified queue of files and executes the callback ones they are loaded.
|
ScriptLoader |
markDone(u:string):void
Marks a specific script to be loaded.
|
ScriptLoader |
public
function add(url:String, callback:function, scope:Object):void
url:String | Absolute URL to script to add. |
callback:function | Optional callback function to execute ones this script gets loaded. |
scope:Object | Optional scope to execute callback in. |
public
function isDone(url:String):Object
url:String | URL to check for. |
public
function load(url:String, callback:function, scope:Object):void
url:String | Absolute URL to script to add. |
callback:function | Optional callback function to execute ones this script gets loaded. |
scope:Object | Optional scope to execute callback in. |
public
function loadQueue(callback:function, scope:Object):void
callback:function | Optional callback to execute when all queued items are loaded. |
scope:Object | Optional scope to execute the callback in. |
public
function loadScripts(scripts:Array, callback:function, scope:Object):void
scripts:Array | Array of queue items to load. |
callback:function | Optional callback to execute ones all items are loaded. |
scope:Object | Optional scope to execute callback in. |
public
function markDone(u:string):void
u:string | Absolute URL to the script to mark as loaded. |