/ Checks if movie is completely loaded.
// Returns true if yes, false if no.
function movieIsLoaded (theMovie)
{
// First make sure the movie's defined.
if (typeof(theMovie) != "undefined")
{
// If it is, check how much of it is loaded.
return theMovie.PercentLoaded() == 100;
} else
{
// If the movie isn't defined, it's not loaded.
return false;
}
}
// Returns true if yes, false if no.
function movieIsLoaded (theMovie)
{
// First make sure the movie's defined.
if (typeof(theMovie) != "undefined")
{
// If it is, check how much of it is loaded.
return theMovie.PercentLoaded() == 100;
} else
{
// If the movie isn't defined, it's not loaded.
return false;
}
}