EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 743

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
doubleClick 743
domain
Usage
-- Lingo syntax
dvdObjRef.domain
// JavaScript syntax
dvdObjRef.domain;
Description
DVD property; returns a symbol that indicates the current domain. Read-only.
Example
This statement returns the current domain:
-- Lingo syntax
trace (member(1).domain) -- #title
// JavaScript syntax
trace (member(1).domain); // #title
See also
DVD
doubleClick
Usage
-- Lingo syntax
_mouse.doubleClick
// JavaScript syntax
_mouse.doubleClick;
Description
Mouse property; tests whether two mouse clicks within the time set for a double-click occurred as
a double-click rather than two single clicks (
TRUE), or if they didn’t occur within the time set,
treats them as single clicks (
FALSE). Read-only.
Example
This statement branches the playhead to the frame Enter Bid when the user double-clicks the
mouse button:
-- Lingo syntax
if (_mouse.doubleClick) then
_movie.go("Enter Bid")
end if
// JavaScript syntax
if (_mouse.doubleClick) {
_movie.go("Enter Bid");
}
See also
clickLoc, clickOn, Mouse