290
hilite (cast member property)
Syntax
member(
whichCastMember
).hilite
the hilite of member
whichCastMember
Description
Cast member property; determines whether a check box or radio button created with the button
tool is selected (
TRUE
) or not (
FALSE,
default).
If
whichCastMember
is a string, it specifies the cast member name. If it is an integer,
whichCastMember
specifies the cast member number.
This property can be tested and set.
Examples
This statement checks whether the button named Sound on is selected and, if it is, turns sound
channel 1 all the way up:
if member("Sound on").hilite = TRUE then sound(1).volume = 255
This statement uses Lingo to select the button cast member powerSwitch by setting the
hilite
member property for the cast member to
TRUE
:
member("powerSwitch").hilite = TRUE
See also
checkBoxAccess
,
checkBoxType
hitTest()
Syntax
sprite(
whichFlashSprite
).hitTest(
point
)
hitTest(
sprite
whichFlashSprite
,
point
)
Description
Function; indicates which part of a Flash movie is directly over a specific Director Stage location.
The Director Stage location is expressed as a Director point value: for example, point(100,50).
The
hitTest
function returns these values:
•
#background
—The specified Stage location falls within the background of the Flash movie sprite.
•
#normal
—The specified Stage location falls within a filled object.
•
#button
—The specified Stage location falls within the active area of a button.
•
#editText
—The specified Stage location falls within a Flash editable text field.
Summary of Contents for DIRECTOR MX-LINGO DICTIONARY
Page 1: ...Lingo Dictionary Macromedia Director MX...
Page 756: ...Index 756...