Vista Workstation 5
A script tag somewhere in the TGML graphic file has a function defined in the Behavior attributes that does not have a corresponding function in the script Content.
This error tells you that a script tag in the file has a function defined but not used. It does not tell you which script tag it is. The first step is to identify which script tag has the extra function defined.
Click on the script tag. Look at the Behavior attributes. Compare the function names defined next to the events with the content of the script. Click the "..." button next to the Content attribute to open the script editor.
In this example, the event OnDocumentLoad has a function named "load" defined. But in the content of the script there is no function load defined.
- Identify the unused event and delete the function name assigned to that event.
See also Lessons Learned Article #4835.