A Script Object is a drawing Object that is named and has the 'Target' checkbox ticked.
A Sprite is also a Script Object ('Target' checkbox is not required), as is the main Scene.
A Script Object can have Event Handler and private functions associated with it. Such an Object becomes the basic element of scripting.
All Script Objects have Object properties. In addition, Text Objects can also have text field properties.
When the 'Target' checkbox is available and ticked, the Object is automatically converted to a Sprite. This conversion will cause grouped Objects and text to lose their Complex Effect behavior.
Note: Group Objects have certain limitations when used as a target from within scripts. It is not recommended to use relative paths to target a Group Object or to execute actions from a Group Object. Instead, try to use absolute (or full) paths when targeting to or from a Group Object.
Note: There are reserved names that you are NOT allowed to use as the name or variable for scripted objects. The list of reserved words is as follows:
Math, String, Timer, Date, Key, length, text, htmltext, scroll, maxscroll, _root, _parent, this, do, else, for, if, not, playSound, preloadContent, return, setLabel, setLabelAnchor, stopSound, tellTarget, trace, var, while, with, return, true, false, PI, E, LN10, LN2, LOG2E, LOG10E, SQRT2, SQRT1_2, newline, tab, NULL