Example
This statement copies the content of the cast member Sunrise into the cast member Dawn by
setting the
media
for Sunrise:
-- Lingo syntax
member("Dawn").media = member("Sunrise").media
// JavaScript syntax
member("Dawn").media = member("Sunrise").media;
See also
Member
mediaReady
Usage
-- Lingo syntax
memberObjRef.mediaReady
// JavaScript syntax
memberObjRef.mediaReady;
Description
Member property; determines whether the contents of a cast member, a movie or cast library file,
or a linked cast member is downloaded from the Internet and is available on the local disk (
or not (
). Read-only.
FALSE
This property is useful only when streaming a movie or cast library file. Movie streaming is
activated by setting the Movie:Playback properties in the Modify menu to Play While
Downloading Movie (default setting).
For a demonstration of the
Director Help.
Example
This statement changes cast members when the desired cast member is downloaded and
available locally:
-- Lingo syntax
if member("background").mediaReady = TRUE then
sprite(2).member = member("background").number
end if
// JavaScript syntax
if (member("background").mediaReady == true) {
sprite(2).member = member("background").number;
}
See also
Member
850
Chapter 14: Properties
member property value for Dawn to the
mediaReady
media
property, see the sample movie Streaming Shockwave in
member property value
)
TRUE
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