If you plan to make a lot of changes to the
into a new image object using the Member object's
the new image object, and then set the original item's image to the new image object. For
nonbitmap members, it is always faster to use the
Example
These statements place a reference to the image of the Stage into the variable
put that image into the window named Flower:
-- Lingo syntax
myImage = _movie.stage.image
window("Flower").image = myImage
// JavaScript syntax
var myImage = _movie.stage.image;
window("Flower").image = myImage;
See also
duplicate()
(Member),
imageCompression
Usage
-- Lingo syntax
_movie.imageCompression
memberObjRef.imageCompression
// JavaScript syntax
_movie.imageCompression;
memberObjRef.imageCompression;
Description
Movie and bitmap cast member property; indicates the type of compression that Director applies
to internal (non-linked) bitmap cast members when saving a movie in Shockwave Player format.
Read/write.
Valid values for
imageCompression
Value
#standard
#movieSetting
#jpeg
You normally set this property in the Director Publish Settings dialog box.
Example
This statement displays in the Message window the
currently playing movie:
-- Lingo syntax
put(_movie.imageCompression)
Window
include the following:
Meaning
Use the Director standard internal compression format.
Use the compression settings of the movie, as stored in the
_movie.imageCompression
not restricted to standard compression.
Use JPEG compression. See
property, it is faster to copy the
image
duplicate()
method.
duplicate()
property. This is the default value for image formats
.
imageQuality
imageCompression
image
method, apply your changes to
, and then
myImage
that applies to the
imageCompression
property
809
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