immovable
811
// JavaScript syntax
function exitFrame() {
var stmSp = sprite(_global.gStreamingSprite).member.percentStreamed;
if (stmSp < 100) {
_movie.go(_movie.frame);
} else {
sprite(_global.gStreamingSprite).imageEnabled = 1;
_movie.updatestage();
}
}
imageQuality
Usage
-- Lingo syntax
_movie.imageQuality
memberObjRef
.imageQuality
// JavaScript syntax
_movie.imageQuality;
memberObjRef
.imageQuality;
Description
Movie and bitmap cast member property; indicates the level of compression to use when a movie’s
imageCompression
property is set to
#jpeg
. Read/write during authoring only.
The range of acceptable values is 0–100. Zero yields the lowest image quality and highest
compression; 100 yields the highest image quality and lowest compression.
You can set this property only during authoring and it has no effect until the movie is saved in
Shockwave Player format.
Example
This statement displays in the Message window the
imageQuality
that applies to the currently
playing movie:
-- Lingo syntax
put(_movie.imageQuality)
// JavaScript syntax
put(_movie.imageQuality);
See also
imageCompression
,
Movie
immovable
Usage
member(
whichCastmember
).model(
whichModel
).collision.immovable
Description
3D
#collision
modifier property; indicates whether a model can be moved as a result of
collisions during animations. Specifying
TRUE
makes the model immovable; specifying
FALSE
allows the model to be moved. This property is useful as a way of improving performance during
animation, because models that do not move do not need to be checked for collisions by Lingo.
This property has a default value of
FALSE
.
Содержание 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...