ScriptManager.loadScripts

Syntax

PP.ScriptManager.loadScripts(url: Array, callback: PP.Delegate|function, global: Boolean);

Parameters

url. Array of scripts' URLs.

callback. Callback function executed after scripts are loaded.

global. Indicates if global queue is used for scripts loading. If this parameter is set to True, scripts will be loaded only after the previous scripts are loaded, otherwise they will not.

Description

The loadScripts method loads the array of JS scripts.

Comments

This method returns True, if at least one script has been loaded, and False, if no scripts were loaded.

Example

The example of use is given in the with description of the ScriptManager.loadScript method.

See also:

ScriptManager