Using scripting Xtra functions

Scripting Xtra extensions are packages of custom functions. When you place a scripting Xtra file in the Xtra folder and then start Authorware, a category is added for the Xtra extension in the Functions dialog box.

Select the category, and a list of the functions contained in the Xtra extension appear.

The functionality in scripting Xtra extensions takes the following forms:

See also

Global functions, parent objects, and child objects

To use a scripting Xtra extension global function:

  1. Select the location where you want to use the function.

    A function is most often placed in a Calculation window.

  2. Select Window > Functions.
  3. From the Category list, select the Xtra category that contains the function you want to use.

    If you don't know the specific category, select Xtras (All).

  4. Select the function from the list and then click Paste.
  5. In the parentheses following the function's name, insert the required information.

    The arguments for Xtra extension functions may be listed and defined in the Functions dialog box, or in a Read Me file that the Xtra extension publisher may have supplied.

See also

To use a scripting Xtra extension parent object:

  1. Select the location where you want to use the Xtra extension.

    Xtra extension methods are often called in a Calculation window.

  2. Select Window > Functions.
  3. From the Category list, select All.
  4. Select the CallParentObject function from the list and click Paste.

    For information about calling parent object methods, see CallParentObject.

  5. Insert the CallParentObject arguments between the parentheses.

    The arguments for CallParentObject are the Xtra extension's name, method, and the method's parameters.

See also

Global functions, parent objects, and child objects

To use a scripting Xtra extension child object:

  1. Select the location where you want to use the Xtra extension.

    Xtra extension methods are often called in a Calculation window.

  2. Select Window > Functions.
  3. From the Category list, select All.
  4. Select the NewObject function from the list, and then click Paste.

    For information about creating child objects, see NewObject.

  5. Insert the Xtra extension's name between the parentheses.
  6. Select the CallObject function from the Functions window, and then click Paste.

    For information about calling child object methods, see CallObject.

See also

Global functions, parent objects, and child objects


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/authorware/7/using_aw_en/09_var39.htm