document.setInstanceTint()
Availability
Flash MX 2004.
Usage
document.setInstanceTint( color
Parameters
The color of the tint, in one of the following formats:
color
A string in the format
A hexadecimal number in the format
An integer that represents the decimal equivalent of a hexadecimal number
This parameter is equivalent to picking the Color: Tint value for a symbol in the
Property Inspector.
An integer between 0 and 100 that specifies the opacity of the tint.
strength
Returns
Nothing.
Description
Method; sets the tint for the instance.
Example
The following example sets the tint for the selected instance to red with an opacity value of
50:
fl.getDocumentDOM().setInstanceTint(0xff0000, 50);
document.setMetadata()
Availability
Flash 8.
Usage
document.setMetadata( strMetadata )
Parameters
A string containing the XML metadata to be associated with the document.
strMetadata
For more information, see the following description.
,
strength )
or
"#RRGGBB"
"#RRGGBBAA"
0xRRGGBB
Document object
153
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers