-- Lingo syntax _movie.idleLoadDone(intLoadTag) // JavaScript syntax _movie.idleLoadDone(intLoadTag);
Movie method; reports whether all cast members with the given tag have been loaded (TRUE) or are still waiting to be loaded (FALSE).
intLoadTag Required. An integer that specifies the load tag for the cast members to test.
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");
}
idleHandlerPeriod, idleLoadMode, idleLoadPeriod, idleLoadTag, idleReadChunkSize, Movie