932
Chapter 14: Properties
posterFrame
Usage
-- Lingo syntax
memberObjRef
.posterFrame
// JavaScript syntax
memberObjRef
.posterFrame;
Description
Flash cast member property; controls which frame of a Flash movie cast member is used for its
thumbnail image. This property specifies an integer corresponding to a frame number in the
Flash movie.
This property can be tested and set. The default value is 1.
Example
This handler accepts a reference to a Flash movie cast member and a frame number as parameters,
and it then sets the thumbnail of the specified movie to the specified frame number:
-- Lingo syntax
on resetThumbnail(whichFlashMovie, whichFrame)
member(whichFlashMovie).posterFrame = whichFrame
end
// JavaScript syntax
function resetThumbnail(whichFlashMovie, whichFrame) {
member(whichFlashMovie).posterFrame = whichFrame;
}
preferred3dRenderer
Usage
-- Lingo syntax
_movie.preferred3dRenderer
// JavaScript syntax
_movie.preferred3dRenderer;
Description
Movie property; allows you to get or set the default renderer used to draw 3D sprites within a
particular movie if that renderer is available on the client machine. Read/write.
If the specified renderer is not available on the client machine, the movie selects the most suitable
available renderer.
The possible values for this property are as follows:
•
#openGL
specifies the openGL drivers for a hardware acceleration that work with both
Macintosh and Windows platforms.
•
#directX7_0
specifies the DirectX 7 drivers for hardware acceleration that work only with
Windows platforms.
•
#directX5_2
specifies the DirectX 5.2 drivers for hardware acceleration that work only with
Windows platforms.
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...