ssCore.Plugin.getCommands

Returns a comma delimited list of all the available plugin commands.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

alias - The alias that identifies an instance of a plugin.


Output Parameters:

result - A comma delimited list of commands supported by the plugin.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Plugin.getCommands( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Plugin.getCommands( paramsObject );


Notes:

None.


Examples:

The following example gets a list of commands supported by the FileSys plugin and displays them in the SWF Studio Trace tab.

var return_obj = ssCore.Plugin.getCommands({alias:"FileSys"});

ssDebug.trace(return_obj.result);