put()
483
This statement performs a wipe left transition that lasts 1 second, has a chunk size of 20, and
occurs over the entire Stage:
-- Lingo syntax
_movie.puppetTransition(2, 4, 20, FALSE)
// JavaScript syntax
_movie.puppetTransition(2, 4, 20, false);
See also
Movie
put()
Usage
-- Lingo syntax
put(
value
)
// JavaScript syntax
put(
value
);
Description
Top level function; evaluates an expression and displays the result in the Message window.
The functionality of this method is identical to the top level
trace()
method, which is available
to both Lingo and JavaScript syntax.
This method can be used as a debugging tool by tracking the values of variables as a movie plays.
Parameters
value
Required. The expression to evaluate.
Example
This statement displays the time in the Message window:
-- Lingo syntax
put(_system.time())
// JavaScript syntax
put(_system.time());
This statement displays the value assigned to the variable
bid
in the Message window:
-- Lingo syntax
bid = "Johnson"
put(bid) -- "Johnson"
// JavaScript syntax
var bid = "Johnson";
put(bid); // Johnson
See also
trace()
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...