of the settings in the Score. You can also use script to constrain
a moveable sprite to a certain region. For example, you can create
a draggable slider with an indicator that moves across a gauge.
For more information, see the Scripting Reference topics in the
Director Help Panel.
To make a text sprite editable with script, set the text
sprite’s editable property to TRUE.
For best results, set this property in a script that is attached to
the sprite or the frame where the sprite is located.
To make a sprite moveable with script, set the moveableSprite spriteproperty
to TRUE. For best results, set this property in
a script that is attached to the sprite or the frame where the sprite
To restrict the registration point of a moveable sprite so
it stays within the bounding rectangle of a second sprite, use the constraint sprite
To constrain a sprite along a horizontal or vertical path,
use the constrainH() or constrainV() method.