Tools
Top  Previous  Next


The main tool for adding script to your Movie is the Script Panel. This Panel allows you to enter script commands via pull-down Menus (Guided mode) or via direct text entry (Expert Mode).

Guided mode is the preferred option for those not familiar with the available script commands or the properties associated with the different Scripting Objects. The Guided mode allows selection of the available commands, properties and methods via a pull-down menu system.

In order to see what your script is doing (or not doing), you can use the Debug Panel and Trace command. When your script is played by the internal player, a trace command will cause the associated text or variable to be displayed in the debug panel.

You can add comments to your program using the // and /* */ comment delimiters. The use of comments can greatly increase the readability of your code, making debugging and future modification significantly easier.

Comments are not exported and are only saved in the .swi file, so there is no speed penalty associated with their use.