48
Objects
Example
The following code sets the
quality
property of the first item in the library of the current
document to 65:
fl.getDocumentDOM().library.items[0].quality = 65;
alert(fl.getDocumentDOM().library.items[0].quality);
bitmapItem.useImportedJPEGQuality
Availability
Flash MX 2004.
Usage
bitmapItem.useImportedJPEGQuality
Description
Property; a Boolean value that specifies whether to use the default imported JPEG quality
(
true
) or not (
false
). Available only for JPEG compression.
Example
The following code sets the
useImportedJPEGQuality
property of the first item in the
library of the current document to
true
:
fl.getDocumentDOM().library.items[0].useImportedJPEGQuality = true;
alert(fl.getDocumentDOM().library.items[0].useImportedJPEGQuality);
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...