262
on getBehaviorTooltip
Syntax
on getBehaviorTooltip
statement(s)
end
Description
System message and event handler; contains Lingo that returns the string that appears in a tooltip
for a script in the Library palette.
Director sends the
getBehaviorTooltip
message to the script when the cursor stops over it in
the Library palette. Place the
on getBehaviorTooltip
handler within the behavior.
The use of the handler is optional. If no handler is supplied, the cast member name appears in
the tooltip.
The handler can contain embedded Return characters for formatting multiple-line descriptions.
Example
This statement displays “Jigsaw puzzle piece” in the description pane:
on getBehaviorTooltip
return "Jigsaw puzzle piece"
end
See also
on getPropertyDescriptionList
,
on getBehaviorDescription
,
on runPropertyDialog
getBoneID
Syntax
memberReference
.modelResource.getBoneID("
boneName
")
Description
3D model resource property; returns the index number of the bone named
boneName
in the
model resource. This property returns 0 if no bone by that name can be found.
Example
This statement returns an ID number for the bone ShinL:
put member("ParkScene").modelResource("LittleKid").getBoneId("ShinL")
-- 40
See also
bone
getError()
Syntax
member(
whichSWAmember
).getError()
getError(member
whichSWAmember
)
member(
whichFlashmember
).getError()
getError(member
whichFlashmember
)
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...