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()
Содержание DIRECTOR MX 2004
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...