Example
These statements pause a projector when the playhead enters a frame and the user is pressing
Control+A (Windows) or Command+A (Macintosh).
-- Lingo syntax
on enterFrame
if (_key.commandDown and _key.key = "a") then
_movie.go(_movie.frame)
end if
end
// JavaScript syntax
function enterFrame() {
if (_key.commandDown && _key.key == "a") {
_movie.go(_movie.frame);
}
}
See also
Key,
key
comments
Usage
-- Lingo syntax
memberObjRef.comments
// JavaScript syntax
memberObjRef.comments;
Description
Member property; provides a place to store any comments you want to maintain about the given
cast member or any other strings you want to associate with the member. Read/write.
This property can also be set in the Property inspector's Member tab.
Example
This statement sets the comments of the member Backdrop to the string "Still need to license
this artwork":
-- Lingo syntax
member("Backdrop").comments = "Still need to license this artwork"
// JavaScript syntax
member("Backdrop").comments = "Still need to license this artwork";
See also
Member
704
Chapter 14: Properties
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