MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 571

Director scripting reference
Table of Contents

Advertisement

unLoad() (Movie)
Usage
-- Lingo syntax
_movie.unLoad({intFromFrameNum} {, intToFrameNum})
// JavaScript syntax
_movie.unLoad({intFromFrameNum} {, intToFrameNum});
Description
Movie method; removes the specified preloaded movie from memory.
This command is useful in forcing movies to unload when memory is low.
You can use a URL as the file reference.
If the movie isn't already in RAM, the result is -1.
Parameters
intFromFrameNum
unload from memory.
intToFrameNum
unload from memory.
Example
The following statements unload frames 10 through 25 from memory.
-- Lingo syntax
_movie.unLoad(10, 25)
// JavaScript syntax
_movie.unLoad(10, 25);
See also
Movie
unLoadMember()
Usage
-- Lingo syntax
_movie.unLoadMember({memberObjRef})
_movie.unLoadMember(fromMemberNameOrNum, toMemberNameOrNum)
// JavaScript syntax
_movie.unLoadMember({memberObjRef});
_movie.unLoadMember(fromMemberNameOrNum, toMemberNameOrNum);
Description
Movie method; forces Director to clear the cast members used in a specified frame from memory.
Director automatically unloads the least recently used cast members to accommodate
methods or normal cast library loading.
When used without an argument, the
members in all the frames of a movie.
Optional. An integer that specifies the number of the first frame in a range to
Optional. An integer that specifies the number of the last frame in a range to
method clears from memory the cast
unLoadMember()
preLoad()
unLoadMember()
571

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents