360
Chapter 12: Methods
idleLoadDone()
Usage
-- Lingo syntax
_movie.idleLoadDone(
intLoadTag
)
// JavaScript syntax
_movie.idleLoadDone(
intLoadTag
);
Description
Movie method; reports whether all cast members with the given tag have been loaded (
TRUE
) or
are still waiting to be loaded (
FALSE
).
Parameters
intLoadTag
Required. An integer that specifies the load tag for the cast members to test.
Example
This statement checks whether all cast members whose load tag is 20 have been loaded and then
plays the movie Kiosk if they are:
-- Lingo syntax
if (_movie.idleLoadDone(20)) then
_movie.play(1, "Kiosk")
end if
// JavaScript syntax
if (_movie.idleLoadDone(20)) {
_movie.play(1, "Kiosk");
}
See also
idleHandlerPeriod
,
idleLoadMode
,
idleLoadPeriod
,
idleLoadTag
,
idleReadChunkSize
,
Movie
ignoreWhiteSpace()
Usage
XMLparserObject
.ignoreWhiteSpace(
trueOrFalse
)
Description
XML Command; specifies whether the parser should ignore or retain white space when
generating a Lingo list. When
ignoreWhiteSpace()
is set to
TRUE
(the default), the parser
ignores white space.When set to
FALSE
, the parser will retain white space and treat it as
actual data.
If an element has separate beginning and ending tags, such as
<sample> </sample>
, character
data within the element will be ignored if, and only if, it is composed of white space only. If there
is any non-white space, or if
ignoreWhiteSpace()
is set to
FALSE
, there will be a CDATA node
with the exact text, including any white space.
Parameters
trueOrFalse
Required. A value that specifies whether the parser should ignore white space
(
TRUE
) or not (
FALSE
).
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...