MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 174

Director scripting reference
Table of Contents

Advertisement

on getBehaviorTooltip
Usage
-- Lingo syntax
on getBehaviorTooltip
statement(s)
end
// JavaScript syntax
function getBehaviorTooltip() {
statement(s);
}
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
the Library palette. Place the
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:
-- Lingo syntax
on getBehaviorTooltip
return "Jigsaw puzzle piece"
end
// JavaScript syntax
function getBehaviorTooltip() {
return "Jigsaw puzzle piece";
}
See also
on
getPropertyDescriptionList,
on getPropertyDescriptionList
Usage
-- Lingo syntax
on getPropertyDescriptionList
statement(s)
end
// JavaScript syntax
function getPropertyDescriptionList() {
statement(s);
}
174
Chapter 10: Events and Messages
getBehaviorTooltip
on getBehaviorTooltip
on
message to the script when the cursor stops over it in
handler within the behavior.
getBehaviorDescription,
on runPropertyDialog

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents