119
CHAPTER 6
Media Types
The media types in Macromedia Director MX 2004 provide access to the functionality of the
various media types, such as RealMedia, DVD, Animated GIF, and so on, that are added to
movies as cast members.
Literally, media types are not actually objects, but rather cast members that are of a specific type of
media. When a media type is added to a movie as a cast member, it not only inherits the
functionality of the core Member object, it also extends the Member object by providing
additional functionality that is available only to the specified media type. For example, a
RealMedia cast member has access to the Member object’s methods and properties, but it also has
additional methods and properties that are specific to RealMedia. All other media types also
exhibit this behavior.
For an illustration of how the cast member media types relate to each other and to other objects in
Director, see
“Object model diagrams” on page 53
.
Animated GIF
Represents an animated GIF cast member.
You can add an animated GIF cast member to a movie by using the Movie object’s
newMember()
method.
-- Lingo syntax
_movie.newMember(#animgif)
// JavaScript syntax
_movie.newMember("animgif");
Some of the following methods or properties may apply only to sprites that are created from an
animated GIF cast member.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
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...