EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 215

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...
next 215
NAN
Usage
-- Lingo syntax
NAN
Description
Return value; Indicates that a specified Lingo expression is not a number.
This statement attempts to display the square root of -1, which is not a number, in the
Message window:
-- Lingo syntax
put((-1).sqrt) -- NAN
See also
INF
next
Usage
-- Lingo syntax
next
Description
Keyword; refers to the next marker in the movie and is equivalent to the phrase the marker
(+ 1)
.
Example
This statement sends the playhead to the next marker in the movie:
go next
This handler moves the movie to the next marker in the Score when the right arrow key is pressed
and to the previous marker when the left arrow key is pressed:
on keyUp
if (_key.keyCode = 124) then _movie.goNext()
if (_key.keyCode = 123) then _movie.goPrevious()
end keyUp
See also
loop (keyword), goPrevious()

Related product manuals