EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 811

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.