207
editable
Syntax
member(
whichCastMember
)
.
editable
the editable of member
whichCastMember
sprite(
whichSprite).
editable
the editable of sprite
whichSprite
Description
Cast member and sprite property; determines whether the specified field cast member can be
edited on the Stage (
TRUE
) or not (
FALSE
).
When the cast member property is set, the setting is applied to all sprites that contain the field.
When the sprite property is set, only the specified sprite is affected.
You can also make a field cast member editable by using the Editable option in the Field Cast
Member Properties dialog box.
You can make a field sprite editable by using the Editable option in the Score.
For the value set by Lingo to last beyond the current sprite, the sprite must be a puppet.
This property can be tested and set.
Examples
This statement makes the field cast member Answer editable:
member("Answer").editable = TRUE
This handler first makes the sprite channel a puppet and then makes the field sprite editable:
on myNotes
puppetSprite 5, TRUE
sprite(5).editable = TRUE
end
This statement checks whether a field sprite is editable and displays a message if it is:
if sprite(13).editable = TRUE then
member("Notice").text = "Please enter your answer below."
end if
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...