loaded
835
linked
Usage
-- Lingo syntax
memberObjRef
.linked
// JavaScript syntax
memberObjRef
.linked;
Description
Member property; controls whether a script, Flash movie, or animated GIF file is stored in an
external file (
TRUE
, default), or inside the Director cast library (
FALSE
). Read/write for script,
Flash, and animated GIF members, read-only for all other member types.
When the data is stored externally in a linked file, the cast member’s
pathName
property must
point to the location where the movie file can be found.
Example
This statement converts Flash cast member “homeBodies” from a linked member to an internally
stored member.
-- Lingo syntax
member("homeBodies").linked = 0
// JavaScript syntax
member("homeBodies").linked = 0;
See also
Member
loaded
Usage
-- Lingo syntax
memberObjRef
.loaded
// JavaScript syntax
memberObjRef
.loaded;
Description
Member property; specifies whether a specified cast member is loaded into memory (
TRUE
) or not
(
FALSE
). Read-only.
Different cast member types have slightly different behaviors for loading:
•
Shape and script cast members are always loaded into memory.
•
Movie cast members are never unloaded.
•
Digital video cast members can be preloaded and unloaded independent of whether they are
being used. (A digital video cast member plays faster from memory than from disk.)
Summary of Contents for DIRECTOR MX 2004
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...