Chapter 15
378
To make a text sprite editable:
•
Click the Editable button in the Property inspector.
Making sprites editable or moveable with Lingo
Lingo can make sprites editable or moveable regardless of the settings in the Score. You can also
use Lingo 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 individual
properties and functions in the Lingo Dictionary.
•
To make a text sprite editable with Lingo, 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 Lingo, set the
moveableSprite
sprite
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 restrict the registration point of a moveable sprite so it stays within the bounding rectangle
of a second sprite, use the
constraint
sprite property.
•
To constrain a sprite along a horizontal or vertical path, use the
constrainH()
or
constrainV()
function.
Editable button
Moveable button
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...