MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 211

Extending flash
Table of Contents

Advertisement

Example
See
.
filter.blurX
See also
document.setFilterProperty()
filter.brightness
Availability
Flash 8.
Usage
filter.brightness
Description
Property; a float value that specifies the brightness of the filter. Acceptable values are between
-100 and 100. This property is defined for Filter objects with a value of
"adjustColorFilter"
Example
The following example sets the brightness to 30.5 for the Adjust Color filters on the selected
object(s):
var myFilters = fl.getDocumentDOM().getFilters();
for(i=0; i < myFilters.length; i++){
if(myFilters[i].name == 'adjustColorFilter'){
myFilters[i].brightness = 30.5;
}
}
fl.getDocumentDOM().setFilters(myFilters);
filter.color
Availability
Flash 8.
Usage
filter.color
,
filter.blurX
for the
filter.name
property.
Filter object
211

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents