
unLoadMember()
571
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
Optional. An integer that specifies the number of the first frame in a range to
unload from memory.
intToFrameNum
Optional. An integer that specifies the number of the last frame in a range to
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
preLoad()
methods or normal cast library loading.
•
When used without an argument, the
unLoadMember()
method clears from memory the cast
members in all the frames of a movie.
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 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...